Hi everyone,
Could you please take a look at an exception for ASP.NET application?
My ASP.NET application is using Infragistics WebChart control. I encounter
an exception below when deploying the application into a third-part host.
It would be very appreciated if you have known the reason and tell me.
Thanks you in advance.
Qiang
Could not load type Infragistics.UltraChart.Resources.Editor.GradientE ditor
from assembly mscorlib, Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089.
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.TypeLoadException: Could not load type
Infragistics.UltraChart.Resources.Editor.GradientE ditor from assembly
mscorlib, Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089.
Source Error:
An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.
Stack Trace:
[TypeLoadException: Could not load type
Infragistics.UltraChart.Resources.Editor.GradientE ditor from assembly
mscorlib, Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089.]
System.Reflection.CustomAttribute.CreateCAObject(I nt32& propNum,
Assembly& assembly) +0
System.Reflection.CustomAttribute.GetObject() +57
System.Reflection.CustomAttribute.CheckConsistency AndCreateArray(CustomAttri
bute caItem, Type caType) +539
System.Reflection.CustomAttribute.GetCustomAttribu tes(MemberInfo
member, Type caType, Boolean inherit) +459
System.Reflection.CustomAttribute.GetCustomAttribu tes(Type type,
Type caType, Boolean inherit) +110
System.RuntimeType.GetCustomAttributes(Boolean inherit) +11
System.ComponentModel.TypeDescriptor.GetCustomAttr ibutes(Type type)
+78
System.ComponentModel.MemberList.ReflectGetCustomA ttributes(Type
classToReflect, Type metadataType) +316
System.ComponentModel.MemberList.GetAttributes() +121
System.ComponentModel.ComponentEntry.GetAttributes (Object
component) +127
System.ComponentModel.ComponentEntry.GetConverter( ) +29
System.ComponentModel.PropertyDescriptor.get_Conve rter() +195
System.Web.Compilation.CodeDomUtility.GenerateExpr essionForValue(PropertyInf
o propertyInfo, Object value, Type valueType) +660
System.Web.Compilation.TemplateControlCompiler.Bui ldBuildMethod(ControlBuild
er builder, Boolean fTemplate, PropertySetterEntry pse) +2555
System.Web.Compilation.TemplateControlCompiler.Bui ldSourceDataTreeFromBuilde
r(ControlBuilder builder, Boolean fInTemplate, PropertySetterEntry pse) +794
System.Web.Compilation.TemplateControlCompiler.Bui ldSourceDataTreeFromBuilde
r(ControlBuilder builder, Boolean fInTemplate, PropertySetterEntry pse) +675
System.Web.Compilation.TemplateControlCompiler.Bui ldSourceDataTreeFromBuilde
r(ControlBuilder builder, Boolean fInTemplate, PropertySetterEntry pse) +675
System.Web.Compilation.TemplateControlCompiler.Bui ldSourceDataTreeFromBuilde
r(ControlBuilder builder, Boolean fInTemplate, PropertySetterEntry pse) +675
System.Web.Compilation.TemplateControlCompiler.Bui ldSourceDataTreeFromBuilde
r(ControlBuilder builder, Boolean fInTemplate, PropertySetterEntry pse) +352
System.Web.Compilation.TemplateControlCompiler.Bui ldSourceDataTreeFromBuilde
r(ControlBuilder builder, Boolean fInTemplate, PropertySetterEntry pse) +352
System.Web.Compilation.TemplateControlCompiler.Bui ldMiscClassMembers() +52
System.Web.Compilation.PageCompiler.BuildMiscClass Members() +9
System.Web.Compilation.BaseCompiler.BuildSourceDat aTree() +1276
System.Web.Compilation.BaseCompiler.GetCompiledTyp e() +128
System.Web.UI.PageParser.CompileIntoType() +62
System.Web.UI.TemplateParser.GetParserCacheItemThr oughCompilation()
+124
[HttpException (0x80004005): Could not load type
Infragistics.UltraChart.Resources.Editor.GradientE ditor from assembly
mscorlib, Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089.]
System.Web.UI.TemplateParser.GetParserCacheItemInt ernal(Boolean
fCreateIfNotFound) +721
System.Web.UI.TemplateParser.GetParserCacheItemWit hNewConfigPath()
+125
System.Web.UI.TemplateParser.GetParserCacheItem() +99
System.Web.UI.TemplateControlParser.CompileAndGetP arserCacheItem(String
virtualPath, String inputFile, HttpContext context) +120
System.Web.UI.TemplateControlParser.GetCompiledIns tance(String
virtualPath, String inputFile, HttpContext context) +36
System.Web.UI.PageParser.GetCompiledPageInstanceIn ternal(String
virtualPath, String inputFile, HttpContext context) +43
System.Web.UI.PageHandlerFactory.GetHandler(HttpCo ntext context,
String requestType, String url, String path) +44
System.Web.HttpApplication.MapHttpHandler(HttpCont ext context,
String requestType, String path, String pathTranslated, Boolean
useAppConfig) +699
System.Web.MapHandlerExecutionStep.System.Web.Http Application+IExecutionStep
..Execute() +95
System.Web.HttpApplication.ExecuteStep(IExecutionS tep step,
Boolean& completedSynchronously) +173