In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article will explain in detail why ASP.NET MVC 3 can run on the server even if it is not installed. The content of the article is of high quality, so the editor will share it with you for reference. I hope you will have a certain understanding of the relevant knowledge after reading this article.
When deploying the ASP.NET MVC3 application on the server, you may see the following error message:
This means that ASP.NET MVC3 is not installed on your server.
There are two ways to solve this problem:
The first is to install ASP.NET MVC3 on the server, of course. However, if you are using a server's virtual space, or a rented server, there may be no installation conditions, then use the second method.
Second, the cause of the error is obviously the lack of appropriate assemblies, which have been installed into GAC when ASP.NET MVC3 has been installed, and references to these assemblies are used in website programs, as shown in the following assemblies involved in MVC3:
We can solve this problem by deploying these assemblies under the bin of the ASP.NET MVC3 application.
These assemblies should already be referenced in the project developing the MVC3 application. In solution Manager, expand the reference, select the six assemblies, and in the properties window, set copy to local (Copy Local) to true, which will cause these assemblies to be copied locally when the application is deployed.
When you release the project, these assemblies, including those included in GAC, will be released together so that your ASP.NET MVC 3 can run.
About why ASP.NET MVC 3 can run on the server without installation to share here, I hope the above content can be of some help to you, you can learn more knowledge. If you think the article is good, you can share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.