The application I'm working on was originally coded in VB.net 2003. It was migrated to VS 2005 and since the infragistics controls have also been upgraded to NetAdvantage 2005 Volume 2.
The program compiles sucessfully, but when I run the program and attempt to open the form containing the UltraWinChart.UltraChart, it brings the application down.
The control UltraWinChart is placed in a UserControl which at run time is added to a UltraTabControl.
I created a new UserControl in a blank new windows application and added this dynamically at run time. This seems to work fine by itself in this application, but if I integrate this control in the original application, it still fails.
The references added are:
Infragistics.Win.v5.2
Infragistics.Win.UltraWinChart.v5.2
Infragistics.Shared.v5.2
Infragistics.Win.Misc.v5.2
Infragistics.Win.UltraWinTabControl.v5.2
and some more for addition controls.
The original application was referencing Infragistics.UltraChart.Core.v4.1.dll plus .Data and .Resources dll's and I don't see corresponding Dll's for v5.2.
Has anyone else ran into these problems? Any ideas on how to resolve this?
NetAdvantage 2005 Volume 2 wasn't updated for use with Visual Studio 2005. Though most of the problems I've personally seen have been design-time issues, it's possible that you may be hitting a simple runtime incompatibility between this version of the tooset and version 2.0 of the .NET Framework.
Does the same problem occur in later versions of the toolset? I suggest that you download a trial version of NetAdvantage Win Client 2008 Volume 3 to test there.
I now have infragistics NetAdvantage 2005 volume 3 installed. I upgraded the VB.net project with the project upgrade utility which indicated the upgrade as successful with no errors.
But when I run the program and attempt to open the form that holds the UltraChart, the application closes again. It does not allow me to step in the code to find out where it fails. Although I did notice that it fails when trying to initialize the component.
In Visual Studio 2003 the version for Ultrachart was: Infragistics.Win.UltraWinChart.v4.1.dll. The ugradeed project references Infragistics2.Win.UltraWinChart.v5.3.dll
Thanks
I don't think there's enough information to tell whether this is a bug in our controls or something specific to the project.
Can you reproduce the problem using NetAdvantage Win Client 2008 Volume 3, our most recent release? NetAdvantage 2005 Volume 3 is no longer eligible for maintenance, so anything not fixed in the hot fix posted won't be addressed in this version. Our more recent releases, on the other hand, are still eligible for both maintenance and support.
If using NetAdvantage Win Client 2008 Volume 3 fixes the issue, then this was likely a bug that we've fixed or otherwise worked around.
If it doesn't address the problem, then we'll likely need to look into this in more depth. In this situation, please submit a support request so that we can investigate this more in-depth. The more information you can provide in your support request, the better. We normally ask for sample projects whenever possible, though I expect this would be very difficult to reproduce in a sample.
New Info...The problem in my application was an external DLL. After a function-call in this dll UltraWinChart crashes. I have no idea why, but my solution is to change the dll function...
Ok, I can reproduce this problem under several operation systems. Under XP and visual studio 2008 (Infragistics V9.1 and V10.2) the application is closed without every message or error logs. I test it under Vista and I get the following error details:Problemsignatur:Problemereignisname: APPCRASHAnwendungsname: GBBPlan_NET_QuadPower-Vista.exeAnwendungsversion: 1.0.0.0Anwendungszeitstempel: 4c3c2a11Fehlermodulname: ntdll.dllFehlermodulversion: 6.0.6001.18000Fehlermodulzeitstempel: 4791a7a6Ausnahmecode: c0000005Ausnahmeoffset: 0003d02bBetriebsystemversion: 6.0.6001.2.1.0.768.2Gebietsschema-ID: 1031Zusatzinformation 1: bfefZusatzinformation 2: e8adce1c2b9e7be834b4063ac3c53863Zusatzinformation 3: bfefZusatzinformation 4: e8adce1c2b9e7be834b4063ac3c53863
The error occurs if the chart is created:this.ultraChart1 = new Infragistics.Win.UltraWinChart.UltraChart();
That it at this time...
We'll need more information to determine what's happening here. We were never able to reproduce this behavior in the past, to my knowledge.
Some things to look for: What's the operating system to which you're deploying? What kind of error message is displayed; do you get any kind of stack trace? Does the application run successfully with every attempt to execute other than the first, or is there a pattern to the error message other than "it fails the first time only?"
Given that this is likely to take some in-depth research, it is likely to save both you and us some time in resolving your issue if you submit a support request with any additional details. A Developer Support Engineer will *** you in investigating this issue and finding a resolution.
Hello Vince,
We are facing the same issue, at the time of initialization the chart control fails, when we restart the application it works fine. Only at the first time it fails to initialize.
We are using VS 2008 and Infragistics version 8.3.20083.2021.
In the development machine this works fine, but once we make an installer of the application and test it on test machine it does crash for the first time, but next time when you start the exe it works fine.
Can you please guide us.
As an additional note, 2005 Volume 3 is no longer maintained by Infragistics, which means we are not providing any new bug fixes for it. If the problem you're encountering is a bug, as opposed to something about your system's or project's setup, then it might be fixed in the last hot fix we released for this version of the toolset. You may want to try installing that, using the Project Upgrade Utility on your project again, and testing one last time to see if that addresses the issue you're seeing.