Access to Web.Config is denied

Topics: ASP.NET 2.0
May 14, 2012 at 9:52 PM

I just installed BlogEngine according to the instructions.  I'm getting the following error:

Access to the path 'C:\[my path]\Web.Config' is denied.

I'm using IIS7 under Windows 2008 R2, and I bedlieve the correct account is IIS_IUSERS?  Web.config exists and has read and read/execute permissions under IIS_IUSERS. 

Any idea what I did wrong?

Coordinator
May 14, 2012 at 10:26 PM

You likely getting this error when installing something from gallery - BE changes time-stamp on web.config forcing IIS to recycle application pool for new extension load at runtime. This error is not critical, in some cases IIS will still reload application anyways and even if not in hosting environments pools recycled regularly so you'll just have to wait for this to see new extension.

If you want to get rid of error, here is how to find out what user runs your application.