Professional Web Applications Themes

debugging ASP/DLL/IIS - ASP Components

I work with VS6 on WinXPpro I developed an ActiveX-DLL for using in ASP-doents. It works fine, but now I want to debug the DLL because an error occurs. I unregistered the DLL, started VS6, set breakpoints, press F8 Then I start my Web-Application, but Debugger does not start, but I get an error-message in the Internet-Explorer: error type: server object, ASP 0178 (0x80080005) Server.CreateObject could not be called while checking permissions. access has been denied. /login.asp, line 27 The statement on line 27 is set obj = Server.CreateObject("CSWeb.clsWeb") CSWeb is the ActiveX-Control, I have open in VS6 in Debug-mode ...

  1. #1

    Default debugging ASP/DLL/IIS

    I work with VS6 on WinXPpro
    I developed an ActiveX-DLL for using in ASP-doents. It works fine, but
    now I want to debug the DLL because an error occurs.
    I unregistered the DLL, started VS6, set breakpoints, press F8
    Then I start my Web-Application, but Debugger does not start, but I get an
    error-message in the Internet-Explorer:
    error type: server object, ASP 0178 (0x80080005)
    Server.CreateObject could not be called while checking permissions. access
    has been denied. /login.asp, line 27

    The statement on line 27 is
    set obj = Server.CreateObject("CSWeb.clsWeb")

    CSWeb is the ActiveX-Control, I have open in VS6 in Debug-mode

    Are there any permissions missing?
    Georg Bauer Guest

  2. #2

    Default RE: debugging ASP/DLL/IIS

    You didn't mention whether you wanted to debug the DLL or the page?
    I'm not sure but It sounds like a VB6 DLL. So you'll need to run the DLL
    source code in VB6.0.
    The anonymous user needs to be able to run the VB environment. Make IUSR
    admin or the easiest way to get around it without changing many permissions
    is to uncheck "Allow anonymous access" and select NT Auth... When you logon
    to the machine with admin privilege, it should start the debugger.

    Make sure you've already done this:

    1. Select the Allow server-side debugging in IIS
    2. Make sure the DLL was unregistered correctly. It should be unregistered
    while IIS is shut down.
    3. Restart IIS after each change to make sure that it let go of whatever is
    in memory.


    "Georg Bauer" wrote:
    > I work with VS6 on WinXPpro
    > I developed an ActiveX-DLL for using in ASP-doents. It works fine, but
    > now I want to debug the DLL because an error occurs.
    > I unregistered the DLL, started VS6, set breakpoints, press F8
    > Then I start my Web-Application, but Debugger does not start, but I get an
    > error-message in the Internet-Explorer:
    > error type: server object, ASP 0178 (0x80080005)
    > Server.CreateObject could not be called while checking permissions. access
    > has been denied. /login.asp, line 27
    >
    > The statement on line 27 is
    > set obj = Server.CreateObject("CSWeb.clsWeb")
    >
    > CSWeb is the ActiveX-Control, I have open in VS6 in Debug-mode
    >
    > Are there any permissions missing?
    Rod Hermiz Guest

Similar Threads

  1. Debugging output does not appear when use Debugging IPAddresses
    By Schroeder2 in forum Coldfusion Server Administration
    Replies: 2
    Last Post: June 7th, 11:15 PM
  2. Debugging
    By Andrew Durstewitz in forum ASP
    Replies: 15
    Last Post: May 10th, 02:53 AM
  3. cf debugging
    By Dan Bracuk in forum Coldfusion - Getting Started
    Replies: 1
    Last Post: September 30th, 07:41 PM
  4. VI Debugging
    By Scott in forum ASP
    Replies: 1
    Last Post: October 22nd, 12:28 PM
  5. debugging with gdb
    By Paul Pluzhnikov in forum UNIX Programming
    Replies: 0
    Last Post: August 5th, 03:05 AM

Bookmarks

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139