I am using the latest version of crystal report CRforVS_13_0_10 with Visual Studio 2013.
I am working a WPF application and using the WPF crystalreportviewer control.
The steps to reproduce the exception is ,
1) Create a report.
2) Export report with sample.xls as file name
3) Now open the sample.xls file in Excel
4) Again export the report with sample.xls as file name
5) There is dialog which asks "Do you want to replace existing file sample.xls"
6)Click "Yes"
7) Now the exception will be thrown.
This is System.IO.IOException which is thrown by crystal report when user tries to save the file which is already opened by user. Also there is no event provided to handle Export_click for WPF CrystalReportViewer where I can handle this.