Configuration Error in web.config

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

  1. alex444

    alex444 Guest

    I would appreciate any help with the following error. I'd like to mention
    that application works on my Dev server no problems at all but not on the 3d
    party host server (they saying it's coding problem).
    =====================================
    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 file:
    ===================
    <?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>
    ===================
    alex444, Sep 27, 2005
    #1
    1. Advertising

  2. Is this a shared folder ? Most probably ASPNET worker cannot access the
    folder.
    Tasos Vogiatzoglou, Sep 27, 2005
    #2
    1. Advertising

  3. alex444

    Martin Guest

    Or maybe moved the file web.config so Access Rights arent inherited from
    folder.

    "Tasos Vogiatzoglou" <> schreef in bericht
    news:...
    > Is this a shared folder ? Most probably ASPNET worker cannot access the
    > folder.
    >
    Martin, Sep 27, 2005
    #3
  4. Try changing your authentication mode to "Windows"

    --
    - Paul Glavich
    MVP ASP.NET
    http://weblogs.asp.net/pglavich
    ASPInsiders member - http://www.aspinsiders.com


    "alex444" <> wrote in message
    news:...
    >I would appreciate any help with the following error. I'd like to mention
    > that application works on my Dev server no problems at all but not on the
    > 3d
    > party host server (they saying it's coding problem).
    > =====================================
    > 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 file:
    > ===================
    > <?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>
    > ===================
    Paul Glavich [MVP ASP.NET], Oct 3, 2005
    #4
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Xu ChunMing

    web.config Configuration Error when deploy

    Xu ChunMing, Jul 16, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    532
    Marc Hoeppner
    Jul 16, 2003
  2. Ivan
    Replies:
    1
    Views:
    3,054
    Natty Gur
    May 21, 2004
  3. =?Utf-8?B?YWxleDQ0NA==?=

    Configuration Error in web.config

    =?Utf-8?B?YWxleDQ0NA==?=, Sep 27, 2005, in forum: ASP .Net
    Replies:
    4
    Views:
    25,157
  4. Matt
    Replies:
    2
    Views:
    617
  5. CSharpner
    Replies:
    0
    Views:
    1,017
    CSharpner
    Apr 9, 2007
Loading...

Share This Page