This article is a mirror article of machine translation, please click here to jump to the original article.

View: 25307|Reply: 1

[Source] Could not load file or assembly 'System.Web.Http, Version=4.0.0.0, Culture=ne...

[Copy link]
Posted on 5/10/2018 1:36:50 PM | | | |
Could not load file or assembly 'System.Web.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=3
On the server Windows 20018 r2 x64, the website is started with an error as follows:



Solution:

Under the runtime->assemblyBinding node in web.config, the configuration is as follows:

newVersion refers to the version of your current dll, successfully resolved!




Previous:MySQL Workbench fails to create IPC port: Access denied
Next:Seed search artifact
 Landlord| Posted on 5/10/2018 1:38:58 PM |
Unable to find the requested .Net Framework Data Provider.  It may not be installed.

This error is that the database connection driver is not there, and I am using a MySQL database

The workaround on the net is the mysql-connector-net driver, however, I've installed it and it doesn't work!

My workaround is to copy the "MySql.Data.dll" under the bin directory of the website.
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com