I get an error "Access denied to 'D:\public_html\xxx\xxx\web.config'. Failed to start monitoring file changes" when I try to open an ASP.net page. What can I do?

This error usually means that the ASPNet user does not have adequate permission to access the web.config file.  By default, the ASPNet user should have enough permission to access your directory.  However, if you create or copy a new application under the root with Visual Studio .NET, the ASPNet user permission may not inherit into the subdirectory automatically.

You can check permission for each folders on your Website in file Manager. Make sure that all the files or folders under public_html OR wwwroot has ASP.NET, IUSR and NETWORK SERVICE permission.

If you still can't fix the problems, please login to your ticketing portal and create a support ticket.

Was this answer helpful?

 Print this Article

Also Read

Why can I still access my ASP.NET pages even though I disabled anonymous access to my directory?

After disabling anonymous access in the permission manager in the control panel, ASP.net pages...

I am using ASP.NET and Internet Explorer Web Controls and it does not work when I open the page. What is wrong?

For Internet Explorer Web Controls to work properly you need to have the required HTML...

I couldn't see any Error Message on my ASPX Page? What should I do?

This happens because of the web.config custom Error page is set to RemoteOnly or On. If you...

How do I configure my ASP.NET 3.5 Framework?

To configure your ASP.NET3.5 Framework, it is pretty easy via our control panel. For Old In...

I get an error 'A potentially dangerous Request.Form value was detected from the client ' when I hit submit on my ASP.NET Webform. What can I do?

This error is caused by a newly introduced feature of .NET Framework 1.1, called "Request...