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?
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?