I am using jsreport to convert razor views to pdf. I have an issue with the download option on pdf in Chrome browser. On clicking the pdf download option a save dialog box is opened with the file name Error.aspx. Even on changing the .aspx extension to .pdf does not help. I get a error when trying to open the file saying “error when loading file”.
Other browsers are working fine.
Any idea why it tries to open a .aspx file instead of .pdf.