Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Access denied when trying to CreateObject
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Access denied when trying to CreateObject
Miscellaneous
Thread ID:
00933672
Message ID:
00933672
Views:
77
Hi,
I'm running a VFP 8.0 application on Terminal Server, where every user has his copies of executable files and dlls in his "USERPROFILE"+"xxx" directory. He has full security access to these dlls.

In the standard network environment, the system determines if the dll has been registered and proceeds to do the registration if it sees that the dll has not been registered. However, in TS, we do not even get to that point. Instead, when the user hits the following code:

loVFPCOM = CreateObject('vfpcom.comutil')

he gets the following error:

Error No: 1426
Error Message: "OLE error code 0x80070005: Access is denied."

Any help would be appreciated.

Thanks,
Shuli
Next
Reply
Map
View

Click here to load this message in the networking platform