Hello ,
When I run the Project Upgrade Utility, I get a runtime exception as follows:
************** Özel Durum Metni **************System.ArgumentOutOfRangeException: Dizin ve uzunluk, dize içinde bir konuma başvurmalıdır.Parametre adı: length konum: System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy) konum: UpgradeToolBase.RegBrowser.CreateVersion(String parentName, String keyName, String installDir, String clrVersion) konum: UpgradeToolBase.RegBrowser.GetVersions(RegistryKey versionKey) konum: UpgradeToolBase.RegBrowser.GetVersions() konum: UpgradeTool.UpgradeForm.UpgradeForm_Load(Object sender, EventArgs e) konum: System.EventHandler.Invoke(Object sender, EventArgs e) konum: System.Windows.Forms.Form.OnLoad(EventArgs e) konum: System.Windows.Forms.Form.OnCreateControl() konum: System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) konum: System.Windows.Forms.Control.CreateControl() konum: System.Windows.Forms.Control.WmShowWindow(Message& m) konum: System.Windows.Forms.Control.WndProc(Message& m) konum: System.Windows.Forms.ScrollableControl.WndProc(Message& m) konum: System.Windows.Forms.ContainerControl.WndProc(Message& m) konum: System.Windows.Forms.Form.WmShowWindow(Message& m) konum: System.Windows.Forms.Form.WndProc(Message& m) konum: System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) konum: System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) konum: System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)************** Yüklü Derlemeler **************mscorlib Derleme Sürümü: 2.0.0.0 Win32 Sürümü: 2.0.50727.4200 (NetFxQFE.050727-4200) CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll----------------------------------------UpgradeUtility2 Derleme Sürümü: 10.1.20101.1011 Win32 Sürümü: 10.1.20101.1011 CodeBase: file:///D:/Program%20Files/Infragistics/NetAdvantage%202010.1/ASP.NET/Project%20Upgrade%20Utility/UpgradeUtility2.exe----------------------------------------mscorlib.resources Derleme Sürümü: 2.0.0.0 Win32 Sürümü: 2.0.50727.4200 (NetFxQFE.050727-4200) CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll----------------------------------------System.Windows.Forms Derleme Sürümü: 2.0.0.0 Win32 Sürümü: 2.0.50727.4016 (NetFxQFE.050727-4000) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll----------------------------------------System Derleme Sürümü: 2.0.0.0 Win32 Sürümü: 2.0.50727.4016 (NetFxQFE.050727-4000) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll----------------------------------------System.Drawing Derleme Sürümü: 2.0.0.0 Win32 Sürümü: 2.0.50727.4016 (NetFxQFE.050727-4000) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll----------------------------------------UpgradeToolBase2 Derleme Sürümü: 10.1.20101.1011 Win32 Sürümü: 10.1.20101.1011 CodeBase: file:///D:/Program%20Files/Infragistics/NetAdvantage%202010.1/ASP.NET/Project%20Upgrade%20Utility/UpgradeToolBase2.DLL----------------------------------------Argument Parser2 Derleme Sürümü: 10.1.20101.1011 Win32 Sürümü: 10.1.20101.1011 CodeBase: file:///D:/Program%20Files/Infragistics/NetAdvantage%202010.1/ASP.NET/Project%20Upgrade%20Utility/Argument%20Parser2.DLL----------------------------------------Infragistics.Win.UltraWinGrid.v5.1 Derleme Sürümü: 5.1.20051.1068 Win32 Sürümü: 5.1.20051.1068 CodeBase: file:///D:/Program%20Files/Infragistics/NetAdvantage%202010.1/ASP.NET/Project%20Upgrade%20Utility/Infragistics.Win.UltraWinGrid.v5.1.DLL----------------------------------------Infragistics.Win.v5.1 Derleme Sürümü: 5.1.20051.1068 Win32 Sürümü: 5.1.20051.1068 CodeBase: file:///D:/Program%20Files/Infragistics/NetAdvantage%202010.1/ASP.NET/Project%20Upgrade%20Utility/Infragistics.Win.v5.1.DLL----------------------------------------Infragistics.Shared.v5.1 Derleme Sürümü: 5.1.20051.1068 Win32 Sürümü: 5.1.20051.1068 CodeBase: file:///D:/Program%20Files/Infragistics/NetAdvantage%202010.1/ASP.NET/Project%20Upgrade%20Utility/Infragistics.Shared.v5.1.DLL----------------------------------------System.Data Derleme Sürümü: 2.0.0.0 Win32 Sürümü: 2.0.50727.4016 (NetFxQFE.050727-4000) CodeBase: file:///C:/Windows/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll----------------------------------------System.Xml Derleme Sürümü: 2.0.0.0 Win32 Sürümü: 2.0.50727.4016 (NetFxQFE.050727-4000) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll----------------------------------------Infragistics.Win.UltraWinToolbars.v5.1 Derleme Sürümü: 5.1.20051.1068 Win32 Sürümü: 5.1.20051.1068 CodeBase: file:///D:/Program%20Files/Infragistics/NetAdvantage%202010.1/ASP.NET/Project%20Upgrade%20Utility/Infragistics.Win.UltraWinToolbars.v5.1.DLL----------------------------------------Infragistics.Win.Misc.v5.1 Derleme Sürümü: 5.1.20051.1068 Win32 Sürümü: 5.1.20051.1068 CodeBase: file:///D:/Program%20Files/Infragistics/NetAdvantage%202010.1/ASP.NET/Project%20Upgrade%20Utility/Infragistics.Win.Misc.v5.1.DLL----------------------------------------Accessibility Derleme Sürümü: 2.0.0.0 Win32 Sürümü: 2.0.50727.4016 (NetFxQFE.050727-4000) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll----------------------------------------System.Design Derleme Sürümü: 2.0.0.0 Win32 Sürümü: 2.0.50727.4016 (NetFxQFE.050727-4000) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll----------------------------------------System.Windows.Forms.resources Derleme Sürümü: 2.0.0.0 Win32 Sürümü: 2.0.50727.4016 (NetFxQFE.050727-4000) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_tr_b77a5c561934e089/System.Windows.Forms.resources.dll----------------------------------------************** JIT Hata Ayıklama **************JIT hata ayıklamayı etkinleştirmek için, bu uygulamanın veyabilgisayarın (machine.config) .config dosyasındasystem.windows.forms bölümünde jitDebugging değeri ayarlanmış olmalıdır.Ayrıca uygulama hata ayıklama etkin durumdayken derlenmişolmalıdır.Örneğin:<configuration> <system.windows.forms jitDebugging="true" /></configuration>JIT hata ayıklama etkinken, işlenmemiş özel durumlarbu iletişim kutusunda işlenmek yerine bilgisayarda kayıtlıJIT hata ayıklayıcısına gönderilir.
Hello , This is known issue and is already solved in the latest service release. Please download the latest service release and test the project upgrade utility at your side. You can also contact with Developer Support to confirm it and provide you more information.I hope this helps.Sincerely,DimiDeveloper Support EngineerInfragistics, Inc.
I installed the service release and this did not resolve the issue. I still get unsuccessful for VS 2010.
Hello hkazaz, If you want to upgrade your project manually I am suggesting you to go over the details here: http://help.infragistics.com/Help/NetAdvantage/NET/2008.3/CLR3.5/html/Web_Upgrading_a_Project_Manually_CLR2.htmlyou can also find more details about the upgrading options on our site:http://help.infragistics.com/Help/NetAdvantage/NET/2008.3/CLR3.5/html/Web_Upgrading_Your_ASP_NET_Projects.html
I hope this helps.Sincerely,DimiDeveloper Support EngineerInfragistics, Inc.
Hello Dimi,
I am too novice. For updating manually, what directory and files I should update, and what lines should I replace and what lines should I not replace?? or if you navigate me a document I will appreciate.
Thank you
Hello hkazaz, You can upgrade your project manually ether using the project upgrade utility. The error you are getting was solved in the latest service release and was observed in machines with non Us regional settings. Switching to Us culture will avoid this error. Did you get the same behavior after you install the service release?You can also update your project manually by replacing the dll’s with the new one and check your project for all specific version occurrences in the web config and web page, if there are pointed any old dll’s and change it with the new version. I hope this is solving your issue.Sincerely,DimiDeveloper Support EngineerInfragistics, Inc.
I did find a source code developed with Infra.v9.1 ultrawebgrid, and want to upgrade to vol10.1 , the release which I have. May be the main question is that one, sothat I can upgrade it by not using upgrade util, maybe by using another way.
Hello, Did you get the same exception (ArgumentOutOfRangeException) when run the Project Upgrade Utility? If not,then what kind of exception you get? Also since you upgrade project in VS 2010, from which version of the VS and Infragistics you try to upgrade? Sincerely,DimiDeveloper Support EngineerInfragistics, Inc.