IIS 5 & IIS 6
IIS6 - ASP.NET MVC - Website
Last post Nov 15, 2011 01:42 AM by jrgirvan
Nov 07, 2011 12:02 AM|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 07, 2011 12:04 AM|jrgirvan|LINK
Nov 09, 2011 12:55 AM|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 07:52 PM|jrgirvan|LINK
Nov 15, 2011 01:42 AM|jrgirvan|LINK
Figured it out
<add value="false" key="autoFormsAuthentication"/>
Apparently MVC3 uses Forms Authentication by default and needs to be explicitly turned off