I just upgraded to the beta 2 of Crystal Reports for Visual Studio 2010 and I'm not able to print, export, zoom, or change pages while using the web control in an ASP.NET MVC application.
I can get the report to run and display just fine on the webpage. All of the buttons have images, and the report data looks exactly as it should on the page.
In VS2010 while looking at the .rpt I can click 'Report Preview' and get the report to run and print, export, zoom, etc...this appears to use the windows control to render the report and not the web control. Thus I believe my report file itself is valid.
While on the webpage viewing the report in the Crystal Reports Viewer I get different functionality when I try each of the buttons:
- Print : Click the print button once, the report goes back to the web server, re-runs the report, but then comes back to the webpage and does nothing. Press it again and it opens a new tab with the same report in this new tab.
- Export : Export opens the dialog box asking me which format I would like to export to. Once I make a selection it performs the same functions print does, goes to the back end, then nothing. Pressing export again opens up a new tab with the report in it.
- Zoom/Change Page - Both of these options pop-up with a dialog box, a spinner, and then freeze the page.
I get the same behavior regardless of which browser I use, (IE, Chrome, Mozilla), and all of the browsers have pop-up blocker turned off.
Using Chrome's developer tools I do get two errors on the page:
- JobHistory:59[The HTML that caused this error was generated by a script.] Unmatched encountered. Ignoring tag.
- JobHistory:59[The HTML that caused this error was generated by a script.] Unmatched encountered. Ignoring tag.
Other items I've tried:
- Removed all previous versions of Crystal Reports
- Uninstalled and then reinstalled beta 2 of Crystal Reports
- Restarted my solution from scratch, originally it was an upgrade from 2008.
- Cross posted this question on the Crystal Reports beta 2 forums
Any thoughts or suggestions on things I could try are greatly appreciated.