简体   繁体   中英

Could not load file or assembly 'EntityFramework.SqlServer' or one of its dependencies. The parameter is incorrect

The following error occurs when I run my project after updating Entity Framework:

"Could not load file or assembly 'EntityFramework.SqlServer' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))"

Please Give me solution as early as possible thank you!

Empty/Delete the 'bin' folder of your start-up project!

Clear the Temp ASP.Net files/assemblies! See this SO answer

Generally, the location should be, the below folder. If you are using other version of framework, then please refer to the SO link I mentioned to find details for cleaning the temp folders for various version of framework.

C:/Windows/Microsoft.NET/Framework/v4.0.30319/Temporary ASP.NET Files

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM