简体   繁体   中英

IIS 7.5 Detailed Error - 404.0 - Not Found

I have just changed framework of my project from 2.0 to 4.0 and I am getting error while opening URL Rewrite pages. I have many things but none of them working.

Please help me regarding this.

Error :

HTTP Error 404.0 - Not Found
The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.


Web.config:

<system.webServer>
    <staticContent>
      <clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="8.00:00:00" />
    </staticContent>
    <modules runAllManagedModulesForAllRequests="true">
      <remove name="Session" />
      <add name="Session" type="System.Web.SessionState.SessionStateModule" preCondition="" />
    </modules>
    <validation validateIntegratedModeConfiguration="false" />
    <handlers>
      <remove name="UrlRoutingHandler" />
    </handlers>
    <rewrite>
      <rules>
        <remove name="Plesk. SEO-safe redirect for http://www.theprojectjugaad.com" />
        <rule name="Plesk. SEO-safe redirect for http://www.theprojectjugaad.com" enabled="false" patternSyntax="Wildcard" stopProcessing="true">
          <match url="*" />
          <conditions>
            <add input="{HTTP_HOST}" pattern="www.theprojectjugaad.com" />
            <add input="{HTTPS}" pattern="OFF" />
          </conditions>
          <serverVariables />
          <action type="Redirect" url="http://theprojectjugaad.com/{R:1}" />
        </rule>
      </rules>
    </rewrite>
  </system.webServer>

is this been resolved?

I had similar error and was resolved by removing WebDAV from system.webServer

<modules runAllManagedModulesForAllRequests="true">
  <remove name="WebDAVModule" />
</modules>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM