Error Accessing Local Site on Windows 8.1, with IIS 8.5

Posted by Agung Pambudi in ,


Problem

I get the same error when accessing a local site on my 2008 server, with IIS 7:



HTTP Error 500.19 - Internal Server Error

The requested page cannot be accessed because the related configuration data for the page is invalid.


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:\Program Files\CRYPTOCard\BlackShield ID\BlackShield Site\Console\web.config </div>I tried your suggestions, but it does not seem to work. What do I do wrong?


Config File \\?\C:\inetpub\DeployService\web.config
Requested URL http://localhost:80/DeployService.svc
Physical Path C:\inetpub\DeployService\DeployService.svc
Logon Method Not yet determined
Logon User Not yet determined





Solution

Control Panel -> Programs and Features -> "Turn Windows features on or off" (sidebar) In the Features dialog, go to Internet Information Services -> World Wide Web Services -> Application Development Features ->Check in everything relevant (especially ASP.NET) and click OK. Launch a command prompt in admin mode and run "iisreset" Try your website again. :)



On Windows 8.1, IIS 8.5 the solution for me was to register 4.5 from the control panel:

Programs and Features > Turn Windows features on or off > Information Information Services > World Wide Web Services > Application Development Features > Select ASP.NET 4.5

No comments:

Post a Comment