web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Clickonce Nav 2018 - impossible to print anything, nav client closed on error

(0) ShareShare
ReportReport
Posted on by

Hi,

I encounter a major technical issue by using the clikconce client of Nav 2018 (more than one CU) when trying to print.

It's impossible to print anything from any Nav reports, clickonce client is hard-closed by Windows on error.

I obtain the same problem egal that I'm trying to obtain a preview, a normal print, a pdf printing or/and an word/excel printout.

I've tried on more than one computer and the same system based on Nav 2016 works fine on clickonce printing processes.

Any experience on this case anyone?  Report viewer isn't needed anymore?

Help needed, I've deployed the clikconce 2018 for two customers who're locked because of that.

thanks and regards, Yann

Sans-titre.jpg

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Alexander Ermakov Profile Picture
    28,096 on at

    Can you kindly have a look at what is in the system logs at the time of the hard-close?

  • Community Member Profile Picture
    on at

    I've 2 errorlines, first for the .net runtime and second one for the application issue.

    1st:

    Application: Microsoft.Dynamics.Nav.Client.exe

    Framework Version: v4.0.30319

    Description: The process was terminated due to an unhandled exception.

    Exception Info: System.IO.FileNotFoundException

      at Microsoft.Dynamics.Nav.Types.LocalReportHandle.ClearDataSources()

      at Microsoft.Dynamics.Nav.Types.LocalReportHandle.Dispose()

      at Microsoft.Dynamics.Nav.Types.Cache.GeneralCacheStore`2[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Clear()

      at Microsoft.Dynamics.Nav.Types.Cache.CacheGroup.ClearAllFromCache()

      at Microsoft.Dynamics.Nav.Types.Cache.CacheGroup.Dispose(Boolean)

      at Microsoft.Dynamics.Nav.Client.MetadataHandler.Dispose(Boolean)

      at Microsoft.Dynamics.Nav.Client.ServiceConnection.Dispose(Boolean)

      at Microsoft.Dynamics.Nav.Client.ServiceConnection.Dispose()

      at Microsoft.Dynamics.Nav.Client.FormBuilder.BuilderSession.Dispose(Boolean)

      at Microsoft.Dynamics.Framework.UI.UISession.DisposeBuilders()

      at Microsoft.Dynamics.Framework.UI.UISession.Dispose(Boolean)

      at Microsoft.Dynamics.Framework.UI.ClientSessionCore.Dispose(Boolean)

      at Microsoft.Dynamics.Framework.UI.Windows.ClientSessionBase.InternalExit()

      at Microsoft.Dynamics.Nav.Client.WinClient.NavWinFormsClientSession.RunCore()

      at Microsoft.Dynamics.Nav.Client.WinClient.NavClientErrorHandler.ExecuteAndCatchExceptions(System.Func`1<Int32>)

      at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoExecute(System.Func`1<Int32>)

      at Microsoft.Dynamics.Nav.Client.WinClient.StartWinFormsClient.RunCore()

      at Microsoft.Dynamics.Nav.Client.WinClient.StartWinFormsClient.Run(Boolean)

      at Microsoft.Dynamics.Nav.Client.Program.Main(System.String[])

    2nd:

    Faulting application name: Microsoft.Dynamics.Nav.Client.exe, version: 11.0.20348.0, time stamp: 0x5a6ba762

    Faulting module name: KERNELBASE.dll, version: 10.0.14393.2189, time stamp: 0x5abdad60

    Exception code: 0xe0434352

    Fault offset: 0x0000000000033c58

    Faulting process id: 0x1604

    Faulting application start time: 0x01d3dae2436738d4

    Faulting application path: C:\Users\yah\AppData\Local\Apps\2.0\RH1L6CQO.5DP\2GJDVPXQ.W13\micr..rmax_0000000000000000_000b.0000_6147266ad08b20c1\Microsoft.Dynamics.Nav.Client.exe

    Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll

    Report Id: 611e6ce2-12a5-4714-aa15-baa25aa8a4aa

    Faulting package full name:

    Faulting package-relative application ID:

  • Suggested answer
    Alexander Ermakov Profile Picture
    28,096 on at

    Thanks! What version of .NET Framework is installed? Also, have you installed system from a file share?

    Then, there might be access or user rights issues due to click-once limitations, e.g.:

    "External components calling the Microsoft Dynamics NAV Windows client - A ClickOnce-installed Microsoft Dynamics NAV Windows client will be installed in a randomly generated folder, and when it is upgraded to a new version, it will be installed a new randomly generated folder. This means that external components will not be able to detect where the Microsoft Dynamics NAV Windows client executable is located."

  • Community Member Profile Picture
    on at

    Many thanks to U!

    On my computer with Windows 10 I've the 4.7.02556 and on a windows 2012 server where I've the issue too I've 4.7.02053.

    I've using administrator rights everywhere (nav server, IIS server, local machine,..), super user in Nav, etc..

    Possibly it's a problem regarding the files I've published on my clickonce source client folder?

    Maybe an access problem to the "report layout" folder into the published Nav client?

  • Seiji Momoto Profile Picture
    75 on at

    Could you please check if "CLR types for Microsoft SQL server 2014" (ENU\x86\SQLSysClrTypes.msi) has been installed on your computer? If not, try again after installation from Microsoft Download Center.

    Microsfot-System-CLR-Types-for-SQL-Server-2014.PNG

    Best regards,

  • Community Member Profile Picture
    on at

    Hi, thanks for your answer,

    After control, this component is existing on my installation  (who've a full SQL 2016 installed on it)

    6560.Capture.JPG

    any other idea?

    can someone tell me which files are needed in the clickonce publication regarding printing processes like DLLs, etc.. ?

  • Community Member Profile Picture
    on at

    FYI, I've finally published all nav RTC client files excepting languages packs, then it's working fine after managing hash files among others.

    But if someone know what are the minimal list of files to be published, I gladly take.

    thx

  • Suggested answer
    Suresh Kulla Profile Picture
    50,243 Super User 2025 Season 2 on at

    Are you having this issue on every report ?

  • Community Member Profile Picture
    on at

    yes, this issue was on every reports, for all types include preview mode only.

  • Community Member Profile Picture
    on at

    Hi 

    How did you solve this problem

    Is there a artikel regarding this

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans