allowDefinition='MachineToApplication' beyond application level.

  • Thread starter Icon Iconoclast
  • Start date

I

Icon Iconoclast

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.
 
Ad

Advertisements

J

Juan T. Llibre

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.
 
Ad

Advertisements

Joined
Jul 5, 2012
Messages
1
Reaction score
0

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top