I get an unhandled error "input string was not in a correct format" when I try to run the upgrade utililty. It appears when the tool loads up, before I choose my project. I've tried in two different pc's - same error. If I continue I can select my project but I cannot select version to upgrade to (the dropdown isnt visible), and when I click to upgrade it gives me error message to select version number.
Can I upgrade manually?
Ah, I found out how to do the manual upgrade. To easy :-) ... But perhaps you could answer why the tool didnt work.
Hi,
I have met the same bug when starting the Project Upgrade Utility.
In the load event, the application tries to get installed Infragistics versions by querying the registry and then throw an exception saying that the number (version number?) is not in the correct format. Here is the end of the stack trace displayed by the .Net Framework:
System.FormatException: Input string was not in a correct format. at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) at System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt) at System.Double.Parse(String s, NumberStyles style, NumberFormatInfo info) at UpgradeToolBase.RegBrowser.CreateVersion(String parentName, String keyName, String installDir, String clrVersion) at UpgradeToolBase.RegBrowser.GetVersions(RegistryKey versionKey) at UpgradeToolBase.RegBrowser.GetVersions() at UpgradeTool.UpgradeForm.UpgradeForm_Load(Object sender, EventArgs e) at System.EventHandler.Invoke(Object sender, EventArgs e) at System.Windows.Forms.Form.OnLoad(EventArgs e)
If I hit the 'Continue' button, the windows is displayed but without the version combo box.
How can I fix this error to allow project upgrades?
Thanks.
I'm not sure that there's going to be a solution or workaround to this, as the bug seems to be in the code itself for the utility. You should submit this issue to Developer Support; perhaps it was fixed by the 8.2 release. As for a quick way to upgrade projects, assuming that you have a Windows project that you need to update, you can just open the csproj/vbproj file in Notepad and to a Find/Replace for the version numbers; for example, I might do a search for 'v7.3' and replace it with 'v8.1'.
-Matt
Hi
I'm experiencing the same problem. Please could you provide some solution or a workaround for this.
Thanks