Don't know why my Visual Studio / ASP.NET webforms app suddenly stopped running on my local machine. If I upload the compiled project to the dev server, it also starts to produce this error. The message is shown below.
I removed and re-added the AjaxControlToolkit (v20.1.0) several times and it's not helping. I even used nuget locals all -clear command and it's still not helping. Furthermore, I use git to revert my project back to a good branch, and still not good. Something must have happened with my PC or IIS. Any ideas?
This is the error I get:
Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. Strong name signature could not be verified. The assembly may have been tampered with, or it was delay signed but not fully signed with the correct private key. (Exception from HRESULT: 0x80131045)
I turned on assembly logging and here's the output that comes with the message above:
LOG: DisplayName = AjaxControlToolkit (Partial) WRN: Partial binding information was supplied for an assembly: WRN: Assembly Name: AjaxControlToolkit | Domain ID: 2 WRN: A partial bind occurs when only part of the assembly display name is provided. WRN: This might result in the binder loading an incorrect assembly. WRN: It is recommended to provide a fully specified textual identity for the assembly, WRN: that consists of the simple name, version, culture, and public key token. WRN: See whitepaper http://go.microsoft.com/fwlink/?LinkId=109270 for more information and common solutions to this issue. LOG: Appbase = file:///C:/development/DCAA/DCAAWeb/trunk/DCAAWeb/ LOG: Initial PrivatePath = C:\development\DCAA\DCAAWeb\trunk\DCAAWeb\bin Calling assembly : (Unknown).
LOG: This bind starts in default load context. LOG: Using application configuration file: C:\development\DCAA\DCAAWeb\trunk\DCAAWeb\web.config LOG: Using host configuration file: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet.config LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config. LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind). LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/Temporary ASP.NET Files/dcaa_web/6c82c546/f3f5ecb4/AjaxControlToolkit.DLL. LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/Temporary ASP.NET Files/dcaa_web/6c82c546/f3f5ecb4/AjaxControlToolkit/AjaxControlToolkit.DLL. LOG: Attempting download of new URL file:///C:/development/DCAA/DCAAWeb/trunk/DCAAWeb/bin/AjaxControlToolkit.DLL. LOG: Using application configuration file: C:\development\DCAA\DCAAWeb\trunk\DCAAWeb\web.config LOG: Using host configuration file: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet.config LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config. LOG: Post-policy reference: AjaxControlToolkit, Version=20.1.0.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e ERR: Failed to complete setup of assembly (hr = 0x80131045). Probing terminated.