Failed to create a 'System.Double' from the text '60 '. (Error in loading InitializeComponent)

Answered Failed to create a 'System.Double' from the text '60 '. (Error in loading InitializeComponent)

  • Sunday, March 06, 2011 4:25 AM
     
     

    Hello All

    Did anyone faced the below error and resolved  in a silverlight project

    Failed to create a 'System.Double' from the text '60 '. [Line: 516 Position: 30]. This happen in exactly in InitializeComponent method

    Please do share your suggestions.

    regards

    Dhinesh Kumar



All Replies

  • Sunday, March 06, 2011 4:44 AM
     
     Answered

    There seems to be a space in the '60 ', have you tried trimming the text first?

  • Sunday, March 06, 2011 12:00 PM
     
     

    Thank you, This is over the XAML layout a space is left out.I did the trim text of '60' now.

  • Thursday, April 26, 2012 3:04 AM
     
     

    how you solve it???

    i have the same problem