report.Print hangs
Posted: Sat Jun 20, 2020 11:51 am
Dim report As StiReport
StiOptions.Print.AllowUsePaperSizesFromPrinterSettings = False
StiOptions.Print.UsePrinterSettingsEntirely = True
report = New StiReport()
report.Load(_ReportName)
GetReportData(report)
report.Render()
report.Print(False)
When I let run the above code in debugger it works correctly.
But when I publish the code to the webserver an I let run the same code it hangs on the report.Print(False) Statement and the Browser is waiting for an answer from the server.
StiOptions.Print.AllowUsePaperSizesFromPrinterSettings = False
StiOptions.Print.UsePrinterSettingsEntirely = True
report = New StiReport()
report.Load(_ReportName)
GetReportData(report)
report.Render()
report.Print(False)
When I let run the above code in debugger it works correctly.
But when I publish the code to the webserver an I let run the same code it hangs on the report.Print(False) Statement and the Browser is waiting for an answer from the server.