G
Guest
For reporting purposes I use Crystal Reports. The user can select a printer
from a dropdownlist. I set the printer with:
PrintOptions.PrinterName = @"\\SERVERNAME\" +
lstPrinter.SelectedValue.Trim();
and use PrintToPrinter(1, false, 0, 0); to print.
Now I get the message:
Error in File
C:\DOCUME~1\ASPNET\LOCALS~1\Temp\temp_f3d3ec6c-c2d9-47fc-90e5-b321c0f18873.rpt: Request cancelled by the user.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information about
the error and where it originated in the code.
Exception Details: CrystalDecisions.CrystalReports.Engine.InternalException:
Error in File
C:\DOCUME~1\ASPNET\LOCALS~1\Temp\temp_f3d3ec6c-c2d9-47fc-90e5-b321c0f18873.rpt: Request cancelled by the user
The report self is correct, an export to PDF instead of printing works.
Please help.
from a dropdownlist. I set the printer with:
PrintOptions.PrinterName = @"\\SERVERNAME\" +
lstPrinter.SelectedValue.Trim();
and use PrintToPrinter(1, false, 0, 0); to print.
Now I get the message:
Error in File
C:\DOCUME~1\ASPNET\LOCALS~1\Temp\temp_f3d3ec6c-c2d9-47fc-90e5-b321c0f18873.rpt: Request cancelled by the user.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information about
the error and where it originated in the code.
Exception Details: CrystalDecisions.CrystalReports.Engine.InternalException:
Error in File
C:\DOCUME~1\ASPNET\LOCALS~1\Temp\temp_f3d3ec6c-c2d9-47fc-90e5-b321c0f18873.rpt: Request cancelled by the user
The report self is correct, an export to PDF instead of printing works.
Please help.