IIS 5 & IIS 6
IIS6 - ASP.NET MVC - Website
Last post Nov 14, 2011 09:42 PM by jrgirvan
Nov 06, 2011 08:02 PM|jrgirvan|LINK
Hopefully I have this thread in the correct location
I'm trying to deploy an ASP.NET MVC 3 app to IIS6 as a Website, not a Virtual Directory. Then setup a DNS entry to point directly to the MVC Web app.
So this is what I have setup
AppPool called "MVCAppPool"
Website called "MVCApp"
DNS mapping mvcapp.somedomain.com to the web servers IP address.
But when I try to access the site I get prompted for a username and password, then any and all accounts entered fail, resulting in a 401.2
Now if I setup the site as a virtual directry it works, but you can't access the with
Can anyone help me out?
Nov 06, 2011 08:04 PM|jrgirvan|LINK
Nov 08, 2011 08:55 PM|Leo Tang - MSFT|LINK
Please check your site settings to see if any ISAPI filter installed on it. Also, you can refer to the following article for further troubleshooting.
Troubleshooting HTTP 401 errors in IIS
Nov 14, 2011 03:52 PM|jrgirvan|LINK
Nov 14, 2011 09:42 PM|jrgirvan|LINK
Figured it out
<add value="false" key="autoFormsAuthentication"/>
Apparently MVC3 uses Forms Authentication by default and needs to be explicitly turned off