Out of the blue I am getting that error. If I disable the ribbon it goes away, but as soon as I enable it I get the error. Here is the entire stack trace. Any ideas?
----------------------------------------
Exception Source: System.DrawingException Type: System.ArgumentExceptionException Message: Parameter is not valid.Exception Target Site: AddPath
---- Stack Trace ---- System.Drawing.Drawing2D.GraphicsPath.AddPath(addingPath As GraphicsPath, connect As Boolean) QADB.EXE: N 240285 Infragistics.Win.UltraWinToolbars.QatTopAreaUIElement.GetLeftCurvePath(rect As Rectangle, isBorderPath As Boolean) QADB.EXE: N 01018 Infragistics.Win.UltraWinToolbars.QatTopAreaUIElement.GetCurvedRegion(rect As Rectangle, isApplicationMenuVisible As Boolean) QADB.EXE: N 00097 Infragistics.Win.UltraWinToolbars.QatTopAreaUIElement.get_Region() QADB.EXE: N 00086 Infragistics.Win.UIElement.DrawElement(defaultDrawParams As UIElementDrawParams&) QADB.EXE: N 00708 Infragistics.Win.UIElement.DrawChildElements(drawParams As UIElementDrawParams&) QADB.EXE: N 00046 Infragistics.Win.UIElement.DrawElement(defaultDrawParams As UIElementDrawParams&) QADB.EXE: N 01402 Infragistics.Win.UIElement.DrawChildElements(drawParams As UIElementDrawParams&) QADB.EXE: N 00046 Infragistics.Win.UIElement.DrawElement(defaultDrawParams As UIElementDrawParams&) QADB.EXE: N 01402 Infragistics.Win.UIElement.DrawChildElements(drawParams As UIElementDrawParams&) QADB.EXE: N 00046 Infragistics.Win.UIElement.DrawElement(defaultDrawParams As UIElementDrawParams&) QADB.EXE: N 01402 Infragistics.Win.UIElement.DrawHelper(graphics As Graphics, invalidRectangle As Rectangle, doubleBuffer As Boolean, alphaBlendMode As AlphaBlendMode, clipText As Boolean, forceDrawAsFocused As Boolean, preventAlphaBlendGraphics As Boolean) QADB.EXE: N 00487 Infragistics.Win.ControlUIElementBase.Draw(graphics As Graphics, invalidRectangle As Rectangle, doubleBuffer As Boolean, alphaBlendMode As AlphaBlendMode, elementSize As Size, preventAlphaBlendGraphics As Boolean) QADB.EXE: N 00374 Infragistics.Win.ControlUIElementBase.Draw(graphics As Graphics, invalidRectangle As Rectangle, doubleBuffer As Boolean, alphaBlendMode As AlphaBlendMode) QADB.EXE: N 00077 Infragistics.Win.UltraControlBase.OnPaint(pe As PaintEventArgs) QADB.EXE: N 00132 Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea.OnPaint(pe As PaintEventArgs) QADB.EXE: N 00100 System.Windows.Forms.Control.PaintWithErrorHandling(e As PaintEventArgs, layer As Int16, disposeEventArgs As Boolean) QADB.EXE: N 00153 System.Windows.Forms.Control.OnPrint(e As PaintEventArgs) QADB.EXE: N 00095 System.Windows.Forms.Control.WmPrintClient(m As Message&) QADB.EXE: N 00150 System.Windows.Forms.Control.WndProc(m As Message&) QADB.EXE: N 00992 System.Windows.Forms.ControlNativeWindow.OnMessage(m As Message&) QADB.EXE: N 00015 System.Windows.Forms.ControlNativeWindow.WndProc(m As Message&) QADB.EXE: N 00048 System.Windows.Forms.NativeWindow.Callback(hWnd As IntPtr, msg As Int32, wparam As IntPtr, lparam As IntPtr) QADB.EXE: N 00089
I'm getting this error too: though only when I develop under Windows 7. It's fine on XP.
TargetTracker said: I'm getting this error too: though only when I develop under Windows 7. It's fine on XP.
Yes...that is exactly what has been said already.
DmgInc said: I'm getting this error too: though only when I develop under Windows 7. It's fine on XP.
[/quote] Yeah, sorry, the page hadn't finished loading when I hit reply.
Unlike one of the previous posters, my app with the ribbon runs fine under windows 7. I only get the error when I load the form, with the ribbon on, in the visual studio designer.
We are using Version 9.1.20091.2023 and faced the same problem.
We tried installing the HotFix for the version 9.1.20091.2085, but issue is still there.
We have migrated our Build server to Windows 2008 and while opening the Form , it errors out :
Toolbar Exception : Parameter is not valid.
Please suggest, if version 9.1.20091.2085 contains the proper fix or we need to install any other fix.
Thanks..
The incident number is 13638. However, it looks like this was already released in a service release. Try to upgrade to the latest service release for the version you are using.
I'd like to be added to this notification list too. What's the incident number for the bug?
Thanks,
~Karen
Had the same problem here.
Please add me to the notification list, too. Thanks.
mebstein, I have also notified the DS Manager to add you to the list as well.