Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Access denied when trying to CreateObject
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Access denied when trying to CreateObject
Divers
Thread ID:
00933672
Message ID:
00933672
Vues:
78
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform