Problems after converting to ASP.Net 2

U

Urs Vogel

Hi

After VS 2005 converted my ASP.NET project, it doesn't compile and gives me
this one and only error:

"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. D:\#\WebServer\Baclup.Source\Web.config 37 "

WebConfig line 37:
<authentication mode="Windows" />
<!-- AUTHORIZATION
This section sets the authorization policies of the application.
You can allow or deny access
to application resources by user or role. Wildcards: "*" mean
everyone, "?" means anonymous
(unauthenticated) users.
-->
<authorization>

I have no clue what this is trying to tell me.. :-(

Any hints? Thanks.

Urs
 
P

Paul Bush

Try commenting out the authentication mode = "Windows" line. I had a
similar error awhile back and the project now works fine. Also, have
you tried "configuring the virtual directory as an application in IIS?"
 

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

Members online

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top