Search code examples
asp.netasp.net-mvciisapplication-pool

Does application pool version 4 support .net Framework 4.5.1?


I deploy a project with ASP.NET MVC with a target of Framework 4.5.1.

In Plesk I have this version :

enter image description here

and in web.config I have this :

<httpRuntime targetFramework="4.5.1" maxRequestLength="2147483647" 
             executionTimeout="1600" requestLengthDiskThreshold="2147483647" />
<compilation targetFramework="4.5.1">

I getting this error :

enter image description here

I contact with provider and they told me our host support .NET Framework v4.5.1 I don't know what's wrong.


Solution

  • Version 4.0.30319.17626 means .NET 4.5 RC, as you could see in the table of versions.

    .NET 4.5.1 starts with 4.0.30319.18408 however.