ASP. net mvc and asp. netmvc

Source: Internet
Author: User

ASP. net mvc and asp. netmvc

VS2012 creates an ASP. net mvc internet project in the conventional way. After the project is created, F5 starts the project. An error occurs:

Failed to Load file or assembly "MySql. Web. v20, Version = 6.9.4.0, Culture = neutral, PublicKeyToken = c5687fc88969c44d" or one of its dependencies. The system cannot find the specified file.

Solution: Replace MySql. Web. v20 in the C: \ Windows \ Microsoft. NET \ Framework \ v4.0.30319 \ Config \ machine. config file with MySql. Web.Note: To save the file, you must open it as Administrator.

 

References:

Machine. config

The machine configuration file, Machine. config, contains settings that apply to an entire computer. this file is located in the % runtime install path % \ Config directory. machine. config contains configuration settings for machine-wide assembly binding, built-in remoting channels, and ASP. NET.

Https://msdn.microsoft.com/en-us/library/ms229697 (v = vs.90). aspx

Unlike traditional ASP, ASP. NET does not run in the IIS address space, but has its own process: aspnet_wp.exe. This process can be configured through the XML configuration file machine. config.

Http://www.cnblogs.com/chenlulouis/archive/2010/05/26/1744261.html

Related Article

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.