Declined
Last Updated: 01 Nov 2013 13:06 by Makoto
Coder
Created on: 10 Jun 2013 08:33
Category: ScriptManager
Type: Bug Report
0
RadScriptManager OverflowException
Hi all, 

when I update IIS, I get the following error on each page with Telerik. When I click F5 (refresh), the page loads well and dont appear anymore. I'm using Win 2003 and Win 2008 with IIS.

System.OverflowException: Arithmetic, casting or conversion operation overflowed or underflowed. (Exception from HRESULT: 0x80131516)
   at System.Reflection.PseudoCustomAttribute._GetSecurityAttributes(RuntimeModule module, Int32 token, Boolean assembly, Object[]& securityAttributes)
   at System.Reflection.PseudoCustomAttribute.GetCustomAttributes(RuntimeAssembly assembly, RuntimeType caType, Boolean includeSecCa, Int32& count)
   at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeAssembly assembly, RuntimeType caType)
   at System.Reflection.RuntimeAssembly.GetCustomAttributes(Boolean inherit)
   at System.Web.UI.AssemblyCache.GetAjaxFrameworkAssemblyAttribute(Assembly assembly)
   at System.Web.UI.ScriptManager.get_DefaultAjaxFrameworkAssembly()
   at System.Web.UI.ScriptManager..ctor()
   at Telerik.Web.UI.RadScriptManager..ctor()

Regards,
Rastislav 
(Total attached files size should be smaller than 20mb. Allowed extensions: .zip, .rar, .jpg, .png, .gif)
3 comments
Makoto
Posted on: 30 Sep 2013 21:00
Also, this error only occurs once, each time the app pool recycles.
Makoto
Posted on: 30 Sep 2013 20:59
I am also getting this error with the ScriptManager, but not using Telerik's ScriptManager.  Seems like a problem with ASP.net's ScriptManager.   My stack trace looks similar:

Exception information: 
    Exception type: OverflowException 
    Exception message: Arithmetic, casting or conversion operation overflowed or underflowed. (Exception from HRESULT: 0x80131516)
   at System.Reflection.PseudoCustomAttribute._GetSecurityAttributes(RuntimeModule module, Int32 token, Boolean assembly, Object[]& securityAttributes)
   at System.Reflection.PseudoCustomAttribute.GetCustomAttributes(RuntimeAssembly assembly, RuntimeType caType, Boolean includeSecCa, Int32& count)
   at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeAssembly assembly, RuntimeType caType)
   at System.Web.UI.AssemblyCache.GetAjaxFrameworkAssemblyAttribute(Assembly assembly)
   at System.Web.UI.ScriptManager.get_DefaultAjaxFrameworkAssembly()
   at System.Web.UI.ScriptManager..ctor()
   at ASP.default_aspx.__BuildControlContent1(Control __ctrl)
   at System.Web.UI.MasterPage.InstantiateInContentPlaceHolder(Control contentPlaceHolder, ITemplate template)
   at ASP.masterpage_master.__BuildControlcphMain()
   at ASP.masterpage_master.__BuildControlMainForm()
   at ASP.masterpage_master.__BuildControlbodyMaster()
   at ASP.masterpage_master.__BuildControlTree(masterpage_master __ctrl)
   at System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection)
   at System.Web.UI.Page.ApplyMasterPage()
   at System.Web.UI.Page.PerformPreInit()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Elena
Posted on: 21 Aug 2013 07:06
The error is strange. Did you try to use the standard ScriptManager?
If you still experience problems - open a support ticket and send us more details to reproduce the error locally.