Deploy the ASP. NET mvc3 razor project to the VM.

Source: Internet
Author: User

Many websites in China only support space. NET 2.0 and. net 3.0 3.5, rarely supported by space providers. net 4, even if there are some support. net 4, but does not support the default MVC routing access form.

 

Go Daddy hosts support, and the cost is very low, the system is Windows 2008 R2 64-bit, 10 Gb website space, the cheapest website concurrency also supports 100, PHP supports 5.2 and 5.3 ,. net supports ASP. net V1.0/2.0/3.0/3.5 and ASP. net v4.0. The default value is. net 4, and MVC 2 is supported by default. To support mvc3, you only need to copy several DLL files to the bin folder when publishing the site. The DLL list is as follows:

 

System. Web. Export actions. dll

System. Web. helpers. dll

System. Web. MVC. dll system. Web. Razor. dllsystem. Web. Routing. dllsystem. Web. webpages. dllsystem. Web. webpages. Razor. dll

System. Web. webpages. Deployment. dll

 

DLL package download: http://files.cnblogs.com/taven/MVC3_DLL.rar

 

Otherwise, the following message is reported:

 

Page Display Error
Cocould not load file or assembly 'Microsoft. Web. Infrastructure, version = 1.0.0.0, culture = neutral, publickeytoken = 31bf3856ad364e35 'or one of its Dependencies. The system cannot find the file specified.

 


Cocould not load file or assembly 'Microsoft. Web. infrastructure...


Cocould not load file or assembly 'System. Web. helpers
...

 


Cocould not load file or assembly 'System. Web. MVC
...


Cocould not load file or assembly 'System. Web. Razor
...


Cocould not load file or assembly 'System. Web. Routing
...


Cocould not load file or assembly 'System. Web. webpages
...


Cocould not load file or assembly 'System. Web. webpages. Razor
...


Cocould not load file or assembly 'System. Web. webpages. Deployment
...

 

Go Daddy, you deserve it!

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.