Configuration error authentication mode="Windows"

0

Good morning,

When I publish my ASP.net application on the server, I get the following error,

Configuration error authentication mode="Windows"

This is part of my Web.config

<system.web>
   <!-- mode=[Windows|Forms|Passport|None] -->
   <authentication mode="Windows" />
</system.web>

And I'm using IIS7.

Does anyone have any idea how to solve it?

    
asked by Edgar Conrado 27.04.2016 в 18:22
source

2 answers

4

The error means that the site in the IIS is not correctly created.

If you make the implementation in a Application on the Default web site you must ensure that it is correct

You'll see that the icon it shows is different from a folder, it's yellow, while the application is like a world with documents.

This can be assigned a Application Pool

You could also convert a folder to application

But you should create a separate site to which you assign a specific port.

    
answered by 27.04.2016 в 18:38
1

You need to create a new virtual directory for your app:

Start-> All program-month- > Administrative tools-> Internet Information service- > Select Server name-> Web Site-> Default Web Site- > right click - > new- > virtual directory

This will open a wizard where you choose the path of your app and configure the permissions.

link

    
answered by 27.04.2016 в 18:36