IIS 7 - Windows Authentication not working

8.3k views Asked by At

We have several web apps that use Windows Authentication that worked fine on IIS6. After deploying them to IIS7, Windows Authentication no longer works (we get 401.2 errors) UNLESS we set the web app to use the "Classic Pipeline"

I realize that Forms auth and Windows Auth aren't simultaneously supported as mentioned here and here - but that is not my issue - I dont have Forms Authentication enabled. I only have Windows Authentication enabled - but I am always getting the 401.2

Has anyone run into this? Is there something else I need to do?

Thanks! -Mike

2

There are 2 answers

0
MikeBaz - MSFT On

There are two immediate thoughts: (1) is Integrated Windows enabled on the server as a feature in the role (2) is the authentication configured in the right part of web.config? IIS7 stores some of its configuration is web.config, and moving from IIS6 to IIS7 often involves adding extra information.

See also: http://forums.iis.net/t/1153827.aspx

0
gislikonrad On

A lot of the settings in the web.config move from system.web to system.webserver when changing from classic mode to integrated mode. For example custom httpmodules move into system.webserver. Do you have any httpmodules that are handling custom authentication?