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

I get a database timeout expired error on my ASP.NET application. What can I do?

I get the following error when my ASP.NET application connects to the MS SQL server:...

How did I send email from ASP.net ?

You have to use System.Web.Mail namespace Below is the code snippets : using System.Web.Mail;...

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...

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...

How can I send email from ASP.net if SMTP Authentication is required for your mail Server?

Our SMTP Server requires authentication before you can send email, But If your ASP or ASP.net...