Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
COM/DCOM (Remote Automation)
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00431523
Message ID:
00431833
Views:
19
>obj = createobjectEX("{2E341S03-11FC-4760-8E9D-CFCBE1655F13}", ,"\\MYSERVERNAME")
>
>obj=createobjectEX("GetServerDateTime.cSQLDT", ,"\\MYSERVERNAME")
>
>or name your server by IP Address:
>
>obj = createobjectEX("GetServerDateTime.cSQLDT", "192.168.0.3")
>
>Also probable reason of "RPC server is unavailable" message is wrong server name specified.


Sorry, it was a typo, there should be just one comma in parameters:

obj=createobjectEX("GetServerDateTime.cSQLDT","\\MYSERVERNAME")
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform