Error 500.19 in IIS

Problem:

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
IIS Web Core

Notification
BeginRequest

Handler
Not yet determined

Error Code
0x80070021

Config Error
This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault=”Deny”), or set explicitly by a location tag with overrideMode=”Deny” or the legacy allowOverride=”false”.

Config File
\\?\C:\Inetpub\wwwroot\MSAdmin\web.config

Requested URL
http://localhost:80/MSAdmin

Physical Path
C:\Inetpub\wwwroot\MSAdmin

Logon Method
Not yet determined

Logon User
Not yet determined
Config Source:
101: <system.webServer>
102: <handlers>
103: <add name=”handlers/ResourceHandler.axd_*” path=”handlers/ResourceHandler.axd” verb=”*” type=”System.Web.WebPages.ApplicationParts.ResourceHandler, System.Web.WebPages, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35″/>

Solution:

You need to install the ASP.NET modules that your system website are using.

  1. On the Startpage, click the Server Manager tile, and then click OK.
  2. In Server Manager, select Dashboard, and click Add roles and features.
  3. In the Add Roles and Features Wizard, on the Before you beginpage, click Next.
  4. On the Select installation typepage, select Role-based or feature-based installation, and click Next.
  5. On the Select destination serverpage, select Select a server from the server pool, select your server, and click Next.
  6. On the Select server rolespage, select Web Server (IIS), and click Next.
  7. On the Select featurespage, click Next.
  8. On the Web Server Role (IIS)page, click Next.
  9. On the Select role servicespage, note the preselected role services that are installed by default, expand the Application Developmentnode, and then select NET 4.5. (If you installed .NET 3.5, select ASP.NET 3.5 also.)
  10. On the Summary of Features to Installpage, confirm your selections, and then click Install.
  11. In the Add features that are required for ASP.NET 4.5?box, click Add Features.
  12. The following additional features are added:
  • .NET Extensibility 4.5
  • ISAPI Extensions
  • ISAPI Filters
  • .NET Extensibility 3.5(If NET 3.5 was selected)
  1. Click Next.
  2. On the Confirm installation selectionspage, click Install.
  3. On the Installation progresspage, confirm that your installation of the Web Server (IIS) role and required role services completed successfully, and then click Close.
  4. To verify that IIS installed successfully, type the following into a web browser:

The default IIS Welcome page is displayed.

Source:

https://technet.microsoft.com/en-us/library/hh831475(v=ws.11).aspx

 

 

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s