Symptom
- The report appears in the Crystal Reports DHTML viewer as expected.
- When the Export icon in the DHTML viewer is pressed, the export dialog appears, but after the OK button is pressed, the report is not exported.
Cause
- The viewer control needs to use files found in the Crystal Reports web form viewer folder in the root of your website.
- The folders for different versions of Crystal reports are listed below.
Crystal Reports 10.2 (Bundled with VS2005)
\aspnet_client\system_web\2_0_50727\crystalreportwebformviewer3\Crystal Reports 10.5 (Crystal Reports Basic for Visual Studio 2008 )
C:\Inetpub\wwwroot\aspnet_client\system_web\v2.0.50727\CrystalReportWebFormViewer4Crystal Reports 11.5 (XI release 2)
C:\Inetpub\wwwroot\aspnet_client\system_web\v2.0.50727\crystalreportviewers115Crystal Reports 12.x (2008)
C:\Inetpub\wwwroot\aspnet_client\system_web\v2.0.50727crystalreportviewers12
Resolution
- To further troubleshoot the issue follow these steps:
- Run your application and view the report.
- Click the Printer button (this will cause a postback to the web page) and then cancel the print dialog. right-click in the web page and select "View Source".
- Search for the word "printcontrol.cab".
- This will show you where the application is trying to download the printcontrol from.
- Paste the URL into a browser.
- If you get prompted to "open or save to disk" the url is correct and there is a browser setting or possibly a system policy preventing the download.
- If you get a "404 page not found" or a similar error message, investigate the URL.
- If the issue is on your local web server, try browsing to the URL in IIS manager.
Keywords
KBA , BI-DEV-NET , BI Software Development Kits (SDKs) - .NET or Other , How To
Product
Crystal Reports 2008 V1