POST data is not available for native handlers in IIS 7.0
An internal server error occurs when a native handler processes Internet Information Services (IIS) 7.0 POST requests while it is running in an Application Pool configured for Integrated mode. The error occurs when the native handler tries to read the POST data. The errors can be different, depending on which module in the pipeline tries to use the POST data first.
This situation occurs because, earlier in the integrated pipeline, a managed component already read the POST data, and that data is not available to the native handler when it tries to read it.
The following scenarios have been identified to cause this problem:
- Calling the Request.Form method or the Request.Params method in a managed handler or in a managed module that executes before the native handler tries to read the POST data.
- ASP.NET Tracing is enabled at Web.config level. When this happens, the tracing code initializes Request.Form, which reads the POST data from the request before the native handler tries to read the POST data. In this scenario, you can work around this problem by enabling ASP.NET Tracing at the page level instead of the Web.config level.
Article ID: 972541 - Last Review: 10/06/2009 21:36:47 - Revision: 1.0
Microsoft Internet Information Services 7.0, Microsoft ASP.NET 2.0, Microsoft .NET Framework 3.0, Microsoft .NET Framework 3.5
- kbexpertiseadvanced kbtshoot kbsurveynew KB972541