[Mono-list] ASP.NET 2 Compilation Problems

Patrick Earl pat at dril.com
Thu Apr 20 19:26:02 EDT 2006


I did some more tests on the config file issue.  It doesn't seem to have 
anything to do with multiple applications.  I've included an example 
configuration file.  The config file below works as is.  If I uncomment 
the first <authorization> section, I get the duplicate element error. 
Ideas?

         Patrick

<configuration>
	<appSettings>
		<add key="Login_DomainName" value="TuboDRIL"/>
	</appSettings>
	<system.web>
		<compilation debug="true"/>
		<customErrors mode="Off"/>
		<authentication mode="Forms">
			<forms name="TubularInventoryViewerAuth" path="/FSWebApps/TuboDril" 
loginUrl="/FSWebApps/TuboDril/login.aspx" protection="All" timeout="30">
			</forms>
		</authentication>
<!--
     		<authorization>
			<deny users="?"/>
		</authorization>
-->
	</system.web>
<!--
	<location path="forgotpasswd.aspx">
		<system.web>
			<authorization>
				<allow users="?"/>
			</authorization>
		</system.web>
	</location>
-->
</configuration>




More information about the Mono-list mailing list