.NET Core 3.1 - Section Reports - Export Problems on Linux

Posted by: mlk20 on 23 February 2021, 9:04 am EST

    • Post Options:
    • Link

    Posted 23 February 2021, 9:04 am EST

    Hi,

    Attached zip file contains VS2019 project (.net core 3.1). Program is console application – run with arguments as below.

    -? – prints “help”

    -a RG –ret STDPDF – creates report and exports it to PDF document (“STDXLS” exports to Excel spreadsheet, “STDTXT” to text file, “STDTIFF” - to TIFF file)

    Example commands:

    NCARSimpleTest.exe -?

    NCARSimpleTest.exe -a RG -ret STDPDF

    dotnet NCARSimpleTest.dll -?

    dotnet NCARSimpleTest.dll -a RG -ret STDPDF

    Folders InputFiles and OutputFiles have to be at the same directory/folder as executable/dll file (they contain data and layout files and place where exported files are stored). Application is created as .net core 3.1 console application. It works correctly on Windows environment.

    On Linux environment it… does not work. Export to pdf and xls files throws exception. Export to txt file works but does not produce file (probably file access permissions or similar) – at least does not crash. Export to TIFF - stream is empty.

    Can you please advise what is wrong with the code that it works on Windows and DOES NOT work on Linux?

    Thank you.NCARSimpleTest.zip

  • Posted 24 February 2021, 9:09 am EST

    Hello ,

    Thank you for the sample of project.

    PDF, Text and Tiff exports for the section reports will be available in the next service pack (v15.1)

    Excel export will support the section reports on Linux starting from v16.

    Thanks,

    Sergey Romanov.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels