dfaruque / Serenity.Extra

Name of the repo says that this is an EXTRA of http://serenity.is platform
60 stars 34 forks source link

Generated PDF File is empty #59

Closed muhammedyaman closed 3 years ago

muhammedyaman commented 3 years ago

Hi! I am trying to use _Ext.ReportHelper. I have managed to use it with html extension. But when i want to generate PDF it gives me Generated PDF file is empty. I have seen "absolute url" solution on main serenity issues: https://github.com/serenity-is/Serenity/issues/1225 . The difference is I am not using an external footer or nothing. Just a cshtml report page, shared report layout and a report base that extends ListReportBase. Does anyone have any idea about this problem? PS: I tried to disable your ReportFooter.html file just in case but it didn't work.

muhammedyaman commented 3 years ago

I found the issue. It has nothing to do with reporthelper. The problem was in web.config. EnvironmentSettings url was wrong/old. I updated that and it worked perfectly! Thanks for the extra again and again.