Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why can't my web service see my network data?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Divers
Thread ID:
00648071
Message ID:
00649805
Vues:
25
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?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform