Click here to Skip to main content
15,883,705 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
Hello Everyone,

i have a printing issue with the report viewer control on an machine that runs Windows XP 32 bit. When the users clicks on the print icon (the one that is on the right of the "Select a format" dropdownlist), the dialog box with the printer selection appears and when i choose the printer an internet explorer alert appears that displays the followin message:

"Printing Error" - An error has occured during printing 0x80040154

Does anyone know how to fix this issue? I tried Microsoft FixIt, i Reinstalled the active x control (Delete the files from Downloaded program files and the when the site asked me to install the sqlreportingservices active x, i simply reinstalled it), but it still does not work properly.

Any Suggestions?

Vassilis
Posted

1 solution

The error seems to be related to ActiveX and I've no idea how to fix it. However, my suggestion is to not use ReportViewer printing approach as it relies on ActiveX which is supported by IE only. Instead, generate PDF format of your report by using ReportViewer export functionality and make your users to print it instead. There are ways to print pdf file Without preview[^]
 
Share this answer
 
Comments
v_farmak 10-Sep-13 8:39am    
Thank you Marc for your answer. I am afraid that this is inevitable due to company's requirements (they want to use the preview mode beacause of the customer's demand). I am still trying to search a solution to this. The important fact is that this problem appears in a specific computer with winxp. It has to be something that occurs internally maybe in the windows folder or has to do with access rights. I hope i find a solution soon because i do not want to advice to backup and then restore (format etc.) the system.

Thanks Anyway
Vassilis
Marc Gabrie 10-Sep-13 14:55pm    
But you can also preview the PDF report by using Google Doc Viewer! Just add this html code to a page that will preview the PDF report:

<iframe src="http://docs.google.com/gview?url=http://infolab.stanford.edu/pub/papers/google.pdf&embedded=true" style="width:600px; height:500px;" frameborder="0"></iframe>

Just replace the pdf file there with yours.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900