Jump to: navigation, search

DOTNet (.NET) Project Issues

1. If requests to backend pages in a .NET Composer Project are failing, it may be due to IIS validation. IIS validates all requests for security reasons.

It is possible to disable validation. You can do this for a specific page by adding the following directive in the ASPX file: <%@ Page validateRequest="false" %> You can also disable validation for the entire project by adding this configuration to the web.config file: <configuration> <system.web> <pages validateRequest="false" /> </system.web> </configuration> Note that request validation is a security feature provided by ASP. Disabling it is at your own risk. See for details.

2. Error 500.24 - Internal Server Error If you are using IIS 7 or IIS 7.5 with Integrated Pipeline Mode, requests to backend pages in a .NET Composer Project may fail with 500.24 Internal Server Error. This occurs because ASP.NET Integrated mode is unable to impersonate the request identity in the pipeline stages. It is possible to ignore or workaround the 500.24 error.

a. If your application does not rely on impersonation, edit the predefined web.config file within the DotNet Composer Project to set impersonate to false, <system.web> <identity impersonate="false"/>

b. If your application relies on impersonation, configure Impersonate in IIS 7 as suggested in this link. http://technet.microsoft.com/en-us/library/cc730708(v=WS.10).aspx c. If you want to ignore these errors edit the predefined web.config file to set ValidateIntegratedModeConfiguration property to false. http://msdn.microsoft.com/en-us/library/bb422433(v=vs.90).aspxhttp://msdn.microsoft.com/en-us/library/aa965174(v=vs.90).aspx

d. If you want to use the Composer predefined web.config file without making any new changes, set the Request-Processing mode of the Application pool to classic in your IIS. http://technet.microsoft.com/en-us/library/cc725564(v=ws.10).aspx

This page was last modified on July 2, 2013, at 05:34.


Comment on this article:

blog comments powered by Disqus