Tuesday, May 5, 2009

solution to fix CrystalReportViewer toolbar export / print button not working problem in asp.net 2.0

Hi,

I created my asp.net 2.0 web application on my xp professional sp2 workstation using visual studio 2.0 and crystal report 10. Till this point everything is working fine. I can see my crystal report properly, its print function, export function is working properly.

Once i deployed it in production, windows server 2003 machine. the crystal report viewer stopped showing the toolbar images, it just turned up as red cross with white background. when i click it nothing happened.

Solution : After doing some research with the help of uncle google, and trying various things as suggested by other online experts. following solution worked for me.

Copy CrystalReportWebFormViewer3 folder from development machine’s C:\Inetpub\wwwroot\aspnet_client\system_web\2_0_50727 (2_0_50727 becoz i m using .net 2.0 version.) and paste it to the production machine same location.

That is it. It worked for me. I hope it helps others too.

Happy programming.

Read more!