I receive the following error after trying to merge a working webpage to another website. The ajaxcontroltoolkit.dll is referenced properly in the new site.
Unable to
cast object of type
'System.Web.Configuration.ScriptingScriptResourceHandlerSection' to
type 'System.Web.Configuration.ScriptingScriptResourceHandlerSection'.
Source: System.Web.Extensions
-> System.Web.Configuration.ScriptingScriptResourceHandlerSection.ApplicationSettings.EnsureSectionLoaded()
-> System.Web.Handlers.ScriptResourceHandler.IsCompressionEnabled(HttpContext context)
->
System.Web.Handlers.ScriptResourceHandler.RuntimeScriptResourceHandler.System.Web.Handlers.IScriptResourceHandler.GetScriptResourceUrl(Assembly
assembly, String resourceName, CultureInfo culture, Boolean zip,
Boolean notifyScriptLoaded)
-> System.Web.UI.ScriptReference.GetUrlFromName(ScriptManager scriptManager, IControl scriptManagerControl, Boolean zip)
-> System.Web.UI.ScriptReference.GetUrl(ScriptManager scriptManager, IControl scriptManagerControl, Boolean zip)
-> System.Web.UI.ScriptManager.RegisterScripts()
-> System.Web.UI.ScriptManager.OnPagePreRenderComplete(Object sender, EventArgs e)
-> System.Web.UI.Page.OnPreRenderComplete(EventArgs e)
-> System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)