Home All Groups Group Topic Archive Search About

Steven Cheng, could you please take a look at the exception?

Author
13 Dec 2005 5:49 AM
qiang
Hi Steven,

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.GradientEditor
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.GradientEditor 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.GradientEditor from assembly
mscorlib, Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089.]

         System.Reflection.CustomAttribute.CreateCAObject(Int32& propNum,
Assembly& assembly) +0

         System.Reflection.CustomAttribute.GetObject() +57


System.Reflection.CustomAttribute.CheckConsistencyAndCreateArray(CustomAttri
bute caItem, Type caType) +539

         System.Reflection.CustomAttribute.GetCustomAttributes(MemberInfo
member, Type caType, Boolean inherit) +459

         System.Reflection.CustomAttribute.GetCustomAttributes(Type type,
Type caType, Boolean inherit) +110

         System.RuntimeType.GetCustomAttributes(Boolean inherit) +11

         System.ComponentModel.TypeDescriptor.GetCustomAttributes(Type type)
+78

         System.ComponentModel.MemberList.ReflectGetCustomAttributes(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_Converter() +195


System.Web.Compilation.CodeDomUtility.GenerateExpressionForValue(PropertyInf
o propertyInfo, Object value, Type valueType) +660


System.Web.Compilation.TemplateControlCompiler.BuildBuildMethod(ControlBuild
er builder, Boolean fTemplate, PropertySetterEntry pse) +2555


System.Web.Compilation.TemplateControlCompiler.BuildSourceDataTreeFromBuilde
r(ControlBuilder builder, Boolean fInTemplate, PropertySetterEntry pse) +794


System.Web.Compilation.TemplateControlCompiler.BuildSourceDataTreeFromBuilde
r(ControlBuilder builder, Boolean fInTemplate, PropertySetterEntry pse) +675


System.Web.Compilation.TemplateControlCompiler.BuildSourceDataTreeFromBuilde
r(ControlBuilder builder, Boolean fInTemplate, PropertySetterEntry pse) +675


System.Web.Compilation.TemplateControlCompiler.BuildSourceDataTreeFromBuilde
r(ControlBuilder builder, Boolean fInTemplate, PropertySetterEntry pse) +675


System.Web.Compilation.TemplateControlCompiler.BuildSourceDataTreeFromBuilde
r(ControlBuilder builder, Boolean fInTemplate, PropertySetterEntry pse) +352


System.Web.Compilation.TemplateControlCompiler.BuildSourceDataTreeFromBuilde
r(ControlBuilder builder, Boolean fInTemplate, PropertySetterEntry pse) +352


System.Web.Compilation.TemplateControlCompiler.BuildMiscClassMembers() +52

         System.Web.Compilation.PageCompiler.BuildMiscClassMembers() +9

         System.Web.Compilation.BaseCompiler.BuildSourceDataTree() +1276

         System.Web.Compilation.BaseCompiler.GetCompiledType() +128

         System.Web.UI.PageParser.CompileIntoType() +62

         System.Web.UI.TemplateParser.GetParserCacheItemThroughCompilation()
+124



      [HttpException (0x80004005): Could not load type
Infragistics.UltraChart.Resources.Editor.GradientEditor from assembly
mscorlib, Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089.]

         System.Web.UI.TemplateParser.GetParserCacheItemInternal(Boolean
fCreateIfNotFound) +721

         System.Web.UI.TemplateParser.GetParserCacheItemWithNewConfigPath()
+125

         System.Web.UI.TemplateParser.GetParserCacheItem() +99


System.Web.UI.TemplateControlParser.CompileAndGetParserCacheItem(String
virtualPath, String inputFile, HttpContext context) +120

         System.Web.UI.TemplateControlParser.GetCompiledInstance(String
virtualPath, String inputFile, HttpContext context) +36

         System.Web.UI.PageParser.GetCompiledPageInstanceInternal(String
virtualPath, String inputFile, HttpContext context) +43

         System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context,
String requestType, String url, String path) +44

         System.Web.HttpApplication.MapHttpHandler(HttpContext context,
String requestType, String path, String pathTranslated, Boolean
useAppConfig) +699


System.Web.MapHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep
..Execute() +95

         System.Web.HttpApplication.ExecuteStep(IExecutionStep step,
Boolean& completedSynchronously) +173

Author
13 Dec 2005 12:57 PM
Patrice
I'm not Steven but it looks like you forgot to deploy the control ? Are you
sure all Infragistics DLLs are copied properly.

--
Patrice

Show quoteHide quote
"qiang" <x**@shinetechchina.com> a écrit dans le message de
news:uC4MEk6$FHA.3852@TK2MSFTNGP14.phx.gbl...
> Hi Steven,
>
> 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.GradientEditor
Show quoteHide quote
> 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.GradientEditor 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.GradientEditor from assembly
> mscorlib, Version=1.0.5000.0, Culture=neutral,
> PublicKeyToken=b77a5c561934e089.]
>
>          System.Reflection.CustomAttribute.CreateCAObject(Int32& propNum,
> Assembly& assembly) +0
>
>          System.Reflection.CustomAttribute.GetObject() +57
>
>
>
System.Reflection.CustomAttribute.CheckConsistencyAndCreateArray(CustomAttri
Show quoteHide quote
> bute caItem, Type caType) +539
>
>          System.Reflection.CustomAttribute.GetCustomAttributes(MemberInfo
> member, Type caType, Boolean inherit) +459
>
>          System.Reflection.CustomAttribute.GetCustomAttributes(Type type,
> Type caType, Boolean inherit) +110
>
>          System.RuntimeType.GetCustomAttributes(Boolean inherit) +11
>
>          System.ComponentModel.TypeDescriptor.GetCustomAttributes(Type
type)
> +78
>
>          System.ComponentModel.MemberList.ReflectGetCustomAttributes(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_Converter() +195
>
>
>
System.Web.Compilation.CodeDomUtility.GenerateExpressionForValue(PropertyInf
> o propertyInfo, Object value, Type valueType) +660
>
>
>
System.Web.Compilation.TemplateControlCompiler.BuildBuildMethod(ControlBuild
> er builder, Boolean fTemplate, PropertySetterEntry pse) +2555
>
>
>
System.Web.Compilation.TemplateControlCompiler.BuildSourceDataTreeFromBuilde
> r(ControlBuilder builder, Boolean fInTemplate, PropertySetterEntry pse)
+794
>
>
>
System.Web.Compilation.TemplateControlCompiler.BuildSourceDataTreeFromBuilde
> r(ControlBuilder builder, Boolean fInTemplate, PropertySetterEntry pse)
+675
>
>
>
System.Web.Compilation.TemplateControlCompiler.BuildSourceDataTreeFromBuilde
> r(ControlBuilder builder, Boolean fInTemplate, PropertySetterEntry pse)
+675
>
>
>
System.Web.Compilation.TemplateControlCompiler.BuildSourceDataTreeFromBuilde
> r(ControlBuilder builder, Boolean fInTemplate, PropertySetterEntry pse)
+675
>
>
>
System.Web.Compilation.TemplateControlCompiler.BuildSourceDataTreeFromBuilde
> r(ControlBuilder builder, Boolean fInTemplate, PropertySetterEntry pse)
+352
>
>
>
System.Web.Compilation.TemplateControlCompiler.BuildSourceDataTreeFromBuilde
Show quoteHide quote
> r(ControlBuilder builder, Boolean fInTemplate, PropertySetterEntry pse)
+352
>
>
> System.Web.Compilation.TemplateControlCompiler.BuildMiscClassMembers() +52
>
>          System.Web.Compilation.PageCompiler.BuildMiscClassMembers() +9
>
>          System.Web.Compilation.BaseCompiler.BuildSourceDataTree() +1276
>
>          System.Web.Compilation.BaseCompiler.GetCompiledType() +128
>
>          System.Web.UI.PageParser.CompileIntoType() +62
>
>
System.Web.UI.TemplateParser.GetParserCacheItemThroughCompilation()
> +124
>
>
>
>       [HttpException (0x80004005): Could not load type
> Infragistics.UltraChart.Resources.Editor.GradientEditor from assembly
> mscorlib, Version=1.0.5000.0, Culture=neutral,
> PublicKeyToken=b77a5c561934e089.]
>
>          System.Web.UI.TemplateParser.GetParserCacheItemInternal(Boolean
> fCreateIfNotFound) +721
>
>
System.Web.UI.TemplateParser.GetParserCacheItemWithNewConfigPath()
Show quoteHide quote
> +125
>
>          System.Web.UI.TemplateParser.GetParserCacheItem() +99
>
>
> System.Web.UI.TemplateControlParser.CompileAndGetParserCacheItem(String
> virtualPath, String inputFile, HttpContext context) +120
>
>          System.Web.UI.TemplateControlParser.GetCompiledInstance(String
> virtualPath, String inputFile, HttpContext context) +36
>
>          System.Web.UI.PageParser.GetCompiledPageInstanceInternal(String
> virtualPath, String inputFile, HttpContext context) +43
>
>          System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context,
> String requestType, String url, String path) +44
>
>          System.Web.HttpApplication.MapHttpHandler(HttpContext context,
> String requestType, String path, String pathTranslated, Boolean
> useAppConfig) +699
>
>
>
System.Web.MapHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep
Show quoteHide quote
> .Execute() +95
>
>          System.Web.HttpApplication.ExecuteStep(IExecutionStep step,
> Boolean& completedSynchronously) +173
>
>
>
>
>