Hello
I have a aplication in Aspx , when call many times the same report and printer , appear the menssage error printer conection, and happen error in server, in my station in design not happen.
Bellow my code....
Dim report As New CrystalDecisions.CrystalReports.Engine.ReportDocument
report.Load(Server.MapPath("Razao.rpt"))
report.SetDatabaseLogon("User", "PassWord", "DataBase", "")
CrystalReportViewer1.PrintMode = CrystalDecisions.Web.PrintMode.ActiveX
CrystalReportViewer1.ReportSource = report
CrystalReportViewer1.RefreshReport()
For exit
CrystalReportViewer1.ReportSource = vbNull
CrystalReportViewer1.RefreshReport()
GC.Collect()
Response.Redirect("~/Default.aspx")
Thanks for help.