CreateObject fails for Com visible dll

0

I have a com visible dll that I am trying to call from classic ASP. I have successfully registered it using regasm and I'm still hitting the following error.

0x80131600 - Server object: 006~ASP 0177~Server.CreateObject Failed~80131600

the application works fine on many other machines so there is something environmental causing a problem on my box. Here is the code I'm using

set oMyVariable = Server.CreateObject("components.MyComponent")

I'm at a loss on what could be causing this.

.net
asp-classic
createobject
asked on Stack Overflow Aug 22, 2013 by user1790173

1 Answer

1

It turns out this was caused by one of the components referenced by MyComponent having an entry messed up in the registry. Was extremely difficult to track down and understand why it happened.

answered on Stack Overflow Aug 22, 2013 by user1790173

User contributions licensed under CC BY-SA 3.0