locked
An error occurred loading a configuration file RRS feed

  • Question

  • Hi All,

    I have deployed an ASP.NET web application in to SharePoint IIS. When I browse to that web application. I'm getting the below exception. 

     

        Exception type: ConfigurationErrorsException

        Exception message: An error occurred loading a configuration file: Failed to start monitoring changes to 'C:\Inetpub\wwwroot\wss\VirtualDirectories\xnet.com80' because access is denied. (C:\Inetpub\wwwroot\wss\VirtualDirectories\xnet.com80\web.config) 

     

    Can anyone pls help me out to solve this issue. Thank you.

    • Moved by Mike Walsh FIN Monday, August 29, 2011 12:13 PM Not general - choice of Programming (self-written app) or admin (error message) - moving to programming as guys there will have seen the error message I guess (From:SharePoint - General Question and Answers and Discussion (pre-SharePoint 2010))
    Monday, August 29, 2011 11:01 AM

Answers

  • Hi Vidon,

     

    You can check if your application pool identity was set to network service in IIS. If it's so, please change the application pool identity to domain account and anonymous account to domain account.

     

    Thanks,

    Pengyu Zhao

    • Marked as answer by Wayne Fan Tuesday, September 6, 2011 6:42 AM
    Tuesday, August 30, 2011 11:22 AM