I know this thread is a bit old, but i'll answer it anyways so others can fix this problem.
1. You're getting the error because you have to add the address to your Trusted Sites, or enable ActiveX components in Internet Options Advanced Pane (in every client computer). With this, you will be able to print the report. I belive you have already set
PrintMode or your Crystal Report Viewer to ActiveX, otherwise will print it to a PDF file. If you haven't you can do it by code like this:
Me.crViewer.PrintMode = PrintMode.ActiveX
2. You will need to specify the ToolbarImagesUrl property of the Crystal Report Viewer. Search for the images (usually in C:\Inetpub\wwwroot\aspnet_client\system_web\2_0_50727\CrystalReportWebFormViewer4\images\toolbar). This should do the trick. If you
like, copy the folder to your project.
Hope it helps to all the people with this problem.
mruiz
Member
62 Points
34 Posts
Re: problem with crystal reports client side printing
May 26, 2009 04:10 AM|LINK
I know this thread is a bit old, but i'll answer it anyways so others can fix this problem.
1. You're getting the error because you have to add the address to your Trusted Sites, or enable ActiveX components in Internet Options Advanced Pane (in every client computer). With this, you will be able to print the report. I belive you have already set PrintMode or your Crystal Report Viewer to ActiveX, otherwise will print it to a PDF file. If you haven't you can do it by code like this:
2. You will need to specify the ToolbarImagesUrl property of the Crystal Report Viewer. Search for the images (usually in C:\Inetpub\wwwroot\aspnet_client\system_web\2_0_50727\CrystalReportWebFormViewer4\images\toolbar). This should do the trick. If you like, copy the folder to your project.
Hope it helps to all the people with this problem.