Cannot read configuration file due to insufficient permissions

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 Unknown
Handler Not yet determined
Error Code 0x80070005
Config Error Cannot read configuration file due to insufficient permissions
Config File \\?\C:\Users\EricSun\Documents\Visual Studio 2010\WebSites\SSOAuthWebSite1\web.config
Requested URL
Physical Path  
Logon Method Not yet determined
Logon User Not yet determined

Config Source

 -1:     0:  

Links and More InformationThis error occurs when there is a problem reading the configuration file for the Web server or Web application. In some cases, the event logs may contain more information about what caused this error.
View more information »

Cause: 1) not registering the. Net framework with iis (one of the causes: installed the. Net framework first, installed iis later)
2) Insufficient operation permission (Modify permission) for the site configured in IIS
1) go to c :\Windows\Microsoft \ net \Framework64\v2.0.50727,
Reregister framework: aspnet_regiis-i
with the iis command
2) IIS Manager –> Sites –> Corresponding site –& GT; Right click –> Edit Permissions – & gt; Security – & gt; Group or User Names –& GT; Edit – & gt; Add – & gt; Add the Everyone user who is granted Full Control permissions (essentially Modify permissions)

Reproduced in:

Read More: