Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I deploy .net 4.0 web application on IIS6?

I've recently upgraded VS 2008 to VS 2010. On our server we have IIS6 installed and we can not change that in near future. Even though we will develop new applications to be deployed on IIS7 but if situation demands we may need to develop an application using .net 4.0 and to be deployed on IIS6, then in this case I wanted to know whether IIS6 supports .net 4.0 application or not?

If I can deploy, then do I need to take care of any configuration or any other setting I should change before deploying it?

like image 692
JPReddy Avatar asked Jun 28 '10 12:06

JPReddy


2 Answers

My very complicate sites now are on iis6 running asp.net 4.0

My only issue moving from 3.5 to 4.0 was answered on this question: Default.aspx with IIS 6.0 and .Net 4?

and was also this point

<httpRuntime requestValidationMode="2.0" />

You can check all this list of breaking change moving to 4.0

http://www.asp.net/learn/whitepapers/aspnet4/breaking-changes

like image 156
Aristos Avatar answered Oct 25 '22 09:10

Aristos


IIS6 does support ASP.NET 4.0, though if you want to use URL routing you'll need to make some tweaks.

This page has some details on this: http://blog.stevensanderson.com/2008/07/04/options-for-deploying-aspnet-mvc-to-iis-6/

like image 21
Program.X Avatar answered Oct 25 '22 08:10

Program.X