Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why can't my web service see my network data?
Message
General information
Forum:
Visual FoxPro
Category:
Web Services
Miscellaneous
Thread ID:
00648071
Message ID:
00649805
Views:
23
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?
Previous
Reply
Map
View

Click here to load this message in the networking platform