Hello all,
As i explain here i'm experiencing some issues concerning UltraWinToolBars. I'm getting a System.ArgumentException error - check for the attachment - but the odd thing is that particular crash only happens in one client machine.
Got several others with similar configuration and this bug doesn't occur!!!
I'm using NetAdvantage WinForms vol10.3 Build 20103.1000
Any ideas?
Thanks
Hello.
From the stack trace it appears that this issue occurs when the ToolbarsManager is attempting to draw the caption for the Ribbon. In the thread that you referenced, one user provides a stack trace that he says occurs randomly and another provides a stack trace for the UltraGrid that occurs when the application shuts down. Do you have a sample application that reproduces this behavior? If not, can you provide me with some details of the application so that I can attempt to make a sample that will reproduce this?
Thanks for the reply Charlie.
The thing is that i cannot reproduce this error in development environment. This error occurs in production environment and only with one particular client machine... This is really frustrating...
I can only provide stack trace (which i did) and explain a litlle bit more of what is happening before error occurs.
We have one banner that is loaded when application starts and after that, a form with current user credentials (Login Form) is presented. Both banner and login form are loaded and showed as expected. After user clicks the button to access the application, user's tasks are loaded (a progress bar is showed) and rigth before of main form of the application is loaded (the one with the ToolBarsManagers), the bug occurs. We are targeting framework 4.0 and x86 architecture. The computer having this behaviour is 32 bit running windows 7... This is the first time we're deploying with Infragistics Vol10.3 and framework 4. The mentioned computer could run our application in previous version - Infragistics Vol5.3 with Hotifx, targeting framework 2.5.
You said that the error occurs "when the ToolbarsManager is attempting to draw the caption for the Ribbon". That's strange because we only have one icon inside Ribbon Button. In design, that icon is showed in the form normally, and once again, most of client computers load the application as expected.
Thanks in advance
So, any progress on attempting to reproduce this behaviour?
Thanks!
It would be very helpful if we had some code or something to go on here. A stack trace tells us where an exception is occuring but it doesn't help us debug anything. From what I have read in the thread that you referenced before this issue appears to be a Windows Vista problem, however you have reproduced it on a Windows 7 machine. That machine may have some files or settings in common with Windows Vista which that are causing the issue.
It's impossible for us to re-create this crash with just a description of what's going on; at the very least we need some code or a small sample. Since this appears to happen on Windows Vista machines and on a single Windows 7 PC, you probably won't be able to reproduce it any any of your development environments because I'm assuming that all of your developmnet machines are running Windows 7. That's fine; as long as we have some code or a sample we can run it on a Windows Vista machine and test it and try to run it on several different Windows 7 PCs.
The important thing here is that we need something solid that we can work with.
Pedro,
Will you be able to send us a sample which reproduces the issue?
Michael S.