Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I tell a Web Service where my data is?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Titre:
How do I tell a Web Service where my data is?
Divers
Thread ID:
00888356
Message ID:
00888356
Vues:
50
I am contstructing a Web Service and running into problems opening tables.

When I run my Web Service class from VFP (i.e. load an instance of the class and make calls into it's member functions without going through the IIS manager) the program works correctly. I can tell it to open a file e.g. IF FILE(CcApplicationPath+"ARDATA\ARCUST01.DBF") USE (CcApplicationPath+"ARDATA\ARCUST01.DBF") IN 0. (Where CCApplication path is #defined perhaps, or read from a table perhaps).

But that same IF statement when calling the Web Service via IIS returns .F. to the test for the file - it cannot "see" the DBF. I have tried substituting drive letter and directory (e.g. "S:\PRO65\") with the correct UNC name (e.g. "\\SERVER\PRO65\") but it makes no difference.

I have given permissions to the file and to the parent directory to the Internet Guest Account IUSR_etc but this doesn't make any difference.

Can anyone please let me know how an Internet user should find a file?

Thanks
Chris Palmer
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform