Applies to: the IP driver and IP Data Server; Clarion version not named in the thread. Reported in 2008.
Problem
The IP Service runs on a web server, and the TPS files sit on a mapped drive of another server. With a path such as s:\path\filename.tps in the dictionary, the client said it could not locate the path when opening the file, even on localhost. Other access to the same files worked; only the IP driver failed. The poster wanted UNC paths, not mapped drives.
Solution
Ranked as the thread gave them:
- Put the path in a variable. Give each .tps file a variable as its name attribute. A one-record data file in the data manager folder holds the database path, and a small app lets the user edit it. At the entry point of the data manager DLL a source procedure reads that record and sets the name variable of each file. The poster who described this said it works flawlessly and is the most flexible and stable method.
- Change the path from the client. Another poster sets
IPDRV::OWNERto the exe name, address and port, then callsIPx.SetConnectionString(IPDRV::OWNER)andIPx.Exec('SET_PATH',thispath,...). The data manager DLL has an exported source procedure Set_path whose processed-code embed callssetpath(clip(p1)).
Caveats
- Method 2 did not work for the original poster: the browse still read the file in the Data Manager folder. He did not report a final result, and UNC in
setpath()was untried. - The poster of method 1 had problems with setpath on some operating systems and called SetFileName "very buggy" in the IP driver; that is his experience, not tested here.
- A MESSAGE() inside the data manager DLL shows on the server screen and waits for OK, so it can trace the calls.
Today (2026)
Not re-tested on a current build; the thread's methods are plain Clarion code and likely still apply.
Sources: David L. (Jun 2008, the question), Ron J., Chuck T. (Jun to Jul 2008) in softvelocity.clarion.databasedrivers.