错误提示:
发类型为“System.OutOfMemoryException”的异常。
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。
异常详细信息: System.OutOfMemoryException: 引发类型为“System.OutOfMemoryException”的异常。
源错误:
执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。
堆栈跟踪:
[OutOfMemoryException: 引发类型为“System.OutOfMemoryException”的异常。]
System.String.GetStringForStringBuilder(String value, Int32 startIndex, Int32 length, Int32 capacity) +29
System.Text.StringBuilder.GetNewString(String currentString, Int32 requiredLength) +69
System.Text.StringBuilder.Append(String value) +97
System.IO.StringWriter.Write(String value) +34
System.Xml.XmlTextWriter.WriteStartAttribute(String prefix, String localName, String ns) +1073
System.Xml.XmlWriter.WriteAttributeString(String localName, String value) +21
FarPoint.Web.Spread.NamedStyle.Serialize(XmlTextWriter w) +40
[TargetInvocationException: 调用的目标发生了异常。]
System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) +0
System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) +71
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) +261
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +29
System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams) +2090
System.Type.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args) +28
FarPoint.Web.Spread.Model.Serializer.SerializeObject(Object o, Type saveInterface, String elementName, XmlTextWriter w, Assembly callingAssembly, Object[] args, Boolean saveType) +1409
FarPoint.Web.Spread.Model.Serializer.SerializeObject(Object o, String elementName, XmlTextWriter w, Assembly callingAssembly) +39
FarPoint.Web.Spread.NamedStyleCollection.Serialize(XmlTextWriter w) +118
[TargetInvocationException: 调用的目标发生了异常。]
System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) +0
System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) +71
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) +261
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +29
System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams) +2090
System.Type.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args) +28
FarPoint.Web.Spread.Model.Serializer.SerializeObject(Object o, Type saveInterface, String elementName, XmlTextWriter w, Assembly callingAssembly, Object[] args, Boolean saveType) +1409
FarPoint.Web.Spread.Model.Serializer.SerializeObject(Object o, String elementName, XmlTextWriter w, Assembly callingAssembly) +39
FarPoint.Web.Spread.Model.Serializer.GetObjectXml(ISerializeSupport o, String elementName, Assembly callingAssembly) +73
FarPoint.Web.Spread.FpSpread.SaveViewState() +680
System.Web.UI.Control.SaveViewStateRecursive() +187
System.Web.UI.Control.SaveViewStateRecursive() +106
System.Web.UI.Control.SaveViewStateRecursive() +106
System.Web.UI.Page.SaveAllState() +168
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1099
版本信息: Microsoft .NET Framework 版本:2.0.50727.4016; ASP.NET 版本:2.0.50727.4016 |