Configuration Error in web.config

Discussion in 'ASP .Net' started by Guest, Sep 27, 2005.

  1. Guest

    Guest Guest

    Any help on this error much appreciated. Application works on dev but not on
    3d party host server (with useless support).

    ==========================
    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: The XML file \\path\webroot\web.config could not be
    loaded. Logon failure: unknown user name or bad password.

    Source Error:

    [No relevant source lines]

    Source File: \\path\webroot\web.config Line: 0
    --------------------------------------------------------------------------------
    Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET
    Version:1.1.4322.2300
    ==========================

    My web.config
    ==========================
    <?xml version="1.0" encoding="utf-8" ?>
    <configuration>
    <appSettings>
    <add key="new" value="10" />
    </appSettings>
    <system.web>
    <compilation defaultLanguage="c#" debug="false" />
    <customErrors mode="Off" />
    <authentication mode="None" />
    <authorization>
    <allow users="*" /> <!-- Allow all users -->
    </authorization>
    <globalization requestEncoding="utf-8" responseEncoding="windows-1251" />
    </system.web>
    </configuration>
    ==========================

    Thank you
     
    Guest, Sep 27, 2005
    #1
    1. Advertisements

  2. Guest

    Pat Guest

    Alex it seems you don't have access to the Web.Config file which is XML!
    Hope that helps
    Patrick
     
    Pat, Sep 27, 2005
    #2
    1. Advertisements

  3. re:
    Hi, Alex.

    You're trying to access a web.config on a shared network directory.

    The ASP.NET account you're using needs read permission
    to access the files on the shared network directory.





     
    Juan T. Llibre, Sep 27, 2005
    #3
  4. Guest

    Guest Guest

    well this is probably the way it is set up at host provider (brinkster) and
    what I found so far that it has nothing to do with the web.config itself.
    Thank you.



     
    Guest, Sep 28, 2005
    #4
  5. Guest

    Pat Guest

    So is it working well now?

     
    Pat, Sep 28, 2005
    #5
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.