10 Replies Latest reply: Mar 8, 2018 10:10 AM by Matus Kelemen RSS

    ERROR: Empty path name is not legal.

    Matus Kelemen

      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().

        • Re: ERROR: Empty path name is not legal.
          Ruggero Piccoli

          Hi,

           

          I suppose this happens when you run a task with a folder as destination.  Could you check the folder configuration?

          Could you post some screenshots?

           

           

          Best Regards,

          Ruggero

          ---------------------------------------------

          When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads as HELPFUL if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads as HELPFUL if you feel additional info is useful to others.

            • Re: ERROR: Empty path name is not legal.
              Matus Kelemen

              Hi Ruggero,

              the main destination is mail. I tried different scenarios:

                shared drive (this was the original setting) - it never actually exported to the directory but did not fail until recently

                local drive, home directory of the user running services

                no folder destination at all

              All of them fail with the same error.

               

              What screenshots do you mean?

               

              I also checked the log and found this error quite often:

              Faulting application name: Qv.exe, version: 12.20.20200.0, time stamp: 0x5a2fdd4a

              Faulting module name: ntdll.dll, version: 6.3.9600.18895, time stamp: 0x5a4b1b67

              Exception code: 0xc0000005

              Fault offset: 0x000000000005478b

              Faulting process id: 0x5068

              Faulting application start time: 0x01d3b547af4142b4

              Faulting application path: C:\Program Files\QlikView\Qv.exe

              Faulting module path: C:\Windows\SYSTEM32\ntdll.dll

              Report Id: 99c7e72e-213b-11e8-80e4-76f45d89f3dc

              Faulting package full name:

              Faulting package-relative application ID:

               

              The errors from server log coincide with the publish tasks.

              tasks.JPG

               

              server_log.JPG

              BR,

               

                Matus

                • Re: ERROR: Empty path name is not legal.
                  Ruggero Piccoli

                  Hi,

                   

                  I mean screenshots of the report and task settings. It is very hard to understand where the issue is.

                   

                  Another idea could be to create a new task, add the reports one by one to understand which is causing the failure. If all added reports work add the other users or destinations.

                   

                  Another test is to create a new simple ppt report, add it to a task and check if the new task works. This will let us to understand if the issue is in the specific task (as I'm supposing) or it is related to all task with PowerPoint reports.

                   

                   

                  Best Regards,

                  Ruggero

                  ---------------------------------------------

                  When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads as HELPFUL if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads as HELPFUL if you feel additional info is useful to others.

                    • Re: ERROR: Empty path name is not legal.
                      Matus Kelemen

                      The task has single report in it.

                      I have other tasks with powerpoint that work.

                      At the end I created a copy of report and task and started removing stuff - I was able to run it without any filters and any objects inside.

                      I will start from a fresh copy and remove stuff one by one to identify what causes the problem.

                      BR,

                       

                        Matus

                        • Re: ERROR: Empty path name is not legal.
                          Chanty 4u

                          did you check the table names of each table in the report?

                          • Re: ERROR: Empty path name is not legal.
                            Ruggero Piccoli

                            Start by adding the complete template without filters.

                            Maybe you have an invalid selection in filters... so if the template alone works you can start to add filters one-by-one.

                             

                             

                            Best Regards,

                            Ruggero

                            ---------------------------------------------

                            When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads as HELPFUL if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads as HELPFUL if you feel additional info is useful to others.

                              • Re: ERROR: Empty path name is not legal.
                                Matus Kelemen

                                I tried complete template without filters yesterday and it failed.

                                Now I tried minimal template (only one object) with filters and it worked. Now I am trying to build it back by adding stuff.

                                 

                                I also switched from server connection to local on one of the documents. It was throwing error "Navigator stuck or died". That is probably connected with the Application errors above.

                                 

                                  Matus

                      • Re: ERROR: Empty path name is not legal.
                        Chanty 4u

                        column names which is modified is start with empty space then name check this also

                        • Re: ERROR: Empty path name is not legal.
                          Matus Kelemen

                          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