Intelligencia Urlrewriter Iis7 Error 500 Internal Server Error

Discussion in 'C#' started by alina2013, Jan 20, 2013.

  1. #1
    Hi,

    Local my project works fine(I have IIS 6) but on server I have IIS 7 and I get this error: 500 - Internal server error. There is a problem with the resource you are looking for, and it cannot be displayed.

    My web.config looks like:

    <configSections> 
    <section name="rewriter" requirePermission="false"                type="Intelligencia.UrlRewriter.Configuration.RewriterConfigurationSectionHandler, Intelligencia.UrlRewriter" />
    ... 
    <httpModules >   
    <add name="UrlRewriter" type="Intelligencia.UrlRewriter.RewriterHttpModule, Intelligencia.UrlRewriter" />
    ...   
    <system.webServer> 
    <validation validateIntegratedModeConfiguration="false"/>   
    <modules runAllManagedModulesForAllRequests="true">
    <remove name="UrlRewriter"/>
    <add name="UrlRewriter" type="Intelligencia.UrlRewriter.RewriterHttpModule"/>
    </modules>
    </system.webServer> 
    <rewriter>
    <rewrite url="~/item/(.+)/(.+)" to="~/item.aspx?category=$1&amp;title=$2"/>
    </rewriter>
    Code (markup):

    Thank you,
    Alina
     
    alina2013, Jan 20, 2013 IP
  2. Alenzo Kepper

    Alenzo Kepper Member

    Messages:
    59
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    48
    #2
    Hi,

    It happens so many times you URL re writer DLL do not works on web server. Even I had same problem but later on I use the new feature introduced in ASP.Net called ASP.Net Routing. Provide same functionality without using external DLL.

    But for your problem I would like to suggest you take help from professional or a s p . n e t official forum. Definitely they will do for you.

    Thanks
     
    Alenzo Kepper, Feb 4, 2013 IP
  3. funkseo

    funkseo Greenhorn

    Messages:
    23
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #3
    as I remember you sould install asp.net rewrting module on IIS7
     
    funkseo, Mar 11, 2013 IP