re:
!Why is this being caused and what is the solution?
The error mesage tells you that :
"This error can be caused by a virtual directory not being configured as an application in IIS."
You are trying to use Forms authentication in a directory
which is not configured as an application or, at least, as a virtual directory.
Juan T. Llibre, asp.net MVP
asp.net faq :
http://asp.net.do/faq/
foros de asp.net, en espaņol :
http://asp.net.do/foros/
======================================
"Icon Iconoclast" <icon_iconoclast@h-o-t-m-a-i-l.comwrote in message
news:39C91ABE-ACE5-45B7-9D36-D2EAEEB7B665@microsoft.com...
Quote:
Why is this being caused and what is the solution? I am using a book that teaches ASP.NET 2.0 but trying out the
example codes on my ASP.NET 3.5 running the development server instead of IIS. What is the solution?
>
>
>
WEB.CONFIG says:
>
<authentication mode="Forms">
<forms loginUrl="Default.aspx"></forms>
</authentication>
>
>
>
>
The error message says:
>
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.