Difference between revisions of "InvalidCastException - Conversion from string "x.y" to type 'Double' is not valid"
From TimeSnapper
Atlioddsson (talk | contribs) m (Atlioddsson moved page InvalidCastException to InvalidCastException - Conversion from string "x.y" to type 'Double' is not valid) |
Atlioddsson (talk | contribs) |
||
Line 1: | Line 1: | ||
If you get a "Conversion from string "0.6" to type 'Double' is not valid" when opening the [[Day Browser]], follow these steps to fix the problem: | If you get a "Conversion from string "0.6" to type 'Double' is not valid" when opening the [[Day Browser]], follow these steps to fix the problem: | ||
+ | ---- | ||
This is related to the Day browsers Zoom level! Currently it set to 0.6 but due to regional settings changes (probably), it should be 0,6 (comma instead of a dot). | This is related to the Day browsers Zoom level! Currently it set to 0.6 but due to regional settings changes (probably), it should be 0,6 (comma instead of a dot). | ||
Line 20: | Line 21: | ||
Now you should be able to open the day browser again! | Now you should be able to open the day browser again! | ||
− | + | ---- | |
− | |||
− | |||
− | |||
− | |||
− | |||
ERROR: | ERROR: | ||
− | InvalidCastException (Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble) V3.9 | + | InvalidCastException (Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble) V3.9 |
− | Message=Conversion from string "0.6" to type 'Double' is not valid. | + | Message=Conversion from string "0.6" to type 'Double' is not valid. |
− | Data=System.Collections.ListDictionaryInternal | + | Data=System.Collections.ListDictionaryInternal |
− | InnerException=System.FormatException: Input string was not in a correct format. | + | InnerException=System.FormatException: Input string was not in a correct format. |
− | + | at Microsoft.VisualBasic.CompilerServices.Conversions.ParseDouble(String Value, NumberFormatInfo NumberFormat) | |
− | + | at Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(String Value, NumberFormatInfo NumberFormat) | |
− | Message=Input string was not in a correct format. | + | Message=Input string was not in a correct format. |
− | Data=System.Collections.ListDictionaryInternal | + | Data=System.Collections.ListDictionaryInternal |
− | Assemblies: | + | Assemblies: |
− | + | mscorlib, 2.0.0.0 | |
− | + | TimeSnapper, 3.9.0.3 | |
− | + | System.Windows.Forms, 2.0.0.0 | |
− | + | System, 2.0.0.0 | |
− | + | System.Drawing, 2.0.0.0 | |
− | + | Microsoft.VisualBasic, 8.0.0.0 | |
− | + | System.Xml, 2.0.0.0 | |
− | + | TSLib, 1.0.5703.17933 | |
− | + | FirebirdSql.Data.FirebirdClient, 2.1.0.0 | |
− | + | System.Data, 2.0.0.0 | |
− | + | System.Transactions, 2.0.0.0 | |
− | + | FB_965910463_Assembly, 0.0.0.0 | |
− | + | System.Configuration, 2.0.0.0 | |
− | + | System.EnterpriseServices, 2.0.0.0 | |
− | + | System.Deployment, 2.0.0.0 | |
− | + | TSControls, 1.0.5703.17932 | |
− | + | ITimeSnapperPlugIn, 1.0.5703.17931 | |
− | + | AnimatedGifPlugin, 1.0.0.0 | |
− | + | reqfdfij, 1.0.0.0 | |
− | + | System.Management, 2.0.0.0 | |
− | + | Accessibility, 2.0.0.0 | |
− | + | BugzScoutDotNet, 1.0.3481.18143 |
Latest revision as of 15:40, 5 April 2019
If you get a "Conversion from string "0.6" to type 'Double' is not valid" when opening the Day Browser, follow these steps to fix the problem:
This is related to the Day browsers Zoom level! Currently it set to 0.6 but due to regional settings changes (probably), it should be 0,6 (comma instead of a dot).
To fix it, follow the following steps:
Restart TimeSnapper
Go to Help -> About
Right click the TimeSnapper logo and select "Run Command"
Paste in the following line into the dialog box that just opened:
Update options set val = '1' where name = 'DayBrowserZoomLevel'
And click OK.
Now you should be able to open the day browser again!
ERROR:
InvalidCastException (Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble) V3.9 Message=Conversion from string "0.6" to type 'Double' is not valid. Data=System.Collections.ListDictionaryInternal InnerException=System.FormatException: Input string was not in a correct format. at Microsoft.VisualBasic.CompilerServices.Conversions.ParseDouble(String Value, NumberFormatInfo NumberFormat) at Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(String Value, NumberFormatInfo NumberFormat)
Message=Input string was not in a correct format. Data=System.Collections.ListDictionaryInternal
Assemblies: mscorlib, 2.0.0.0 TimeSnapper, 3.9.0.3 System.Windows.Forms, 2.0.0.0 System, 2.0.0.0 System.Drawing, 2.0.0.0 Microsoft.VisualBasic, 8.0.0.0 System.Xml, 2.0.0.0 TSLib, 1.0.5703.17933 FirebirdSql.Data.FirebirdClient, 2.1.0.0 System.Data, 2.0.0.0 System.Transactions, 2.0.0.0 FB_965910463_Assembly, 0.0.0.0 System.Configuration, 2.0.0.0 System.EnterpriseServices, 2.0.0.0 System.Deployment, 2.0.0.0 TSControls, 1.0.5703.17932 ITimeSnapperPlugIn, 1.0.5703.17931 AnimatedGifPlugin, 1.0.0.0 reqfdfij, 1.0.0.0 System.Management, 2.0.0.0 Accessibility, 2.0.0.0 BugzScoutDotNet, 1.0.3481.18143