Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems accessing table from webservice dll
Message
General information
Forum:
Visual FoxPro
Category:
Web Services
Miscellaneous
Thread ID:
00734846
Message ID:
00734880
Views:
19
You may access the table with the fullpath information, i.e.
USE "c:\My Web Service\Data\Customers.DBF" ALIAS "Customers" AGAIN
This is due to the reason that all DLL is started in the Windows System Folder, no matter where is the DLL file physically stored. And if you have "USE Customers.dbf AGAIN" in the code, VFP tries to locate the table in the Windows System Folder, and raises the error if couldn't find the table.


HTH.



>Hi guys,
>
>I'm having problems a web service that I wish to publish (well I'm really just playing with it). The case is the following:
>
>I have a virtual directory were I store the dll file I created, the wsdl specification file and a table called Custormers.DBF.
>
>in the DLL I have a small class that gives an append blank to the customers table and replaces a couple of fields. When a publish the web service every thing is fine, but when I execute the method I recieve the following error message:
>
>Unable to open table c:\windows\system32\customers.dbf
>
>How may I specify a path or something to access the table?
>Must I use ODBC insted?
>
>Thanks in advance.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform