CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2000
    Posts
    8

    Server.CreateObject failed

    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.



  2. #2
    Guest

    Re: Server.CreateObject failed

    try this using
    as new object name.
    i.e. create an instance using "new" keyword.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured