Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating my own DCOM Server
Message
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00396980
Message ID:
00396985
Views:
11
>Hooray!!, I manged to get a DCOM object to execute a SQL query.
>When the resulting DBF is saved on the Server, it works perfectly. However if I try to get it back to the Client, it sometimes gives OLE errors. For eg the follwing will give an error
>
>oMyDCOM.GetSQL("Select * From Customer INTO \\MyComputer\C\MyResult")
>
>However the following will allways work
>
>oMyDCOM.GetSQL("Select * From Customer INTO MyResult") && in which the result set is stored on the server. Any ideas on what the problem is?

The odds are that the anonymous user id used to execute the DCOM server doesn't have permissions on your local share.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform