Server Error in '/' Application.

Last post 08-14-2006, 5:46 AM by Adam. 1 replies.
Sort Posts: Previous Next
  •  08-14-2006, 12:18 AM 21780

    Server Error in '/' Application.

    I'm getting the following error message.


    Server Error in '/' Application.

    Configuration Error

    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

    Parser Error Message: An error occurred loading a configuration file: Failed to start monitoring changes to 'C:\Inetpub\wwwroot\web.config' because access is denied.

    Source Error:

    [No relevant source lines]

    Source File: C:\Inetpub\wwwroot\web.config    Line: 0


    Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42


    This is a new setup. I'm running Server 2003, SQLExpress 2005, ASP.net 2.0 (required by SQLExpress) using integrated windows authentication. I created a new database called cutemessenger. I'm not sure how to set permission on the database, or if I need to with integrated windows authentication.

    Here is my web.config file.

    <?xml version="1.0" encoding="utf-8" ?>
    <configuration>

        <appSettings>
            <add key="ConnectionString" value="server=(Clinic2)\SQLEXPRESS;database=cutemessenger;uid=test;pwd=test" />
            <add key="OnlineTimeout" value="300" />
         </appSettings>
       
        <system.web>
            <pages validateRequest="false" />
            <!--<identity impersonate="true" />-->
            <compilation defaultLanguage="c#" debug="true" />
            <customErrors mode="Off" />
            <trust level="Medium" />
            <authentication mode="Forms">
                <forms name=".UserManagementASPXAUTH" loginUrl="~/Login.aspx" />
            </authentication>
            <authorization>
                <allow users="*" />
            </authorization>
            <trace enabled='true'></trace>
            <sessionState mode="InProc" timeout="20" />
            <globalization requestEncoding="utf-8" responseEncoding="utf-8" />
        </system.web>
    </configuration>

    Any help would be appreciated.

    Thanks,
    Pete
  •  08-14-2006, 5:46 AM 21787 in reply to 21780

    Re: Server Error in '/' Application.

    The account that ASP.Net is running under needs to have read, execute and list permissions on that folder and all its contents. See http://support.microsoft.com/kb/316721/ and specifically make sure that the effective permissions on web.config are such that the account has access.
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View as RSS news feed in XML