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

  • Home
  • SEARCH
  • 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 8496579
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T23:53:36+00:00 2026-06-10T23:53:36+00:00

I have an ASP.NET website and am having trouble capturing some specific requests that

  • 0

I have an ASP.NET website and am having trouble capturing some specific requests that are giving me trouble. The website calls an asmx web service that it also hosts (therefore makes a webservice call to (http://localhost/whatever.asmx)). I’m getting a 400: Bad Request back, so I want to figure out exactly what request is being made.

I can’t use something like wireshark, because it’s a call to localhost. What I’m trying now is implementing and registering a HttpModule to log requests. I don’t think my HttpModule is getting called for these requests, but when I try on another machine where the request goes through, it gets hit every time.

Does IIS return with 400: Bad Request before my HttpModule gets hit? Is there something else I can hook into to be able to log the request?

Edit:
I’m starting to think I need some kind of ISAPI filter or extension. Not knowing anything about this, some help going this direction would be appreciated if this is the appropriate course of action.

  • 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-06-10T23:53:37+00:00Added an answer on June 10, 2026 at 11:53 pm

    Per this article, some errors will never reach the application error handling code.
    “Some errors that occur in an HTTP-based application are automatically handled by the HTTP API instead of being passed back to an application for handling. This behavior occurs because the frequency of such errors might otherwise flood an event log or an application handler.”

    Examples of such errors: 400, some 500, 503, connection timeouts etc.

    They seem only to be available in the HTTP.sys “httperr#.log” files; the same article describes the location and format of these log files.

    See also: How to troubleshoot HTTP 400 errors

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

Sidebar

Related Questions

I am having trouble adding ajax functionality to existing asp.net 4 website. I have
I have an asp.net c# website that I am having a problem getting the
I am having some trouble with an ASP.NET website I've set up and it's
First some background: I have a website using ASP.NET web forms + jQuery 1.6.4
I am making my first website with ASP.net and am having some trouble with
We have a ASP.NET website project. In the past, we had been using asmx
I have a ASP.NET website deployed to IIS with a couple of ashx that
I have an asp.net c# website I'm developing with Visual Web Developer Express Edition
Background: I have a website that has been built with ASP.NET 2.0 and is
I have an ASP.NET website that will hit about 2gb physical memory used within

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.