Installation and deployment Questions on installation, system configuration and deployment to the live server.
Version 6.x > Installation and deployment > System.Web.Extensions does not contain a script with hash code View modes: 
User avatar
Member
Member
josht-ci.corona.ca - 10/31/2013 11:22:55 AM
   
System.Web.Extensions does not contain a script with hash code
Hello,

We are in the process of upgrading our Kentico installations from v5.5 R2 to version 6.0. The site is running, but we are running into an issue loading a Telerik control and are receiving the following error message:

Assembly "System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" does not contain a script with hash code "ea597d4b".

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NotSupportedException: Assembly "System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" does not contain a script with hash code "ea597d4b".

Source Error:


Line 18: {
Line 19: // Ensure script manager
Line 20: PortalHelper.EnsureScriptManager(Page);
Line 21: }
Line 22: }

Source File: d:\Websites\staging_coronapubliclibrary\CMSPages\ScriptManager.aspx.cs Line: 20

Stack Trace:


[NotSupportedException: Assembly "System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" does not contain a script with hash code "ea597d4b".]
AjaxControlToolkit.ToolkitScriptManager.DeserializeScriptEntries(String serializedScriptEntries, Boolean loaded) +1088
AjaxControlToolkit.ToolkitScriptManager.OutputCombinedScriptFile(HttpContext context) +1005
AjaxControlToolkit.ToolkitScriptManager.OnInit(EventArgs e) +66
System.Web.UI.Control.InitRecursive(Control namingContainer) +133
System.Web.UI.Control.AddedControl(Control control, Int32 index) +277
CMS.UIControls.AbstractCMSPage.EnsureScriptManager() +202
CMSPages_ScriptManager.Page_Init(Object sender, EventArgs e) in d:\Websites\staging_coronapubliclibrary\CMSPages\ScriptManager.aspx.cs:20
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
System.Web.UI.Page.OnInit(EventArgs e) +105
CMS.UIControls.AbstractCMSPage.OnInit(EventArgs e) +16
CMS.UIControls.CMSPage.OnInit(EventArgs e) +87
System.Web.UI.Control.InitRecursive(Control namingContainer) +133
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1970

The resource being requested is:

http://staging.coronapubliclibrary.org/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=sm1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a387126a6-cbc0-46b4-b6ca-c8de25a0044f%3aea597d4b%3ab25378d2

Any thoughts on how to fix this issue? Any help would be appreciated.

User avatar
Member
Member
kentico_sandroj - 11/4/2013 7:41:27 PM
   
RE:System.Web.Extensions does not contain a script with hash code
Hello,

Would it be possible to begin with clearing the .NET cache? It is placed in the following location:
c:\Windows\Microsoft.NET\Framework\<.net version>\Temporary ASP.NET Files\<project name>

I was unable to find any similar reports, but issues such as this one where the hash cannot be recognized, the problem is usually in the DLL files or Web.config references.

Please see this discussion for more information. If you have any questions, please do not hesitate to ask.

Best Regards,
Sandro