The section <authentication> can't be defined in this configuration file

View: New views
1 Messages — Rating Filter:   Alert me  

The section <authentication> can't be defined in this configuration file

by proxies :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am new with running asp.net pages in linux using mod_mono. I am done install mod_mono in a CentOS server using this guide http://openhelp.net/?cat=80. I've tried running some helloworld pages it seems that everything is running smoothly. But when I tried to have a pages with <authentication> and <sessionState> tags I am receiving an error. Here is the Version information:  Mono Version: 2.0.50727.1433; ASP.NET Version: 2.0.50727.1433. I installed the following on the server:

mono-2.4.2.3
xsp-2.4.2
mod_mono-2.4.2

I have the following configurations inside my system.web tag:

<authentication mode="Forms">
<forms name="ASProxyUser" timeout="43200" slidingExpiration="true" protection="All" defaultUrl="~/" loginUrl="~/login.aspx"/>
</authentication>
   
<sessionState mode="InProc" timeout="20" cookieName="ASProxySession"/>



Please let me know if I am missing something. Below is the screenshot of the error I am receiving:



Thanks,
Alvin