I want to know about a thing that IS ASP.NET MVC 4 application can be run on .NET 4 server.
I am trying to deploy my MVC4 application and I am got the error that.
500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed.
I target the .net 4 framework but I am still having this error. I am not sure what happen to server. I am trying to look on other post but I did not find any post who can clearify that MVC 4 can run on .net server.
Yes. ASP.Net MVC 4 will run on ASP.Net 4 and ASP.Net 4.5. I am running a site on ASP.Net 4, and it is also confirmed in this blog post by Scott Gu. This assumes that you are not targeting any new 4.5 features in your application.
Be sure that you are copying the required MVC 4 .dll files in your bin folder if the server does not already have them installed. This post by Phil Haack explains how to bin deploy version 3. Hanselman has a similar article. You will need to check the version 4 release notes for the current .dlls required.
We may be able to provide a more specific answer if you can provide some additional details, and let us know what version of IIS and Visual Studio you are running.