Click here to Skip to main content
15,884,099 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to Install 4.5 framework in iis7.
Posted
Comments
DamithSL 23-Jan-15 5:46am    
have you installed .net framework 4.5?
chetan2020 23-Jan-15 5:47am    
yes
DamithSL 23-Jan-15 6:12am    
so what is the issue? can't you select .net 4.5 in your IIS application pool?
chetan2020 23-Jan-15 6:20am    
In IIS7 I cant see 4.5 in application pool
chetan2020 23-Jan-15 6:28am    
I got problem and resolved it
thanks

1 solution

Microsoft are particularly good at making this confusing!

.NET 4.5 is an in-place upgrade to 4.0; you won't see it listed as a separate version in the properties of the AppPool.

If you've installed 4.5 on the server, set your AppPool to "v4.0". There are some settings in the web.config file which are required to get your application to use 4.5, but Visual Studio should take care of that for you:
XML
<system.web>
    <compilation targetFramework="4.5" />
    <httpRuntime targetFramework="4.5" requestValidationMode="4.5" />
</system.web>
 
Share this answer
 
Comments
chetan2020 26-Jan-15 3:55am    
yes, you are right. I apply same.
Thanks..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900