Hi CharLie
The problem was network permissions. In this case, i used a workaround, but i am saving your code, since this is the way it should be done indeed for the web service to find the data.
Cheers,
Jaime
>This is what I use in the INIT of my web service class to inform it where the data resides:
>
>
>LOCAL cHomedir
>*- StartMode = 5, started as DLL. Otherwise development environment
>cHomedir = IIF(_VFP.STARTMODE = 5, JUSTPATH(_VFP.SERVERNAME), SUBSTR(JUSTPATH(SYS(16, 0)), 25))
>OPEN DATABASE (cHomedir + '\data\CBFC.dbc') SHARED
>USE cbfcUsers IN 0
>
>
>Charlie
Why do programs stop working correctly as soon as you leave the Fox?