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