getting error code 500



  • Hello

    I have a cron job I run every night where it runs through some data, compiles some pdfs and sends them out.

    For the first two I got these errors when I try to fetch a pdf file

    The remote server returned an error: (500) Internal Server Error.

    System.Net.Requests

    at System.Net.HttpWebRequest.GetResponse()
    at System.Net.WebClient.GetWebResponse(WebRequest request)
    at System.Net.WebClient.DownloadBits(WebRequest request, Stream writeStream)
    at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
    at System.Net.WebClient.DownloadData(Uri address)
    at System.Net.WebClient.DownloadData(String address)

    My guess is that the JS Report server is not running async operations, which is why it fails.
    The last job seems to have run smoothly.



  • An update

    It's not the asynchronous thing that breaks it

    Apparantly these two pdf conversions always breaks, I'm going to test around, see what breaks them and rpeort back



  • I think that when the name of the title is too long, it breaks, is there a limitter to the length of the filename? And can I extend it?



  • Not sure what title/filename you mean. Please elaborate.


Log in to reply
 

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