It's a bit odd, as if I restart the service tier I can access the user personalizations and there are no crashes. If I close that session, then attempt to access user personalization card again the application will crash with generic error saying the application encountered an error and has to close (debugger does not activate if active, it just crashes). We have no customizations to user personalization table, card or list.
Anybody have any ideas?
Edit: Also, running user personalization table has same effect. First time after restarting tier it runs fine, no record values amiss with our 20 or so users. Restart the client and run it again and it will crash NAV.
0
Answers
What does the eventlog say?
Error Log:
Type: System.InvalidOperationException
Message: Visual Styles-related operation resulted in an error because visual styles are currently disabled in the client area.
StackTrace:
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.<>c__DisplayClass6.<DoRethrowWithCatchException>b__4()
at Microsoft.Dynamics.Nav.Client.WinClient.NavClientErrorHandler.ExecuteAndCatchExceptions(Func`1 execute)
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoExecute(Func`1 execute)
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoRethrowWithCatchException(Exception exception, Boolean designMode)
Source: Microsoft.Dynamics.Nav.Client.WinClient
HResult: -2146233079
Type: System.InvalidOperationException
Message: Visual Styles-related operation resulted in an error because visual styles are currently disabled in the client area.
StackTrace:
at System.Windows.Forms.VisualStyles.VisualStyleRenderer.IsCombinationDefined(String className, Int32 part)
at System.Windows.Forms.VisualStyles.VisualStyleRenderer..ctor(String className, Int32 part, Int32 state)
at Microsoft.Dynamics.Framework.UI.WinForms.Controls.ComboBoxVistaRenderer.DrawDropDownButton(Graphics graphics, Rectangle bounds, ComboBoxState state, Boolean rightToLeft)
at Microsoft.Dynamics.Framework.UI.WinForms.Controls.ViewBase.PaintLookup(Graphics graphics, Rectangle rect, Boolean mouseOver, Boolean clicked, Boolean enabled, RightToLeft rightToLeft)
at Microsoft.Dynamics.Framework.UI.WinForms.Controls.ViewBase.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Source: System.Windows.Forms
HResult: -2146233079
MS fixed the problem in CU3 (i think). Try updating to the latest CU. That should fix it for you.