From a61fb5c6d6df1d70d98063aeab9904c4f3573f0d Mon Sep 17 00:00:00 2001 From: Riley McArdle Date: Thu, 28 Feb 2013 14:56:51 -0600 Subject: [PATCH] Fix issue MR-350 - VerifyDatabaseVersion (Config.Connections.Save) failed. Version string portion was too short or too long. --- CHANGELOG.TXT | 1 + mRemoteV1/Config/Config.Connections.Save.vb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.TXT b/CHANGELOG.TXT index 9715f7f8..4469f5da 100644 --- a/CHANGELOG.TXT +++ b/CHANGELOG.TXT @@ -1,6 +1,7 @@ Fixed issue MR-339 - Connection group collapses with just one click Fixed issue MR-340 - Object reference not set to an instance of an object. Fixed issue MR-344 - Move "Always show panel tabs" option + Fixed issue MR-350 - VerifyDatabaseVersion (Config.Connections.Save) failed. Version string portion was too short or too long. Fixed tabs not closing on double-click when the active tab is a PuTTY connection. 1.70 (2013-02-25): diff --git a/mRemoteV1/Config/Config.Connections.Save.vb b/mRemoteV1/Config/Config.Connections.Save.vb index 89ed5897..bdf6896f 100644 --- a/mRemoteV1/Config/Config.Connections.Save.vb +++ b/mRemoteV1/Config/Config.Connections.Save.vb @@ -80,7 +80,7 @@ Namespace Config If (Not sqlDataReader.HasRows) Then Return True ' assume new empty database sqlDataReader.Read() - databaseVersion = New System.Version(Convert.ToDouble(sqlDataReader.Item("confVersion"), CultureInfo.InvariantCulture)) + databaseVersion = New Version(Convert.ToString(sqlDataReader.Item("confVersion"), CultureInfo.InvariantCulture)) sqlDataReader.Close()