ASP.NET Can't Load Assembly

前端 未结 3 1150
梦毁少年i
梦毁少年i 2021-02-03 11:22

My computer crashed and I\'m now unable to start my previously working ASP.NET Web Application in Visual Studio 2008 -- getting the following error:

=== Pre-bind         


        
相关标签:
3条回答
  • 2021-02-03 11:30

    The answer is I had to delete this folder's contents:

    C:/Users/Adam/AppData/Local/Temp/Temporary ASP.NET Files/root/

    0 讨论(0)
  • 2021-02-03 11:31

    After a BSOD, I had same error code but with AutoMapper.dll in VS 2010 for a .Net 4.0 MVC 3 project. The resolution for me was to delete the contents of:

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

    (This is on Windows 7 x64)

    It seems the error message 'Bind result: hr = 0x80070057. The parameter is incorrect.' can be caused when a temporary copy of a referenced DLL becomes corrupted by a system failure. The resolution is to remove this temporary copy. Then when you re-compile the compiler will re-copy the original DLL to the temporary folder.

    0 讨论(0)
  • 2021-02-03 11:47

    Full list of paths to check and delete:

    %LocalAppData%\Temp\Temporary ASP.NET Files\
    %SystemRoot%\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\
    %SystemRoot%\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\
    %SystemRoot%\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\
    %SystemRoot%\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\
    
    0 讨论(0)
提交回复
热议问题