|
 |
aspx thread: Web.Config Vs Machine.Config
Message #1 by "Daniel Klemm" <daniel_klemm@b...> on Thu, 30 Jan 2003 10:54:03 -0000
|
|
Just a small question.
Does the Web.config take presedence over the Machine.Config file ?
Thanks
Daniel
Message #2 by Carlos Magalhaes <CarlosM@t...> on Thu, 30 Jan 2003 12:53:22 +0200
|
|
Yes and no it all depends on which settings you are referring to
specifically?
Regards,
Carlos Magalhaes
-----Original Message-----
From: Daniel Klemm [mailto:daniel_klemm@b...]
Sent: Thursday, January 30, 2003 12:54 PM
To: ASP.NET
Subject: [aspx] Web.Config Vs Machine.Config
Just a small question.
Does the Web.config take presedence over the Machine.Config file ?
Thanks
Daniel
Message #3 by "Daniel Klemm" <daniel_klemm@b...> on Thu, 30 Jan 2003 11:24:41 -0000
|
|
<identity impersonate="false" userName="" password=""/>
I have just worked out the this setting can be set in web.config by testing.
Is the a list of settings somewhere that are and are not affected by the
web.config file ?
Daniel
----- Original Message -----
From: "Carlos Magalhaes" <CarlosM@t...>
To: "ASP.NET" <aspx@p...>
Sent: Thursday, January 30, 2003 10:53 AM
Subject: [aspx] RE: Web.Config Vs Machine.Config
> Yes and no it all depends on which settings you are referring to
> specifically?
>
>
>
> Regards,
>
> Carlos Magalhaes
>
>
>
>
>
> -----Original Message-----
> From: Daniel Klemm [mailto:daniel_klemm@b...]
> Sent: Thursday, January 30, 2003 12:54 PM
> To: ASP.NET
> Subject: [aspx] Web.Config Vs Machine.Config
>
>
>
> Just a small question.
>
>
>
> Does the Web.config take presedence over the Machine.Config file ?
>
>
>
> Thanks
>
> Daniel
>
>
>
>
>
> ---
>
>
>
>
>
>
Message #4 by "Rohit Arora" <rohit_arora@i...> on Thu, 30 Jan 2003 17:28:13 +0530
|
|
yup
peace
rohit
-----Original Message-----
From: Daniel Klemm [mailto:daniel_klemm@b...]
Sent: Thursday, January 30, 2003 4:24 PM
To: ASP.NET
Subject: [aspx] Web.Config Vs Machine.Config
Just a small question.
Does the Web.config take presedence over the Machine.Config file ?
Thanks
Daniel
Message #5 by "Rohit Arora" <rohit_arora@i...> on Thu, 30 Jan 2003 17:30:06 +0530
|
|
Hi Carlos,
Can u state some example where web.config doesn't hv precedence over
machine.config ??
peace
rohit
-----Original Message-----
From: Carlos Magalhaes [mailto:CarlosM@t...]
Sent: Thursday, January 30, 2003 4:23 PM
To: ASP.NET
Subject: [aspx] RE: Web.Config Vs Machine.Config
Yes and no it all depends on which settings you are referring to
specifically?
Regards,
Carlos Magalhaes
-----Original Message-----
From: Daniel Klemm [mailto:daniel_klemm@b...]
Sent: Thursday, January 30, 2003 12:54 PM
To: ASP.NET
Subject: [aspx] Web.Config Vs Machine.Config
Just a small question.
Does the Web.config take presedence over the Machine.Config file ?
Thanks
Daniel
Message #6 by Carlos Magalhaes <CarlosM@t...> on Thu, 30 Jan 2003 14:46:39 +0200
|
|
Nope , your web.config file controls that applications actions , the
machine.config controls how the .net process run and work Web.config
leverages on machine.config settings running the underlying .net framework
Regards,
Carlos Magalhaes
-----Original Message-----
From: Daniel Klemm [mailto:daniel_klemm@b...]
Sent: Thursday, January 30, 2003 1:25 PM
To: ASP.NET
Subject: [aspx] RE: Web.Config Vs Machine.Config
<identity impersonate="false" userName="" password=""/>
I have just worked out the this setting can be set in web.config by testing.
Is the a list of settings somewhere that are and are not affected by the
web.config file ?
Daniel
----- Original Message -----
From: "Carlos Magalhaes" <CarlosM@t...>
To: "ASP.NET" <aspx@p...>
Sent: Thursday, January 30, 2003 10:53 AM
Subject: [aspx] RE: Web.Config Vs Machine.Config
> Yes and no it all depends on which settings you are referring to
> specifically?
>
>
>
> Regards,
>
> Carlos Magalhaes
>
>
>
>
>
> -----Original Message-----
> From: Daniel Klemm [mailto:daniel_klemm@b...]
> Sent: Thursday, January 30, 2003 12:54 PM
> To: ASP.NET
> Subject: [aspx] Web.Config Vs Machine.Config
>
>
>
> Just a small question.
>
>
>
> Does the Web.config take presedence over the Machine.Config file ?
>
>
>
> Thanks
>
> Daniel
>
>
>
>
>
> ---
>
>
>
>
>
>
Message #7 by "Palani, Sakthivel (Cognizant)" <PSakthiv@c...> on Thu, 30 Jan 2003 18:28:43 +0530
|
|
http://samples.gotdotnet.com/quickstart/aspplus/doc/configformat.aspx
This URL is very much related to this discussion, kindly visit this.
Sakthi
-----Original Message-----
From: Carlos Magalhaes [mailto:CarlosM@t...]
Sent: Thursday, January 30, 2003 6:17 PM
To: ASP.NET
Subject: [aspx] RE: Web.Config Vs Machine.Config
Nope , your web.config file controls that applications actions , the
machine.config controls how the .net process run and work Web.config
leverages on machine.config settings running the underlying .net
framework
Regards,
Carlos Magalhaes
-----Original Message-----
From: Daniel Klemm [mailto:daniel_klemm@b...]
Sent: Thursday, January 30, 2003 1:25 PM
To: ASP.NET
Subject: [aspx] RE: Web.Config Vs Machine.Config
<identity impersonate="false" userName="" password=""/>
I have just worked out the this setting can be set in web.config by
testing.
Is the a list of settings somewhere that are and are not affected by the
web.config file ?
Daniel
----- Original Message -----
From: "Carlos Magalhaes" <CarlosM@t...>
To: "ASP.NET" <aspx@p...>
Sent: Thursday, January 30, 2003 10:53 AM
Subject: [aspx] RE: Web.Config Vs Machine.Config
> Yes and no it all depends on which settings you are referring to
> specifically?
>
>
>
> Regards,
>
> Carlos Magalhaes
>
>
>
>
>
> -----Original Message-----
> From: Daniel Klemm [mailto:daniel_klemm@b...]
> Sent: Thursday, January 30, 2003 12:54 PM
> To: ASP.NET
> Subject: [aspx] Web.Config Vs Machine.Config
>
>
>
> Just a small question.
>
>
>
> Does the Web.config take presedence over the Machine.Config file ?
>
>
>
> Thanks
>
> Daniel
>
>
>
>
>
> ---
>
>
>
>
>
>
Message #8 by "Rohit Arora" <rohit_arora@i...> on Fri, 31 Jan 2003 12:42:15 +0530
|
|
Yup I found how machine.config settings can't be overriden
Locking down configuration settings
In addition to specifying path information using the <location> tag, you can
also specify security so that settings cannot be overridden by another
configuration file further down the configuration hierarchy. To lock down a
group of settings, you can specify an allowOverride attribute on the
surrounding <location> tag and set it to false. The following code locks
down impersonation settings for two different applications.
<configuration>
<location path="app1" allowOverride="false">
<system.web>
<identity impersonate="false" userName="app1" password="app1pw" />
</system.web>
</location>
<location path="app2" allowOverride="false">
<system.web>
<identity impersonate="false" userName="app2" password="app2pw" />
</system.web>
</location>
</configuration>
Note that if a user tries to override these settings in another
configuration file, the configuration system will throw an error:
<configuration>
<system.web>
<identity userName="developer" password="loginpw" />
</system.web>
</configuration>
peace
rohit
-----Original Message-----
From: Palani, Sakthivel (Cognizant) [mailto:PSakthiv@c...]
Sent: Thursday, January 30, 2003 5:52 PM
To: rohit_arora@i...
Subject: RE: [aspx] RE: Web.Config Vs Machine.Config
Rohit,
By setting an attribute in the tags of machine.config xml file you can seal
values from getting overridden by web.config.
I cannot recollect the attribute name though.
Sakthi.
-----Original Message-----
From: Rohit Arora [mailto:rohit_arora@i...]
Sent: Thursday, January 30, 2003 5:30 PM
To: ASP.NET
Subject: [aspx] RE: Web.Config Vs Machine.Config
Hi Carlos,
Can u state some example where web.config doesn't hv precedence over
machine.config ??
peace
rohit
-----Original Message-----
From: Carlos Magalhaes [mailto:CarlosM@t...]
Sent: Thursday, January 30, 2003 4:23 PM
To: ASP.NET
Subject: [aspx] RE: Web.Config Vs Machine.Config
Yes and no it all depends on which settings you are referring to
specifically?
Regards,
Carlos Magalhaes
-----Original Message-----
From: Daniel Klemm [mailto:daniel_klemm@b...]
Sent: Thursday, January 30, 2003 12:54 PM
To: ASP.NET
Subject: [aspx] Web.Config Vs Machine.Config
Just a small question.
Does the Web.config take presedence over the Machine.Config file ?
Thanks
Daniel
|
|
 |