Search
Home IIS.NET Forums IIS 5 & IIS 6 ASP.NET Administration IIS6 - ASP.NET MVC - Website
Last post Nov 15, 2011 01:42 AM by jrgirvan
7 Posts
Nov 07, 2011 12:02 AM|LINK
Hi,
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 http://mvcapp.somedomain.com/
Can anyone help me out?
Nov 07, 2011 12:04 AM|LINK
4161 Posts
Microsoft
Nov 09, 2011 12:55 AM|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
http://support.microsoft.com/kb/907273
Nov 14, 2011 07:52 PM|LINK
Nov 15, 2011 01:42 AM|LINK
Figured it out
<add value="false" key="autoFormsAuthentication"/>
Apparently MVC3 uses Forms Authentication by default and needs to be explicitly turned off
jrgirvan
7 Posts
IIS6 - ASP.NET MVC - Website
Nov 07, 2011 12:02 AM|LINK
Hi,
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 http://mvcapp.somedomain.com/
Can anyone help me out?
jrgirvan
7 Posts
Re: IIS6 - ASP.NET MVC - Website
Nov 07, 2011 12:04 AM|LINK
Leo Tang - M...
4161 Posts
Microsoft
Re: IIS6 - ASP.NET MVC - Website
Nov 09, 2011 12:55 AM|LINK
Hi,
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
http://support.microsoft.com/kb/907273
Feedback to us
Develop and promote your apps in Windows Store
jrgirvan
7 Posts
Re: IIS6 - ASP.NET MVC - Website
Nov 14, 2011 07:52 PM|LINK
jrgirvan
7 Posts
Re: IIS6 - ASP.NET MVC - Website
Nov 15, 2011 01:42 AM|LINK
Figured it out
<add value="false" key="autoFormsAuthentication"/>
Apparently MVC3 uses Forms Authentication by default and needs to be explicitly turned off