PDA

View Full Version : Web Matrix - Login Template gets an error - Help..


Ness
10-24-2005, 09:50 AM
Hello,


Hello,
</o:p>
I am trying to implement the Web Matrix Login Template. When I use the Web Matrix server, my code works fine. However when I upload to the DASP.net server I get the following error..
</o:p>
Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.

Source Error: </o:p>



</o:p>Line 5: <system.web></o:p>Line 6: </o:p>Line 7: <authentication mode="Forms"></o:p>Line 8: <forms name=".ASPXAUTH" loginUrl="login.aspx" /></o:p>Line 9: </authentication> </o:p>
</o:p>
Can someone tell we what I need to do?
<st1:PersonName w:st="on">Gene Ness

bruce
10-25-2005, 05:42 AM
the application root has not been setup as a web application. set it up in the web application tool in the control panel, this should fix it.

Bruce

DiscountASP.NET
www.DiscountASP.NET (http://www.DiscountASP.NET)