find and solve || findandsolve.com
Please wait.....

HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid.

HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid.

When i have  change my web.config content lenght the  error has been  occured as given below.

HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid


Detailed Error Information:

Module          RequestFilteringModule

Notification    BeginRequest

Handler     ExtensionlessUrlHandler-Integrated-4.0

Error Code    0x8007000d

Config Error   Configuration element 'requestLimits' already defined

Config File     \\?\E:\Ptath\ProjectFolder\ProjectName\web.config

Requested URL   http://localhost:8166/

Physical Path     E:\Running Project\xxx\xxx\ProjectName

Logon Method     Not yet determined

Logon User  Not yet determined


Answer


Option 1.

This can also happen if in your site is configured to use the IIS URL Rewrite module but it is not installed.

Option 2.

#  Open control panel

#  Click on “program” link (not uninstall programs)

#  Click “turn windows features on/off” link

#  Locate “Internet Information services IIS” in the pop up window and expand its node

#  Expand the “World Wide Web Service” node

#  Expand “Application Development Features” node

#  Check the check box of “ASP.NET”

#  Then click ok button

Option 3.

run->cmd
run "c:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i"

Option 4.

<system.webServer>
  <security>
    <requestFiltering>
      <requestLimits maxAllowedContentLength="1073741824"/>
    </requestFiltering>
  </security>
</system.webServer>

Or the <rewrite> section, which is also a sub-element of the <system.webServer> block:

<system.webServer>
  <rewrite>
    <rules>
      <rule name="Root_URL_Rewrite" stopProcessing="true">
        <!-- your rule(s) here -->
      </rule>
    </rules>
  </rewrite>
</system.webServer>

Option 5.


I was having the same problem, here is the solution that worked for me.

#  IIS Manager

#  Right clicked on that Website

#  Edit Permissions

#  Added user 'IIS_IUSRS' from Security tab

#  Gave full permissions to User 'IIS_IUSRS'

#  Set the Application Pool's Identity to 'ApplicationPoolIdentity'


Selena  Kandakar

Selena Kandakar

I like working on projects with a team that cares about creating beautiful and usable interfaces.

Comments



Report Response