When an ASP. NET mvc3 application is deployed on the server, the following error message may be displayed:
This indicates that ASP. NET mvc3 is not installed on your server.
There are two ways to solve this problem:
First, install ASP. NET mvc3 on the server. However, if you are using a virtual space of a server or a rented server, there may be no installation conditions, then use the second method.
Second, the cause of the error is obviously missing appropriateProgramSet, where ASP. in the case of net mvc3, these assemblies have been installed in GAC, and reference these assemblies is used in website programs. The Assembly involved in mvc3 is as follows:
We can solve this problem by deploying these assembly under the bin of ASP. NET mvc3 application.
In the project where the mvc3 application is developed, these assemblies should have been referenced. In solution manager, expand references, select these six assemblies, and in the Properties window, copy local is set to true. This will cause the assembly to be copied to local during application deployment.
When you release a project, these assembly, including the Assembly in GAC, will be released together, so that your mvc3 can run.
The image in this article comes from:
Deployment of ASP. Net MVC 3 RC 2 Application on a shared hosting environment without ging the hosting company
Deploying ASP. Net MVC 3 web application to server where ASP. net mvc 3 is not installed