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

Était-ce utile?

La 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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top