Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Can anyone please guide me how can I find out which handlers are being called when request is made from asp.net application.

P.S. I have added handler mapping for *.htm files to call for executable aspnet_isapi.dll which were not available by default. But I want to make sure the same is called when a page(*.htm) is requested from the website.

Thank you!

share|improve this question

Install "Tracing" in the Web Server Role's Health and Diagnostics group via Server Manager's Roles interface, and then configure and enable Failed Request Tracing.

Enable Failed Request Tracing in the Actions pane at the Site level.

Then configure a Failed Request Tracing rule to trace all pages on a 200 response (the feature's called "Failed Request", but the criteria can be defined by you).

Push a couple of requests through, and open the \Inetpub\Logfiles\FailedReqLogs\W3SVCN folder, and double-click any of the XML files to view them.

The output will show you what modules were called on the path through the pipeline.

share|improve this answer
    
It's a good method. But to my understanding only one handler can be called for one request. So what keywords can I search for this handler? – LoveRight Nov 16 '15 at 23:57
    
You just look for whichever handler was called. If the handler you're interested in isn't called, it won't be present (i.e. searching for the name of the handler is the "obvious" answer, but might not work if it's not being called... so just look for the handler execution steps and find out what's being run from there). – TristanK Jan 7 at 1:54

IIS does not log this information by default. The handler would need to log it itself, or you would need to develop a custom log handler that would do it.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.