Parameter error. (Exception from HRESULT: 0x80070057 (E_INVALIDARG), invalidarg
========================================================== ======================================
Exception from HRESULT: 0x80070057 (E_INVALIDARG) failed to load Assembly ....... several times to delete the reference and then re-reference the assembly or report an error .... there are actually solutions for online search:
The solution is to deleteC:/WINDOWS/Microsoft. NET/Framework/v2.0.50727/TemporaryASP. NET filesFolder.
Note: The solution mentioned above is only used with the. NET 2.0 compiler.
If you are in VS2010. Net 4.0 development environment, please deleteC:/WINDOWS/Microsoft. NET/Framework/V4.0.30319/TemporaryASP. NET files folder.
========================================================== ======================================
Cause analysis:
1. The program being compiled is suddenly interrupted, such as caused by power failure.
2. A running program connects to the database (not when the program accesses the database, but operations such as tools in Visual Studio-connecting data to prepare to generate code will also lead to the above problems)
C: \ Windows \ Microsoft. NET \ Framework \ v4.0.30319 \ Temporary ASP. NET Files
This folder is a temporary folder for running the VS editor. When it suddenly crashes | when not considered, the compilation of the current debugging project may be left behind.
The aspnet runtime error in C # does not support file loading or assembly AjaxControlToolkit ...... Or its dependency parameter is incorrect.
Check if there are other errors. If there are other errors, first change them to another one. Try again at runtime. Sometimes vs is the case. If not, check if there is less reference. try again
The file, assembly "AjaxControlToolkit", or one of its dependency parameters cannot be loaded.
Check that there must be a yellow color in your reference. Remove it and add the reference again. Select Browse and find your ajaxtoolkitcontrol. dll to add it.