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

时间:2015-09-24 04:59:29

标签: c# .net .net-assembly

My system was shut down unfortunately after restart my system when I am trying to open project in Visual studio 2013, Project build successfully but when open project in browser, I got below error, I tried clear temp memory but I am not able to solved.

Can some one help me please.

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

2 个答案:

答案 0 :(得分:0)

找到相同的问题Here

看起来被引用的程序集已损坏。

清除两者:

  1. 项目的\ bin文件夹

  2. 临时文件夹(应该是Windows 7中的C:\ Users \ your_username \ AppData \ Local \ Temp \ Temporary ASP.NET Files)

  3. 并查看错误是否仍然发生

答案 1 :(得分:-1)

是否可以清除解决方案,然后删除Ajax控件工具包参考表单项目,然后再将其添加为新项目。

或者从以下路径中删除所有临时文件 C:\ Windows \ Microsoft.NET \ Framework \ v4.0.30319 \ Temporary ASP.NET Files