Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CreateObject error

Status
Not open for further replies.

VicOm

Programmer
Nov 13, 2002
3
CA
I have a component created in VS2008 and compiled for 'any cpu'.
Once compiled I have registered the component with regasm (32 bit version), and can then create an instance of the object using server.createobject from an asp page.
This machine is running Windows7 and has a 64 bit processor.

When I move the component to a Windows 2008 Server (64 bit) and register it the same way, it throws an error (Server object error 'ASP 0177 : 8000ffff' Server.CreateObject Failed)
Using ProcMon, when the page is called it appears to be finding the registry entries ok (in the HKCR\WOW6432Node\CLSID branch).
The application pool on both machines is set to enable 32 bit applications.
The component has only 'system' references.

Any ideas as to why it should behave this way?
 
Solved this.
Turned out to be the Process Model Identity setting in IIS on the target server. It had been set to 'NetworkService'. Once set back to 'ApplicationPoolIdentity' all was well. I registered with regasm(32 bit) with the /codebase switch.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top