Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Foxisapi
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Miscellaneous
Thread ID:
00621529
Message ID:
00709029
Views:
33
Aahhhh... The elusive CoCreate Error..

This I think was a two-part process to get resolved... First, its a login / rights access.

Just for grins, using the DCOMCNFG manager, go to your COM server and bring up the "Identity" tab. Click the radio button for a specific user and pick the "Administrator" account. Also put in the password and confirm password too.

Then, from the browser, be sure to run the RELEASE option of FoxISAPI. This typically leaves something in its craw that it won't get rid of... So.

//localhost/scripts/foxisapi.dll/reset

You might even have to go as far as stopping and restarting IIS

Start / Run /
Net Stop w3svc

Start / RUN /
net start w3svc


Now, retry the link calling your hello world sample.

If it appears to be taking some extra time, let it. I think the default FoxISAPI.ini had like a 30 second delay for response. The result of the CoCreate can also be identified if you get a Windows dialog something to the effect of error in the USER32.dll... Which was another indicator of CoCreate. Couldn't start the COM server based on the IUSR_... account and the password, or the IUSR_... account didn't have execute rights on the dll (via your running XP, right? also applicable to Windows 2000).

Hope these pieces help you get the first final answer to your browser.

Don
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform