Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CoCreateInstance failed with err code 80080005
Message
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00268641
Message ID:
00269563
Views:
33
>>>>>I'm not sure what's going on. Now, I'm getting a similar CoCreateInstance message when running the app, but it says "Access denied" even when I test it directly on the NT machine with the Administrator account!
>>>>>
>>>
>>>>Now that sounds more like an Impersonation problem. You say you are running it directly on the NT machine with the Admin account. Does that mean you are running the DCOM component from some client or running the native code from within VFP? Also, if you are running it as a DCOM and logged in as Admin, what is the impersonation set up for in DCOM?
>>>
>>>I'm running it via FoxISAPI from an Intranet site on the NT Server. I've tried both Interactive User, and the Admin user specifically with the same results.
>>
>>All right, then the next thing I would look at is what the code itself is doing.
>>
>>IMHO, it sounds as if there is something in the code that is attempting to violate some NT security right. Try stripping the code down to simple tasks like echoing "Hello World" or something equally simple. Then start adding lines back in. Debugging this kind of stuff is very difficult unfortunately. Best of luck, sorry I couldn't help more.
>
>I've got it up and running! Yay! The problem was that I was assuming the admin account had access by default. I'd neglected to add the admin's account to the 'allow launch' list in DCOMCNFG.
>
>Thank you both for your input & suggestions.

Sounds like its time to hoist a Guiness then!
Oct 31 = Dec 25
Previous
Reply
Map
View

Click here to load this message in the networking platform