2787
Views
3
Comments
An exception occurred in the client script. The connection to the server was reset
Question

Hello community,


I had an issue in which the message: "An exception occurred in the client script. Error: The connection to the server was reset" appeared after i tried to export to excel a record list using the download action. The link associated with my action was Ajax Submit instead of just Submit. This was the cause of my problem, so if you just change your link to Submit, your problem should be solved.

 

Just to let you know in case you encounter the same problem.


Best regards,

Rafael Valente

2020-09-15 13-07-23
Kilian Hekhuis
 
MVP

Hi Rafael,

Indeed, Excel downloads are not possible with an Ajax Submit. This is, as I understand it, a technical limitation, not of the platform but of the browser/HTTP protocol.

UserImage.jpg
David Austin

Rafael, this post saved me hours of troubleshooting, so thank you.  It would help if OutSystems would warn you about using Ajax Submit to trigger an action that ends in a Download.

2020-09-15 13-07-23
Kilian Hekhuis
 
MVP

That would indeed be a useful addition, I'll suggest it in the right channels :).

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.