Hi,
I'am just trying to use the last version of the ajaxcontroltoolkit from june 2013 (.net v3.5) in replacement of the April version.
I always update the stable version on my current project, trying to have the latest possibility, so this is not the first time I update the dll's.
But this time I face an issue, and I don't know how to solve it.
Here my exception message.
```
An exception of type System.IO.FileLoadException occured in class ASP.global_asax at method Application_Error :
Message : Impossible de charger le fichier ou l'assembly 'AjaxControlToolkit, Version=3.5.7.429, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e' ou une de ses dépendances. La définition trouvée du manifeste de l'assembly ne correspond pas à la référence de l'assembly. (Exception de HRESULT : 0x80131040)
StackTrace : à System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
à System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
à System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
à System.Reflection.Assembly.Load(String assemblyString)
à AjaxControlToolkit.ToolkitScriptManager.ScriptEntry.LoadAssembly() dans f:\TeamCity\buildAgent\work\80acd78aa4c25314\Server\AjaxControlToolkit\ToolkitScriptManager\ToolkitScriptManager.cs:ligne 762
à AjaxControlToolkit.ToolkitScriptManager.DeserializeScriptEntries(String serializedScriptEntries, Boolean loaded) dans f:\TeamCity\buildAgent\work\80acd78aa4c25314\Server\AjaxControlToolkit\ToolkitScriptManager\ToolkitScriptManager.cs:ligne 650
à AjaxControlToolkit.ToolkitScriptManager.OnLoad(EventArgs e) dans f:\TeamCity\buildAgent\work\80acd78aa4c25314\Server\AjaxControlToolkit\ToolkitScriptManager\ToolkitScriptManager.cs:ligne 201
à System.Web.UI.Control.LoadRecursive()
à System.Web.UI.Control.LoadRecursive()
à System.Web.UI.Control.LoadRecursive()
à System.Web.UI.Control.LoadRecursive()
à System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
```
It seem's that, at some point, there a referencing to the old dll. For information I'm not using the GAC, just using the dll directly in the project.
I've try to erase (cleaning all referencies on the project, and erasing all dll in the bin and obj directories) and re-add the dll unsuccessfuly.
I begin to think that the error may directly come from the toolkit.
Any help would be appreciable.
Thanks
Comments: It seems that this error is caused by ToolkitScriptManager. Starting with the v15.1 release, we have removed it. So now, this problem is resolved.
I'am just trying to use the last version of the ajaxcontroltoolkit from june 2013 (.net v3.5) in replacement of the April version.
I always update the stable version on my current project, trying to have the latest possibility, so this is not the first time I update the dll's.
But this time I face an issue, and I don't know how to solve it.
Here my exception message.
```
An exception of type System.IO.FileLoadException occured in class ASP.global_asax at method Application_Error :
Message : Impossible de charger le fichier ou l'assembly 'AjaxControlToolkit, Version=3.5.7.429, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e' ou une de ses dépendances. La définition trouvée du manifeste de l'assembly ne correspond pas à la référence de l'assembly. (Exception de HRESULT : 0x80131040)
StackTrace : à System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
à System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
à System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
à System.Reflection.Assembly.Load(String assemblyString)
à AjaxControlToolkit.ToolkitScriptManager.ScriptEntry.LoadAssembly() dans f:\TeamCity\buildAgent\work\80acd78aa4c25314\Server\AjaxControlToolkit\ToolkitScriptManager\ToolkitScriptManager.cs:ligne 762
à AjaxControlToolkit.ToolkitScriptManager.DeserializeScriptEntries(String serializedScriptEntries, Boolean loaded) dans f:\TeamCity\buildAgent\work\80acd78aa4c25314\Server\AjaxControlToolkit\ToolkitScriptManager\ToolkitScriptManager.cs:ligne 650
à AjaxControlToolkit.ToolkitScriptManager.OnLoad(EventArgs e) dans f:\TeamCity\buildAgent\work\80acd78aa4c25314\Server\AjaxControlToolkit\ToolkitScriptManager\ToolkitScriptManager.cs:ligne 201
à System.Web.UI.Control.LoadRecursive()
à System.Web.UI.Control.LoadRecursive()
à System.Web.UI.Control.LoadRecursive()
à System.Web.UI.Control.LoadRecursive()
à System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
```
It seem's that, at some point, there a referencing to the old dll. For information I'm not using the GAC, just using the dll directly in the project.
I've try to erase (cleaning all referencies on the project, and erasing all dll in the bin and obj directories) and re-add the dll unsuccessfuly.
I begin to think that the error may directly come from the toolkit.
Any help would be appreciable.
Thanks
Comments: It seems that this error is caused by ToolkitScriptManager. Starting with the v15.1 release, we have removed it. So now, this problem is resolved.