Question

I am trying to deploy an MVC application to a server with the correct versions of .NET installed, the application pool has been set to .NET 4 but the error says .NET 2

Have a look at the screen shots below, maybe you can point me in the right direction

enter image description here

and

enter image description here

Was it helpful?

Solution

The server probably does not have the 4.5 framework installed. Both 4.0 and 4.5 MVC applications will run under the 4.0 app bool but if your application is complied against 4.5 you will need that installed on the target server.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top