Classic ASP and COM DLL Does Not Work in Server 2008 R2 (Microsoft VBScript runtime error '800a01ad' ActiveX component cannot create an object)

I created the dll in Visual Studios 2010. I followed these steps:

  • To do this, create a strong name by linking a key pair to it (snk file)

  • Each class is assigned an individual ProgID and GUID.

  • Since this is a 64-bit DLL, I made sure I used RegAsm.exe located in the FrameWork64 / v4xxxx folder. I used RegAsm.exe / codebase ECE2.dll

  • I ran 'gacutil -i' in a DLL

All these steps were successful. The DLL and the ASP page I use it with are stored in intetpub / wwwroot.

Now the DLL works fine on my laptop and home computer (both are running Windows 7 Ultimate). Now I'm trying to get it working with Windows Server 2008 R2 . This is where I ran into the problem.

I follow the same steps as above, all of which are successful. However, when I launch the ASP page, I get an error message that suggests that it is NOT registered, although it has:

Microsoft VBScript runtime error. ActiveX component "800a01ad" cannot create object: "ECE2.CSV_DataSet"

, IIS, . , ASP, , . - - , - , , , , 2008, Windows? 7 Ultimate?

+5
1

, ASP. " 32- " "". , , 64- DLL 32- .

, "64- DLL" "Any CPU"? regasm 32- dll.

ASP " 32- ", 64 , , , , . , - , , ASP .

+7

All Articles