locked
Intelligencia.UrlRewriter support for .Net 4.0? RRS feed

  • Question

  • User-1112204889 posted

    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> 



    Tuesday, May 25, 2010 10:41 AM

All replies

  • User1508394307 posted

    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.

    Sunday, June 6, 2010 11:38 AM