Click here to Skip to main content
15,886,199 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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 0x80070005
Config Error Cannot read configuration file due to insufficient permissions

Config File \\?\C:\Users\Administrator\Documents\Visual Studio 2012\WebSites\WebSite16\web.config
Requested URL http://localhost:80/MyApp/Default.aspx
Physical Path C:\Users\Administrator\Documents\Visual Studio 2012\WebSites\WebSite16\Default.aspx
Logon Method Not yet determined
Logon User Not yet determined
Config Source
-1:
0:



Web.config file code



XML
<?xml version="1.0" encoding="UTF-8"?>
<!--
  For more information on how to configure your ASP.NET application, please visit
  http://go.microsoft.com/fwlink/?LinkId=169433
  -->
<configuration>
  <appSettings>
      <add key="ValidationSettings:UnobtrusiveValidationMode" value="None" />

    </appSettings>
  <system.web>

    <compilation debug="true" targetFramework="4.5" />
    <httpRuntime targetFramework="4.5" />
  </system.web>

    </configuration>
Posted

1 solution

Hello Dipesh

You got this error because, your website Physical location is not having sufficient rights, so you need to change your website physical location to any further location where you have sufficient rights, the try to access

can you please follow below steps and check it out...



1) First of all you need to change physical location of your website

your current location is ...

C:\Users\Administrator\Documents\Visual Studio 2012\WebSites\WebSite16\

can you copy all the stuff from that location to your D:\ or something like that, where you have sufficient permission to run your project

2) Open your website in your visual studio (if you are try to run your website from it) or just change your Physical location of your website to your new location

3) now try to access your website.
 
Share this answer
 
Comments
Tejas Vaishnav 20-Mar-14 1:37am    
If this solve your problem then please rate my answer..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900