We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Migration from 3.2 to 4.2

Hi,

We are working on migrating our windows application from .NET 1.1 to .NET 2.0. For implementation of the same we are also migrating from SyncFusion 3.2 to 4.2.

However for one of the modules we get the following error. Can you please shed some light on this? Thank you!

Regards,
Preetam

------------------------------------------

ERROR:

We had this module which used Syncfusion.Windows.Forms.Chart.Chart working on SyncFusion 3.2. The errors cropped up only when we changes the underlying environment to 4.2. The error is as follows:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.OverflowException: Overflow error.
at System.Drawing.Graphics.CheckErrorStatus(Int32 status)
at System.Drawing.Graphics.DrawLine(Pen pen, Single x1, Single y1, Single x2, Single y2)
at System.Drawing.Graphics.DrawLine(Pen pen, PointF pt1, PointF pt2)
at Syncfusion.Windows.Forms.Chart.Renderers.LineRenderer.Render(Graphics g, Int32 from, Int32 count)
at Syncfusion.Windows.Forms.Chart.Renderers.LineRenderer.Render(Graphics g)
at Syncfusion.Windows.Forms.Chart.ChartSeriesCollection.DrawSeries(Graphics g, IChartAreaHost chart)
at Syncfusion.Windows.Forms.Chart.ChartArea.Draw2D(PaintEventArgs e)
at Syncfusion.Windows.Forms.Chart.ChartArea.Draw(PaintEventArgs e)
at Syncfusion.Windows.Forms.Chart.ChartControl._Paint(Graphics g)
at Syncfusion.Windows.Forms.Chart.ChartControl.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
MorganStanley.EQR.Modelware.AD.COMConnector
Assembly Version: 1.0.2529.32529
Win32 Version: 1.0.2529.32529
CodeBase: file:///C:/dev/eqr/analystdesktop/dev/src/MorganStanley.EQR.Modelware.AD.COMConnector/bin/Debug/MorganStanley.EQR.Modelware.AD.COMConnector.DLL
----------------------------------------
Morganstanley.EQR.Modelware.COMConnector
Assembly Version: 2.0.2.0
Win32 Version: 2.0.2.0
CodeBase: file:///C:/dev/eqr/analystdesktop/dev/src/MorganStanley.EQR.Modelware.AD.COMConnector/bin/Debug/Morganstanley.EQR.Modelware.COMConnector.DLL
----------------------------------------
MorganStanley.EQR.Modelware
Assembly Version: 5.2.0.0
Win32 Version: 5.2.0.0
CodeBase: file:///C:/dev/eqr/analystdesktop/dev/src/MorganStanley.EQR.Modelware.AD.COMConnector/bin/Debug/MorganStanley.EQR.Modelware.DLL
----------------------------------------
MorganStanley.EQR.Modelware.AD.Common
Assembly Version: 1.0.2529.27982
Win32 Version: 1.0.2529.27982
CodeBase: file:///C:/dev/eqr/analystdesktop/dev/src/MorganStanley.EQR.Modelware.AD.COMConnector/bin/Debug/MorganStanley.EQR.Modelware.AD.Common.DLL
----------------------------------------
MorganStanley.EQR.Modelware.AD.Core
Assembly Version: 1.0.2529.27986
Win32 Version: 1.0.2529.27986
CodeBase: file:///C:/dev/eqr/analystdesktop/dev/src/MorganStanley.EQR.Modelware.AD.COMConnector/bin/Debug/MorganStanley.EQR.Modelware.AD.Core.DLL
----------------------------------------
Microsoft.Office.Interop.Excel
Assembly Version: 11.0.0.0
Win32 Version: 11.0.5530
CodeBase: file:///C:/windows/assembly/GAC/Microsoft.Office.Interop.Excel/11.0.0.0__71e9bce111e9429c/Microsoft.Office.Interop.Excel.dll
----------------------------------------
office
Assembly Version: 11.0.0.0
Win32 Version: 11.0.5530
CodeBase: file:///C:/windows/assembly/GAC/office/11.0.0.0__71e9bce111e9429c/office.dll
----------------------------------------
MorganStanley.EQR.Modelware.DataQuality
Assembly Version: 1.0.2529.27987
Win32 Version: 1.0.2529.27987
CodeBase: file:///C:/dev/eqr/analystdesktop/dev/src/MorganStanley.EQR.Modelware.AD.COMConnector/bin/Debug/MorganStanley.EQR.Modelware.DataQuality.DLL
----------------------------------------
MorganStanley.EQR.Modelware.AD
Assembly Version: 2.0.2529.32528
Win32 Version: 2.0.2529.32528
CodeBase: file:///C:/dev/eqr/analystdesktop/dev/src/MorganStanley.EQR.Modelware.AD.COMConnector/bin/Debug/MorganStanley.EQR.Modelware.AD.DLL
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
MSDotNet.Runtime
Assembly Version: 0.4.0.0
Win32 Version: 0.4.0.0
CodeBase: file:///C:/dev/eqr/analystdesktop/dev/src/MorganStanley.EQR.Modelware.AD.COMConnector/bin/Debug/MSDotNet.Runtime.DLL
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
MSDotNet.RuntimeImpl
Assembly Version: 0.4.1.24908
Win32 Version: 0.4.1.24908
CodeBase: file:///C:/Documents%20and%20Settings/All%20Users/Application%20Data/Morgan%20Stanley/ModelWare/ModelwareSharedComponents/Bin/MSDotNet.RuntimeImpl.0.4.dll
----------------------------------------
MSDotNet.MSNet
Assembly Version: 1.0.4.21851
Win32 Version: 1.0.4.21851
CodeBase: file:///p:/dist/msdotnet/msnet/1.0.4/assemblies/MSDotNet.MSNet.1.0.dll
----------------------------------------
MSDotNet.MSSoap
Assembly Version: 1.0.7.24630
Win32 Version: 1.0.7.24630
CodeBase: file:///p:/dist/msdotnet/mssoap/1.0.7/assemblies/MSDotNet.MSSoap.1.0.dll
----------------------------------------
MSDotNet.MSTools
Assembly Version: 0.4.3.18292
Win32 Version: 0.4.3.18292
CodeBase: file:///p:/dist/msdotnet/mstools/0.4.3/assemblies/MSDotNet.MSTools.0.4.dll
----------------------------------------
MSDotNet.MSLog
Assembly Version: 0.4.12.24422
Win32 Version: 0.4.12.24422
CodeBase: file:///p:/dist/msdotnet/mslog/0.4.12/assemblies/MSDotNet.MSLog.0.4.dll
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/windows/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
CustomMarshalers
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/windows/assembly/GAC_32/CustomMarshalers/2.0.0.0__b03f5f7f11d50a3a/CustomMarshalers.dll
----------------------------------------
MorganStanley.EQR.Modelware.Util.Excel
Assembly Version: 1.0.2524.26360
Win32 Version: 1.0.2524.26360
CodeBase: file:///C:/dev/eqr/analystdesktop/dev/src/MorganStanley.EQR.Modelware.AD.COMConnector/bin/Debug/MorganStanley.EQR.Modelware.Util.Excel.DLL
----------------------------------------
Syncfusion.Shared.Base
Assembly Version: 4.202.0.37
Win32 Version: 4.202.0.37
CodeBase: file:///C:/windows/assembly/GAC_MSIL/Syncfusion.Shared.Base/4.202.0.37__3d67ed1f87d44c89/Syncfusion.Shared.Base.dll
----------------------------------------
Syncfusion.Tools.Windows
Assembly Version: 4.202.0.37
Win32 Version: 4.202.0.37
CodeBase: file:///C:/windows/assembly/GAC_MSIL/Syncfusion.Tools.Windows/4.202.0.37__3d67ed1f87d44c89/Syncfusion.Tools.Windows.dll
----------------------------------------
Syncfusion.Core
Assembly Version: 4.202.0.37
Win32 Version: 4.202.0.37
CodeBase: file:///C:/windows/assembly/GAC_MSIL/Syncfusion.Core/4.202.0.37__632609b4d040f6b4/Syncfusion.Core.dll
----------------------------------------
Syncfusion.Grid.Windows
Assembly Version: 4.202.0.37
Win32 Version: 4.202.0.37
CodeBase: file:///C:/windows/assembly/GAC_MSIL/Syncfusion.Grid.Windows/4.202.0.37__3d67ed1f87d44c89/Syncfusion.Grid.Windows.dll
----------------------------------------
System.Runtime.Serialization.Formatters.Soap
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Runtime.Serialization.Formatters.Soap/2.0.0.0__b03f5f7f11d50a3a/System.Runtime.Serialization.Formatters.Soap.dll
----------------------------------------
MorganStanley.EQR.Modelware.HierarchicalGridControl
Assembly Version: 1.0.2525.17125
Win32 Version: 1.0.2525.17125
CodeBase: file:///C:/dev/eqr/analystdesktop/dev/src/MorganStanley.EQR.Modelware.AD.COMConnector/bin/Debug/MorganStanley.EQR.Modelware.HierarchicalGridControl.DLL
----------------------------------------
Syncfusion.Chart.Windows
Assembly Version: 4.202.0.37
Win32 Version: 4.202.0.37
CodeBase: file:///C:/windows/assembly/GAC_MSIL/Syncfusion.Chart.Windows/4.202.0.37__3d67ed1f87d44c89/Syncfusion.Chart.Windows.dll
----------------------------------------
Syncfusion.Chart.Base
Assembly Version: 4.202.0.37
Win32 Version: 4.202.0.37
CodeBase: file:///C:/windows/assembly/GAC_MSIL/Syncfusion.Chart.Base/4.202.0.37__3d67ed1f87d44c89/Syncfusion.Chart.Base.dll
----------------------------------------
Syncfusion.Grouping.Base
Assembly Version: 4.202.0.37
Win32 Version: 4.202.0.37
CodeBase: file:///C:/windows/assembly/GAC_MSIL/Syncfusion.Grouping.Base/4.202.0.37__3d67ed1f87d44c89/Syncfusion.Grouping.Base.dll
----------------------------------------
MSDotNet.MSXml
Assembly Version: 0.3.4.18344
Win32 Version: 0.3.4.18344
CodeBase: file:///p:/dist/msdotnet/msxml/0.3.4/assemblies/MSDotNet.MSXml.0.3.dll
----------------------------------------
System.Data.SqlXml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Data.SqlXml/2.0.0.0__b77a5c561934e089/System.Data.SqlXml.dll
----------------------------------------
System.Xml.Xsl.CompiledQuery.1
Assembly Version: 0.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Data.SqlXml/2.0.0.0__b77a5c561934e089/System.Data.SqlXml.dll
----------------------------------------

10 Replies

AD Administrator Syncfusion Team December 5, 2006 12:10 AM UTC

Hi,

Sorry for the inconvenience caused.

We are looking into it and will update you with in a day.

Thanks for using Syncfusion products.

Regards,
Sureshbabu


P& Pushkar & Preetam December 5, 2006 05:18 AM UTC

Hi...

Can u suggest for workarounds if any?

Regards...

>Hi,

Sorry for the inconvenience caused.

We are looking into it and will update you with in a day.

Thanks for using Syncfusion products.

Regards,
Sureshbabu


PA Patya December 5, 2006 10:09 AM UTC

Hi,

We found that while using the Syncfusion 3.2 we are able to see the chart, but it is empty because there is no data. In case of Syncfusion 4.2, same is giving the previously mentioned exception. It seems like this is a bug related to v4.2 which is not able to handle the empty chart.

With proper data, the charts are displayed properly even in v4.2.

Please let us know if you have any patch related to this bug so that we can fix this issue at the earliest.

Awaiting rush revert...

Thanks,
Preetam


AD Administrator Syncfusion Team December 5, 2006 06:05 PM UTC

Hi,

Sorry for the delay in my response.

I am unable to reproduce the mentioned issue.

Can you please tell me exact version which you are using like 3.2.1.0 and 4.2.0.37 with steps to reproduce issue?

If possible send me a sample which reproduces the issue.

Thanks for your patience.

Regards,
Sureshbabu


AD Administrator Syncfusion Team December 6, 2006 05:01 AM UTC

Hi Sureshbabu,

We are using 4.2.0.37 with .NET 2.0 Fx.
Can u pls try now to reproduce it in this environment as we strongly feel its not handling the empty chart case.

In the mean time we will try creating a sample application reproducing this case at our end too.

regards,
Preetam

>Hi,

Sorry for the delay in my response.

I am unable to reproduce the mentioned issue.

Can you please tell me exact version which you are using like 3.2.1.0 and 4.2.0.37 with steps to reproduce issue?

If possible send me a sample which reproduces the issue.

Thanks for your patience.

Regards,
Sureshbabu


AD Administrator Syncfusion Team December 6, 2006 05:42 AM UTC

Hi Sureshbabu,

I have reproduced the problem in the samle that Syncfusion provides in the documentation. Pls find attached the same and try running it in VS 2005 env. Have put some comments in the initialise method for ur reference too.

Please let me know any workaround for this as early as possible. This has help up our entire migration.

Thanks and regards,
Preetam

>Hi Sureshbabu,

We are using 4.2.0.37 with .NET 2.0 Fx.
Can u pls try now to reproduce it in this environment as we strongly feel its not handling the empty chart case.

In the mean time we will try creating a sample application reproducing this case at our end too.

regards,
Preetam

>Hi,

Sorry for the delay in my response.

I am unable to reproduce the mentioned issue.

Can you please tell me exact version which you are using like 3.2.1.0 and 4.2.0.37 with steps to reproduce issue?

If possible send me a sample which reproduces the issue.

Thanks for your patience.

Regards,
Sureshbabu

sample chart in 2005.zip


AD Administrator Syncfusion Team December 7, 2006 12:45 AM UTC

Hi Preetam,

I regret for the delay in my response.

I am looking into this issue. Please give me one day to update you.

Thanks for using Syncfusion products.

Regards,
Sureshbabu


AD Administrator Syncfusion Team December 12, 2006 02:10 AM UTC

Hi,

I am really sorry for the inconvenience caused and the delayed response.

If you are migrating to a newer version of Essential Studio from an earlier version, in most cases you will need to migrate the .ResX files.

Please follow the steps below:

First Check for multiple versions. If so uninstall version 3.2. And delete assemblies folder from “[install Drive]:\Program Files\Syncfusion\Essential Studio\Assemblies”. Run 4.2.0.37 Assembly Manager.

Steps to Convert .Resx File:

You could use the utility ConvertResX from this location: "[Install Drive]:\Program Files\Syncfusion\Essential Studio\4.2.0.37\Utilities\Migration\2.0\ConvertResX.exe".

1. The BaseVersion entry is the version number of your currently installed Syncfusion assemblies. You can see this version number in your .NET GAC folder: “[Install Drive]:\Windows\assembly”.
2. Click the Choose ResX Files To Convert button and select the .resx files you want to convert.
3. Click the Start converting Files button.
4. After the conversion, the new .resx files will have the same name as the original files. Copies of the original files will be present with a .OLD suffix added to their names.
5. Now, you have the converted .Resx file for the newer version.

For your reference see the attached screen shot
convertresx.zip
Check for the references whether they points to [Install Drive]:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PublicAssemblies. Set 'Copy Local' property of Syncfusion references to 'false'. Set 'Specific Version' property of Syncfusion references to 'false'.

Let me know if this helps.

Thanks for your continued interest in Syncfusion products.

Regards,
Sureshbabu


AD Administrator Syncfusion Team December 15, 2006 05:07 AM UTC

Hi..

I tried converting the .resx files for 2.0 Fx in the sample application provided but did not help. Pls advice.

Regards,
Preetam

>Hi,

I am really sorry for the inconvenience caused and the delayed response.

If you are migrating to a newer version of Essential Studio from an earlier version, in most cases you will need to migrate the .ResX files.

Please follow the steps below:

First Check for multiple versions. If so uninstall version 3.2. And delete assemblies folder from “[install Drive]:\Program Files\Syncfusion\Essential Studio\Assemblies”. Run 4.2.0.37 Assembly Manager.

Steps to Convert .Resx File:

You could use the utility ConvertResX from this location: "[Install Drive]:\Program Files\Syncfusion\Essential Studio\4.2.0.37\Utilities\Migration\2.0\ConvertResX.exe".

1. The BaseVersion entry is the version number of your currently installed Syncfusion assemblies. You can see this version number in your .NET GAC folder: “[Install Drive]:\Windows\assembly”.
2. Click the Choose ResX Files To Convert button and select the .resx files you want to convert.
3. Click the Start converting Files button.
4. After the conversion, the new .resx files will have the same name as the original files. Copies of the original files will be present with a .OLD suffix added to their names.
5. Now, you have the converted .Resx file for the newer version.

For your reference see the attached screen shot
convertresx.zip
Check for the references whether they points to [Install Drive]:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PublicAssemblies. Set 'Copy Local' property of Syncfusion references to 'false'. Set 'Specific Version' property of Syncfusion references to 'false'.

Let me know if this helps.

Thanks for your continued interest in Syncfusion products.

Regards,
Sureshbabu


AD Administrator Syncfusion Team December 16, 2006 05:08 AM UTC

Hi Preetam,

I regret very much for my delayed response.

Here is a workaround sample attached which will help you to create an Empty chart. Please have a look into this sample.

Empty Chart sample

Please let me know if this helps.

Thanks for your patience

Best Regards,
Sureshbabu

Loader.
Live Chat Icon For mobile
Up arrow icon