Failed to create compnent 'AXHost'.
Posted: Mon Sep 14, 2015 6:48 am
hi
I download trial version of TeechartActivex2015 and install it.
I create a simple project in vs2013 c++/cli and add this component successfull.
but often like now my form designer cant known teechart component and doesn't open my form design view and doesnt allow add other teechart component to another form.
strange thing is that in this situation if I Open new project , I can easily add teeChart component to form and dont occured any problem and i easily use this.
i have this error message in my project:
1-when i want open form designer that include teechart component i received this error message :
Message 103 C++ CodeDOM parser error: Line: 441, Column: 22 --- Unknown type 'AxTeeChart.AxTChart'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built. 0
2- when i want add teechart from toolbox to new form(in current project) i received this error message :
Failed to create component 'AxHost'. The error message follows:
'System.Reflection.ReflectionTypeLoadException: Unable to load on or more of the requested types. Retreive the LoaderExceptions property for more information.
at System.Windows.Forms.Design.DocumentDesigner.AxToolboxItem.CreateComponentsCore(IDesignerHost host) ....
one other strange is that in this project that designer is corrupted and has a problem with teechart component and doesnt open designer. if I Start Program , i can use teechart component in runtime. form shows teechart correctly and works fine.
finally I add errors snapshot for better understanding
thank you
I download trial version of TeechartActivex2015 and install it.
I create a simple project in vs2013 c++/cli and add this component successfull.
but often like now my form designer cant known teechart component and doesn't open my form design view and doesnt allow add other teechart component to another form.
strange thing is that in this situation if I Open new project , I can easily add teeChart component to form and dont occured any problem and i easily use this.
i have this error message in my project:
1-when i want open form designer that include teechart component i received this error message :
Message 103 C++ CodeDOM parser error: Line: 441, Column: 22 --- Unknown type 'AxTeeChart.AxTChart'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built. 0
2- when i want add teechart from toolbox to new form(in current project) i received this error message :
Failed to create component 'AxHost'. The error message follows:
'System.Reflection.ReflectionTypeLoadException: Unable to load on or more of the requested types. Retreive the LoaderExceptions property for more information.
at System.Windows.Forms.Design.DocumentDesigner.AxToolboxItem.CreateComponentsCore(IDesignerHost host) ....
one other strange is that in this project that designer is corrupted and has a problem with teechart component and doesnt open designer. if I Start Program , i can use teechart component in runtime. form shows teechart correctly and works fine.
finally I add errors snapshot for better understanding
thank you