Last post Jun 06, 2010 11:38 AM by smirnov
Member
96 Points
366 Posts
May 25, 2010 10:41 AM|lindows|LINK
i'm using IIS7.5 (Server 2008 R2)
my app runs perfect at .net 3.5, on the IIS7.5 no errors or anything
there are no errors when i target to .net 4.0 and deploy with VS2010,
once on the web server, i browse to the page that has redirection, it fails with the errors below
Error Summary HTTP Error 500.22 - Internal Server Error An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode.
Detailed Error Information Module ConfigurationValidationModule Notification BeginRequest Handler SimpleHandlerFactory-Integrated-4.0 Error Code 0x80070032
Most likely causes:
* This application defines configuration in the system.web/ httpModules section.
this is hows its declared in the web config
<configSections> <section name="rewriter" requirePermission="false" type="Intelligencia.UrlRewriter.Configuration.RewriterConfigurationSectionHandler, Intelligencia.UrlRewriter"/> </configSections> <httpModules> <add name="UrlRewriter" type="Intelligencia.UrlRewriter.RewriterHttpModule, Intelligencia.UrlRewriter"/> </httpModules> <system.webServer> <modules runAllManagedModulesForAllRequests="true"> <add name="UrlRewriter" type="Intelligencia.UrlRewriter.RewriterHttpModule"/> </modules> </system.webServer>
All-Star
35159 Points
9075 Posts
Jun 06, 2010 11:38 AM|smirnov|LINK
It says that you use Integrated mode, but the web.config file is using old format. Try to change to classic asp.net application pool in IIS. Hope this helps.
Member
96 Points
366 Posts
Intelligencia.UrlRewriter support for .Net 4.0?
May 25, 2010 10:41 AM|lindows|LINK
i'm using IIS7.5 (Server 2008 R2)
my app runs perfect at .net 3.5, on the IIS7.5 no errors or anything
there are no errors when i target to .net 4.0 and deploy with VS2010,
once on the web server, i browse to the page that has redirection, it
fails with the errors below
Error Summary
HTTP Error 500.22 - Internal Server Error
An ASP.NET setting has been detected that does not apply in Integrated
managed pipeline mode.
Detailed Error Information
Module ConfigurationValidationModule
Notification BeginRequest
Handler SimpleHandlerFactory-Integrated-4.0
Error Code 0x80070032
Most likely causes:
* This application defines configuration in the system.web/
httpModules section.
this is hows its declared in the web config
All-Star
35159 Points
9075 Posts
Re: Intelligencia.UrlRewriter support for .Net 4.0?
Jun 06, 2010 11:38 AM|smirnov|LINK
It says that you use Integrated mode, but the web.config file is using old format. Try to change to classic asp.net application pool in IIS. Hope this helps.