This is a migrated thread and some comments may be shown as answers.

ASAP Upgrade problem

3 Answers 118 Views
Chart (obsolete as of Q1 2013)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Chris Lynch
Top achievements
Rank 1
Chris Lynch asked on 16 Nov 2010, 12:57 AM

After updating project form 2010.1.10.504 to  2010.3.10.1109  with wizard I get the follow call stack error when navigating to forms with
charts. I tried cleaning  project  and restarting VS but no luck.


Object of type 'Telerik.Charting.Styles.Unit' cannot be converted to type 'Telerik.Charting.Styles.Unit'.

 

at System.ComponentModel.ReflectPropertyDescriptor.SetValue(Object component, Object value)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializePropertyAssignStatement(IDesignerSerializationManager manager, CodeAssignStatement statement, CodePropertyReferenceExpression propertyReferenceEx, Boolean reportError)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeAssignStatement(IDesignerSerializationManager manager, CodeAssignStatement statement)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeStatement(IDesignerSerializationManager manager, CodeStatement statement)

3 Answers, 1 is accepted

Sort by
0
Richard Slade
Top achievements
Rank 2
answered on 16 Nov 2010, 04:33 PM
Hello Chris,

I have tried to replicate your issue, but I'm unable to do so. All of our charts run correctly following the upgrade. Have you ensured that you have updated the assembly references to point to the upgraded Telerik Dlls, either manually or via the Project Update Utility?

Let me know if I can help further
Richard
0
Chris Lynch
Top achievements
Rank 1
answered on 16 Nov 2010, 05:59 PM

Yes the do have assembly references pointing correctly
 FYI what I did to get past CALL STACK errors was manually comment out the all lines in the Forms designer.vb
'Telerik.Charting.Styles.Unit' 

      'ChartMarginsTitle2.Bottom = CType(resources.GetObject("ChartMarginsTitle2.Bottom"), Telerik.Charting.Styles.Unit)

        'ChartMarginsTitle2.Left = CType(resources.GetObject("ChartMarginsTitle2.Left"), Telerik.Charting.Styles.Unit)

 

0
Richard Slade
Top achievements
Rank 2
answered on 16 Nov 2010, 06:03 PM
Hi Chris,

I'm gald you found the solution to your issue. Let me know if there's anything other issues
richard
Tags
Chart (obsolete as of Q1 2013)
Asked by
Chris Lynch
Top achievements
Rank 1
Answers by
Richard Slade
Top achievements
Rank 2
Chris Lynch
Top achievements
Rank 1
Share this question
or