I have a report that successfully displays in the Crystal Viewer that comes built in with .NET within an .NET Web application. The viewer control resides on a webform.
I am trying to print the current report through code directly to the printer. I am consistently getting the following error:
Exception Details: CrystalDecisions.CrystalReports.Engine.InternalException:
Error in File C:\inetpub\ Request cancelled by the user.
Source Error:
Line 256: rptRepViewer.ReportSource = rp
Line 257: rp.PrintOptions.PrinterName = "\\twd-ps05\TWD-TEN-P302"
Line 258: rp.PrintToPrinter(1, True, 1, 1)
Line 259:
Line 258 is the one generating the error ? anyone with any ideas of what the problem might be. The printer name is correct.
I am trying to print the current report through code directly to the printer. I am consistently getting the following error:
Exception Details: CrystalDecisions.CrystalReports.Engine.InternalException:
Error in File C:\inetpub\ Request cancelled by the user.
Source Error:
Line 256: rptRepViewer.ReportSource = rp
Line 257: rp.PrintOptions.PrinterName = "\\twd-ps05\TWD-TEN-P302"
Line 258: rp.PrintToPrinter(1, True, 1, 1)
Line 259:
Line 258 is the one generating the error ? anyone with any ideas of what the problem might be. The printer name is correct.