On 25/05/11 05:24, Marvin Hunkin wrote:
tried to build the project, and got a error 86 in the web.confi file,
about autehntification.
and using windows authentification, and sayin needed form authentification.

There are two places where you need to configure authentication:

1. In your project's web.config file there will be an entry like this for Windows authentication:

<authentication mode="Windows" />

If you're not building an intranet application you can change that to be mode="Forms" or mode="None" from within Visual Web Developer.

2. IIS itself has two options for each virtual directory: 'Integrated Windows Authentication' which corresponds to mode="Windows" in the web.config, and 'Anonymous Access' which will work with either mode="Forms" or mode="None".

The important thing is to make sure the two are in sync. Here's a couple of articles on changing the authentication mode in IIS6, these may or may not be appropriate to you depending on which version of Windows you are using:

http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/36ea667e-c578-43b5-87fa-a2f174efb27a.mspx

http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/9ded7af2-fcb7-4ed2-b007-e19f971f6e13.mspx

Hope that helps.

Rob


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
*******************************************************************

Reply via email to