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

How do I connect my ASP.net application to MySQL database?

In general, 2 different methods can be used to connect an ASP.net application to MySQL database....

Disable Web Config inheritance for Virtual Application

If you have a lot of virtual applications under your webisteYou can Disable the main website's...

How do I setup custom error for my ASP.net application?

ASP.net has its own built-in error handling. To set up custom error handling for your ASP.net...

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

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