Click to See Complete Forum and Search --> : Server.CreateObject failed


Dima1970
February 22nd, 2000, 05:23 PM
I have an active DLL which compiles normally. Then I even go and register the DLL manuallu usinf REGSVR32. It also successful. But when I'm trying to instantiate the dll from an ASP page using:
Set Session("Services") = Server.CreateObject("MyDLL.Services")
I receive this error:
The call to Server.CreateObject failed. The requested object instance cannot be created.
Looking at MyDLL.dll through depends.exe - it looks like nothing is missing and all the supporting programsrecognize it. I'm running PWS, ASP.exe on NT Workstation, stopping the WWW Service and re-registering DLL every time.
Can anybody point me in the right direction?

Thanks for your attention.

March 11th, 2000, 05:26 PM
try this using
as new object name.
i.e. create an instance using "new" keyword.