|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Steven Cheng, could you please take a look at the exception?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 I'm not Steven but it looks like you forgot to deploy the control ? Are you
sure all Infragistics DLLs are copied properly. -- Show quoteHide quotePatrice "qiang" <x**@shinetechchina.com> a écrit dans le message de Infragistics.UltraChart.Resources.Editor.GradientEditornews: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 Show quoteHide quote > from assembly mscorlib, Version=1.0.5000.0, Culture=neutral, System.Reflection.CustomAttribute.CheckConsistencyAndCreateArray(CustomAttri> 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 > > > Show quoteHide quote > bute caItem, Type caType) +539 System.Web.Compilation.CodeDomUtility.GenerateExpressionForValue(PropertyInf> > 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 > > > > 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) System.Web.Compilation.TemplateControlCompiler.BuildSourceDataTreeFromBuilde+794 > > > > r(ControlBuilder builder, Boolean fInTemplate, PropertySetterEntry pse) System.Web.Compilation.TemplateControlCompiler.BuildSourceDataTreeFromBuilde+675 > > > > r(ControlBuilder builder, Boolean fInTemplate, PropertySetterEntry pse) System.Web.Compilation.TemplateControlCompiler.BuildSourceDataTreeFromBuilde+675 > > > > r(ControlBuilder builder, Boolean fInTemplate, PropertySetterEntry pse) System.Web.Compilation.TemplateControlCompiler.BuildSourceDataTreeFromBuilde+675 > > > > r(ControlBuilder builder, Boolean fInTemplate, PropertySetterEntry pse) System.Web.Compilation.TemplateControlCompiler.BuildSourceDataTreeFromBuilde+352 > > > Show quoteHide quote > r(ControlBuilder builder, Boolean fInTemplate, PropertySetterEntry pse) System.Web.UI.TemplateParser.GetParserCacheItemThroughCompilation()+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 > > > +124 System.Web.UI.TemplateParser.GetParserCacheItemWithNewConfigPath()> > > > [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 > > Show quoteHide quote > +125 System.Web.MapHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep> > 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 > > > Show quoteHide quote > .Execute() +95 > > System.Web.HttpApplication.ExecuteStep(IExecutionStep step, > Boolean& completedSynchronously) +173 > > > > >
Result not expected with user control - any ideas why/
Problem adding attributes to DataListItem.. Role based security Tabbed control for ASP.NET pages Trouble with radio button list in Asp.net 1.1 Templated User Control & intellisense Find the source of an event datagrid value grouping The lowly data field DropDownList(ddlist) and TextBox(tbox) |
|||||||||||||||||||||||