Search code examples
asp.netcrystal-reportsprinting

Crystal Report Viewer print/export buttons not working in ASP.NET MVC app


My MVC app uses the push model and the CR viewer for reporting. All works great in displaying the report in the viewer however the print/export buttons give the javascript error 'Object not supported by this action'. I am using VS 2008 and MVC. This happens in my dev environment. Any ideas?


Solution

  • The answer to this is so stupid its embarrassing - my popup blocker was causing this error. I did get another error or on th the deployed site however and that was a 404 not found on 'aspnet_client/System_Web/2_0_50727/CrystalReportWebFormViewer4/html/crystalexportdialog.htm'. I just created the folder and on the site and copied the contents of C:\Windows\Microsoft.NET\Framework\v2.0.50727\ASP.NETClientFiles\CrystalReportWebFormViewer4 to it and it fixed it.