Web.Config and Machine.Config
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngconfig' list.


Alberto Mujica
-- Moved from [aspngstart] to [aspngconfig] by devin <Click here to reveal e-mail address> --

Hello,

I have a quick question.

My machine.config is set as follows:

<customErrors mode="RemoteOnly" />

And my web.config is set as follows:

<customErrors mode="Off" />

Which one will prevail?

Thank you,

Alberto Mujica
Enterprise Configuration Analyst
MCSE NT-2K, MCDBA, MCP+I, A+
Click here to reveal e-mail address

Reply to this message...
 
    
Brad Kingsley
The web.config will override the machine.config unless a section has
specifically been "locked down".

~Brad Kingsley
Microsoft MVP - ASP
Windows 2000 MCSE

http://www.orcsweb.com/
Powerful Web Hosting Solutions
#1 in Service and Support

----- Original Message -----
From: "Alberto Mujica" <Click here to reveal e-mail address>
To: "aspngconfig" <Click here to reveal e-mail address>
Sent: Monday, May 13, 2002 4:56 PM
Subject: [aspngconfig] Web.Config and Machine.Config

> -- Moved from [aspngstart] to [aspngconfig] by devin
<Click here to reveal e-mail address> --
[Original message clipped]

---
[This E-mail scanned for viruses by Declude Virus]

Reply to this message...
 
    
Mike Amundsen
Local will override the machine file

MCA
Mike Amundsen
Click here to reveal e-mail address
host your .NET Apps @ EraServer.NET

-----Original Message-----
From: Alberto Mujica [mailto:Click here to reveal e-mail address]
Sent: Monday, May 13, 2002 4:57 PM
To: aspngconfig
Subject: [aspngconfig] Web.Config and Machine.Config

-- Moved from [aspngstart] to [aspngconfig] by devin
<Click here to reveal e-mail address> --

Hello,

I have a quick question.

My machine.config is set as follows:

<customErrors mode="RemoteOnly" />

And my web.config is set as follows:

<customErrors mode="Off" />

Which one will prevail?

Thank you,

Alberto Mujica
Enterprise Configuration Analyst
MCSE NT-2K, MCDBA, MCP+I, A+
Click here to reveal e-mail address
| [aspngconfig] member Click here to reveal e-mail address = YOUR ID
| http://www.asplists.com/asplists/aspngconfig.asp = JOIN/QUIT
| http://www.asplists.com/search = SEARCH Archives
Reply to this message...
 
 




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com