Click here to Skip to main content
15,891,316 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I got the following error message on a asp.net 3.5 application, once I published the website again the error stopped. How do I avoid this error in future instead of publishing the website again?
Posted
Comments
pankajupadhyay29 22-Mar-11 14:49pm    
what is the complete error message and stack???
Bharathy Sadagopan 23-Mar-11 9:04am    
Here is the complete error message.

CALLING OBJECT NAME: Assembly

CALLING METHOD NAME: _nLoad

System.Exception[]ADDITIONAL MESSAGES: mscorlib

TYPE: System.IO.FileLoadException

BASE EXCEPTION: System.IO.FileLoadException: Hash validation failed for file or assembly 'AjaxControlToolkit'.
File name: 'AjaxControlToolkit'
at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.Load(String assemblyString)
at System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective)

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
Sandeep Mewara 22-Mar-11 17:25pm    
Sounds like an old version of Ajaxtoolkit. Is it? What version is it?
Bharathy Sadagopan 23-Mar-11 9:06am    
It is April 2010 Release, binary version for .net 3.5.
Sandeep Mewara 23-Mar-11 9:40am    
All looks good. Try uninstall and then reinstall.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900