Josh Lane on .NET RSS 2.0
 Wednesday, January 17, 2007

Note to self... when using <location> tags in your web.config file, like so:

 

<location path="SomeFile.aspx">
	<system.web>
		<authorization>
			<allow users="*"/>
		</authorization>
	</system.web>
</location>

DO NOT use root-relative paths (AKA "tilde" paths) to specify the path attribute value... otherwise you spend several hours trying to figure out why your location-specific configuration overrides aren't being honored at runtime.

Or so I've heard. <sigh>

Wednesday, January 17, 2007 9:30:16 AM (Eastern Standard Time, UTC-05:00)  #    Comments [0] -
ASP.NET
Comments are closed.
Disclaimer

Don't blame my employer(s)... all of this is my fault.

© Copyright 2008 Josh Lane
Sign In
Locations of visitors to this page
DasBlog theme 'Business' created by Christoph De Baene (delarou)