Visual Studio 2008 - The requested page cannot be accessed because the related configuration data for the page is invalid

Error

---------------------------
Microsoft Visual Studio
---------------------------
Unable to start debugging on the web server.



Internet Information Services 7.0




Error Summary

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 InformationError Summary
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.




Config Source
   -1:
0:



Make sure the server is operating correctly. Verify there are no syntax errors in web.config by doing a Debug.Start Without Debugging. You may also want to refer to the ASP.NET and ATL Server debugging topic in the online documentation.
---------------------------
OK Help
---------------------------

Solution
You are using IIS 7.0 on a computer that is running Windows Vista. Additionally, you configure the Web site to use UNC Passthrough authentication to access a remote Universal Naming Convention (UNC) share.The IIS_IUSRS group does not have the appropriate permissions for the ApplicationHost.config file or for the Web.config file.

I have given rights to folder which contains the web.config file. Now it works for me...

Comments

Popular posts from this blog

ASP.NET website "Cannot read configuration file due to insufficient permissions" in IIS 7 and Windows Server 2008

Error occurred in deployment step 'Install app for SharePoint': The System Account cannot perform this action.

Embrassing screen sharing interview : SharePoint