[.Net Core issue on Debian server]



  • Hi there,

    We encounter a weird issue with the PDF report generation. Everything works fine on windows but we try to setup or production server to test in real condition. The PDF report are generated but the CSS doesn't seem to work correctly, we mainly have raw HTML and assets doesn't seems to work.

    In the logs, we get this error :

    2018-05-28T11:13:17.162Z - warn: ReferenceError: Can't find variable: $ timestamp=Mon May 28 2018 13:13:17 GMT+0200 (CEST), requestId=1
    2018-05-28T11:13:17.162Z - warn: file:///%2Ftmp%2F1e6d4ac0-6268-11e8-b351-8d316307a3fahtml.html : 217 timestamp=Mon May 28 2018 13:13:17 GMT+0200 (CEST), requestId=1

    We try to force the tempDirectory, not to avail.

    Do you have any idea of what cause this issue and how to solve it?

    Best regards,

    Stéphane



  • I think I found the issue.

    Missing resources not copied when the solution is generated (Do not copy / Copy if newest) if Visual Studio.

    The error isn't explicit but after a bit of research, I get it.

    Best regards,

    Stéphane


Log in to reply
 

Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.