电脑突然断电后 .net 项目出现Exception from HRESULT: 0x80070057 (E_INVALIDARG))错误

电脑突然断电,正在运行的项目在电脑重启后出现如下错误 Could not load file or assembly 'AspNetPager' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG)), 重新引用.dll后仍然出现此错误,或者删掉.dll文件反应到别的dll出错, 解决方法: accepted Looks like a corrupted assembly being referenced. Clear both: 1.the \bin folder of your project 2.the temp folder (should be C:\Users\your_username\AppData\Local\Temp\Temporary ASP.NET Files in windows 7) 对我来说第二种是奏效的方法 参考文章:http://stackoverflow.com/questions/8269386/could-not-load-file-or-assembly-the-parameter-is-incorrect
posted @ 2016-01-27 10:40  BerthaPeng  阅读(348)  评论(0编辑  收藏  举报