[Mono-aspnet-list] Forms Authentication

nyc_bob cww at dynonet.com
Sun Mar 21 02:01:21 EDT 2010


Trying to run a simple app built with Visual Studio 2005, but get this error
"The section <authentication> can't be defined in this configuration file
(the allowed definition context is 'MachineToApplication').
(/home/bob/asp.net/PCR_SSO/Web.config line 52)"

Here is line 52 and the rest of the authentication section:

        <authentication mode="Forms">
          <forms loginUrl="Login.aspx">
            <credentials passwordFormat="Clear">
              <user name="tester" password="testerPwd"/>
            </credentials>
          </forms>
        </authentication>

The loginUrl is accessed from /AppName/Login.aspx and have tried changing
the loginUrl in the authentication to /AppName/Login.aspx but it didn't
help.

I am running the latest stable release of Ubuntu server and xsp 2.4.2.0

The app runs fine in VS2005 as well as on my local test IIS server under Win
XP.

Thanks,
Bob
-- 
View this message in context: http://n4.nabble.com/Forms-Authentication-tp1676495p1676495.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.


More information about the Mono-aspnet-list mailing list