80070005 Permission error on Classic ASP creating DCOM object in .net 2 website RRS feed

  • Question

  • I get the following error message when I run a classic ASP page in my .net20 account as I try to access a DCOM object

    Server object error 'ASP 0178 : 80070005'

    Server.CreateObject Access Error

    /test.asp, line 32

    The call to Server.CreateObject failed while checking permissions. Access is denied to this object.

    The code I am executing is:

    Dim LoginValue 
    Set LoginValue = Server.CreateObject("OdysseyWeb.WebUser"

    I have tried adding Network Services to the DCOM config security as suggested in other forum posts, but I still get the same error message.


    I can run the DCOM via an interop with .net 2 ASPX page. I don't know what the difference is in security between classic asp and aspx?

    My IIS is running anonymous with a domain user and I have integrated security checked.  My app pool is running under Network Services (predefined).

    My decom is running with impersonate checked for me automatically.

    • Moved by Riquel_Dong Tuesday, September 9, 2008 1:24 PM ASP issue (Moved from Visual Basic Interop and Upgrade to Where is the Forum For…?)
    • Moved by Vijay Mullick Friday, October 3, 2008 1:17 PM (Moved from Where is the Forum For…? to Common Language Runtime)
    • Moved by nobugz Saturday, October 4, 2008 7:48 PM Dup thread (Moved from Common Language Runtime to Off-Topic Posts (Do Not Post Here))
    Friday, September 5, 2008 9:24 PM



    Hello R peltz 

    Thank you for your post!  I would suggest posting your question in one of the MSDN > Forums Home > .NET Development > Common Language Runtime
    located here:  http://social.msdn.microsoft.com/Forums/en-US/clr/threads/

    Have a great day!

    Vijay Mullick Tier 2 Application Support Server and Tools Online Engineering Live Services Team
    • Proposed as answer by Vijay Mullick Friday, October 3, 2008 1:29 PM
    • Marked as answer by Vijay Mullick Thursday, October 30, 2008 10:26 AM
    Friday, October 3, 2008 1:16 PM