NAV 2016 - Crash after using a report print preview

Fr0miFr0mi Member Posts: 14
Hello,

We are currently working with the new NAV 2016 and ran into the following problem:
To reproduce I am doing the following:

1. Start the client with the profile: "Einkäufer" / "buyer" - Profile ID: 9007
3. At the RTC go to the report Tab and launch any report
4. Click on preview
5. Close the preview windows
6. Launch the report "Vendor - Top 10 List"
7. In the Preview Window I am only able to see the first line "Show: Purchases (LCY)" with a red box around it
8. The Window will not finish loading and NAV will crash without an error message

Another error that occurs before letting it crash is, all Menu buttons (the windows standard buttons) will view rectangular and white. Not round and grey any more. Here the screenshots:

Normal Buttons:
ru3vyjpims39.jpg

After print previewing:
4bryraez29fn.jpg

Crash Screen:
2y0kegp09x56.jpg

This happens for us only on the following machine:
Windows 7 64 Bit
8 GB Ram
NVIDIA GeForce GT 740

Drivers are up to date.

We also have another problem regarding the print preview, which is not machine specific. I will open another topic for that one though.

Thanks in advance for any help!

Comments

  • postsauravpostsaurav Member Posts: 708
    Hi,

    Please Update your build to NAV 2016 CU1.

    All these issues have resolved in Cumulative Update 1.

    376189 The client crashes randomly.

    Thanks & Regards,
    Saurav Dhyani

    Do you Know this About NAV?


    Connect - Twitter | Facebook | Google + | YouTube

    Follow - Blog | Facebook Page | Google + Page
  • Fr0miFr0mi Member Posts: 14
    edited 2015-11-27
    Hello and thanks for your answer!

    However even after the update the client on the one PC crashes, after executing the same procedure.

    This is the error message from the windows event display:

    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 Microsoft.Dynamics.Framework.UI.WinForms.Controls.ComboView.WndProc(Message& m)
         at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    Source: System.Windows.Forms
    HResult: -2146233079
    
  • postsauravpostsaurav Member Posts: 708
    Hi,
    I hope the issue is resolved. Please mark the issue as closed.

    Thanks & Regards,
    Saurav Dhyani

    Do you Know this About NAV?


    Connect - Twitter | Facebook | Google + | YouTube

    Follow - Blog | Facebook Page | Google + Page
  • Fr0miFr0mi Member Posts: 14
    Sorry, but the issue has not been resolved through the update.

    We have found a temporary fix for those that have the same problem.

    Changing your Windows Layout to Windows Classic will stop the problem.
    To do so:
    Follow this tutorial
    http://www.dedoimedo.com/computers/windows-7-settings.html

  • archer89archer89 Member Posts: 337
    try it with 32bit rtc client instead of 64bit client.
    best regards
    Franz Kalchmair, MVP
    Alias: Jonathan Archer

    please like / agree / verify my answer, if it was helpful for you. thx.
    Blog: http://moxie4nav.wordpress.com/
  • hangyhangy Member Posts: 12
    I've this issue also with 2016 CU2 on Windows 7 computers. Someone have a solution or some informations who can help me..?
    Tout ce qui ne tue pas rend plus fort !
Sign In or Register to comment.