Groups | Blog | Home
all groups > asp.net security > september 2005 >

asp.net security : Configuration Error in web.config


alex444
9/26/2005 8:03:02 PM
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>
Tasos Vogiatzoglou
9/27/2005 1:58:00 AM
Is this a shared folder ? Most probably ASPNET worker cannot access the
folder.
Martin
9/27/2005 11:05:19 AM
Or maybe moved the file web.config so Access Rights arent inherited from
folder.

"Tasos Vogiatzoglou" <tvoglou@gmail.com> schreef in bericht
news:1127811480.057507.15590@g44g2000cwa.googlegroups.com...
[quoted text, click to view]

Paul Glavich [MVP ASP.NET]
10/2/2005 4:00:18 PM
Try changing your authentication mode to "Windows"

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


[quoted text, click to view]

AddThis Social Bookmark Button