Skip to main content
Announcements
Defect acknowledgement with Nprinting Engine May 2022 SR2, please READ HERE
cancel
Showing results for 
Search instead for 
Did you mean: 
mkelemen
Creator III
Creator III

ERROR: Empty path name is not legal.

Hi,

my report is failing with "ERROR: Empty path name is not legal" since yesterday. I did change the report but can not find the cause.

I already tried disabling dynamic naming and removing folder destination but no luck.

NP 18 (also after upgrade to 18SR1), QV 12.2SR1, ppt version 2010.

Anyone encountered this before?

rpc

Thanks,

  Matus

Log:

Qlik.NPrinting.Engine    18.0.3.0    Qlik.NPrinting.Engine.Composition.EngineCompositionService    20180306T081958.658+01:00    DEBUG    BIU_NP_PROD1     0    0    0    0    0    0    0    0    Exception handling production request 26b49acf-3aa9-48a8-9c4f-c5f64b502ae1. ERROR: Empty path name is not legal. Exception type: System.ArgumentException. Stack trace:     at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)↓↓   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)↓↓   at Aspose.Cells.Workbook. (String  , LoadOptions  )↓↓   at NPrinting.Reporting.ReportingApp.Powerpoint.SlideHelper.CreateNewWorkbookAndSetRegion(String Filename) in c:\Jws\release-18.0.x\server\NPrinting\src\Legacy\NPrinting.Powerpoint\PowerpointApp.cs:line 3739↓↓   at NPrinting.Reporting.ReportingApp.Powerpoint.PowerpointPres.CellColumnTag.Produce() in c:\Jws\release-18.0.x\server\NPrinting\src\Legacy\NPrinting.Powerpoint\PowerpointApp.cs:line 2401↓↓   at NPrinting.Reporting.Engine.EngineBand.Produce() in c:\Jws\release-18.0.x\server\NPrinting\src\Legacy\NPrinting.Reporting.Engine\EngineBand.cs:line 40↓↓   at NPrinting.Reporting.Engine.ReportingEngine.ProduceTemplate(ITemplate template) in c:\Jws\release-18.0.x\server\NPrinting\src\Legacy\NPrinting.Reporting.Engine\ReportingEngine.cs:line 68↓↓   at Engine.Reporting.OfficeReportComposer.Compose(Stream outputStream, Template template, ContentTree contentTree, OutputSettings settings) in c:\Jws\release-18.0.x\server\NPrinting\src\Engine.Reporting\OfficeReportComposer.cs:line 52↓↓   at Qlik.Printing.BaseCompositionService.<>c__DisplayClass1.<Compose>b__0().

10 Replies
mkelemen
Creator III
Creator III
Author

It was a combination of incorrect column name in a table and incorrect filter.

That is why it failed in both cases - filter without objects and objects without filter.

After I fixed the filter it was still failing. At the end I had to update the tables (columns were removed + added). This fixed the problem and the report started working again.

Thanks a lot for your help!

  Matus