Configuration Error in web.config

G

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
 
P

Pat

Alex it seems you don't have access to the Web.Config file which is XML!
Hope that helps
Patrick
 
J

Juan T. Llibre

re:
Parser Error Message: The XML file \\path\webroot\web.config could
not be loaded. Logon failure: unknown user name or bad password.

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.





alex444 said:
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
 
G

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.



Juan T. Llibre said:
re:
Parser Error Message: The XML file \\path\webroot\web.config could
not be loaded. Logon failure: unknown user name or bad password.

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.





alex444 said:
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
 
P

Pat

So is it working well now?

alex444 said:
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.



Juan T. Llibre said:
re:
Parser Error Message: The XML file \\path\webroot\web.config could
not be loaded. Logon failure: unknown user name or bad password.

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.





alex444 said:
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
 

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. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top