I am trying to host a .NET 4.5 project into IIS6 and having an error "<compilation targetFramework=4.5>" Configuration error. Steps I have followed are:
Publish the application
copy the published files in server
create a new web site in IIS 6.0 by pointing the physical file path to copied file path
go to website properties and select default page
convert website's ASP.NET version to 4.0.3.319
Then browse the application
This resulted in <compilation targetFramework=4.5> configuration error. please help me by directing how to rectify this and get the project running
Member
168 Points
497 Posts
Deploying .NET 4.5 web project into IIS6
Jan 21, 2017 03:00 PM|acmedeepak|LINK
Hi
I am trying to host a .NET 4.5 project into IIS6 and having an error "<compilation targetFramework=4.5>" Configuration error. Steps I have followed are:
This resulted in <compilation targetFramework=4.5> configuration error. please help me by directing how to rectify this and get the project running
Member
260 Points
138 Posts
Re: Deploying .NET 4.5 web project into IIS6
Jan 21, 2017 05:27 PM|mohtshm|LINK
You need to install framework 4.5, and also need to check its compatibility with IIS 6
https://pk.linkedin.com/in/mohtishamzubair
Member
168 Points
497 Posts
Re: Deploying .NET 4.5 web project into IIS6
Jan 21, 2017 06:13 PM|acmedeepak|LINK
Thanks mohtshm,
.NET 4 is already there in the machine. That is how I did the step 5 above.
Thanks,
Deepak
Member
260 Points
138 Posts
Re: Deploying .NET 4.5 web project into IIS6
Jan 21, 2017 09:02 PM|mohtshm|LINK
Actually What I meant was that framework 4.5 is not compatible with IIS 6. And framework 4.0 is not 4.5. You need to upgrade to IIS 7.x for that.
Plz check this as well
http://stackoverflow.com/questions/12824695/how-can-you-get-a-net-4-5-website-to-run-on-iis6
https://pk.linkedin.com/in/mohtishamzubair