Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7018565
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T23:04:03+00:00 2026-05-27T23:04:03+00:00

I am using IIS 6 on 2003. I have created a HTTP handler dll

  • 0

I am using IIS 6 on 2003. I have created a HTTP handler dll that inherits from IHttpAsyncHandler. The dll builds into the inetpub\www8080root\common\bin directory. It is meant to intercept all requests.

The web site is set to monitor port 8080. I have created a common folder in the www8080root directory and have created a virtual directory in II6 to point to it.
I created a web.config file in the common directory

<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.web>
    <compilation debug="true" defaultLanguage="c#" />
    <httpHandlers>
        <add verb="*" path="*"
            type="x2Handler.x2Handler, x2Handler" />
    </httpHandlers>
</system.web>
</configuration>

When I access http://localhost:8080/common/index.html the HTTP handler causes a crash of w3wp.exe, when I look in the event logs I can see the error within the handler that caused the crash. When I set a breakpoint within VS 2005 the code it doesn’t get hit.

In order to debug I need to somehow attach to the process when it is running under IIS but as soon as it processes a request, it crashes.

How do I debug a HTTP Handler dll under IIS? I can’t see a aspnet_wp.exe process to attach to as described here: C#, Debugging an HTTPHandler

EDIT:
By adding Debugger.Break() I now receive the message “w3wp.exe has triggered a breakpoint” and it allows me to select a debug environment, but it loads without symbols

No symbols are loaded for any call stack frame. The source code cannot be displayed.

I set Tools->Options->Debugging->Enable Just My Code
I set the path to the common/bin location to load symbols from. Any manually set breakpoints still display:

The breakpoint will not currently be hit. No symbols have been loaded for this document.

EDIT:
When it loads it appears to be looking for the symbols of ntdll.pdb. Even if I manually load the symbol file for the httpHandler it makes no difference.
The code is definitely executing though.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T23:04:05+00:00Added an answer on May 27, 2026 at 11:04 pm

    The problem was that .Net had been installed prior to the version IIS. I had noticed the “Edit configuration” button was disabled and found this site http://www.warfiblog.com/edit-configuration-disabled.
    Following the instructions:

    You will need to go to Start -> Microsoft Visual Studio 2005 -> Visual Studio Tools -> Visual Studio 2005 Command Prompt. On the prompt write down this command:
    aspnet_regiis -r
    The above command will register dot net with IIS and now the button will also be enabled.
    

    In doing that it fixed the debugging issue!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using IIS 6.0 on Windows 2003 in a workgroup, and have created
i have webservice that is using .net 2.0 server 2003 32 bit when i
We're currently using IIS 6 and Windows Server 2003 for our web and application
I'm using IIS 6 on Windows Server 2003. The vision is to create a
I'm using IIS 6 on a Windows 2003 Server and I am trying to
I am using IIS V5.1. Integrated windows authentication I have a following web config:
We have a Business Listings directory hosted on IIS 6 Windows 2003. Our competitors
Having a problem with IIS on Windows Server 2003 (using a classic ASP web
I have a .net 2.0 web application that is running on Windows server 2003
I have created a Web Setup project using VS 2008. I have created a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.