Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I tell a Web Service where my data is?
Message
General information
Forum:
Visual FoxPro
Category:
Web Services
Title:
How do I tell a Web Service where my data is?
Miscellaneous
Thread ID:
00888356
Message ID:
00888356
Views:
49
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
Next
Reply
Map
View

Click here to load this message in the networking platform