Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Operation not implemented yet" Error

I have an asp.net web application. When I try to export a report via crystal report I get following error :

Error in File C:\DOCUME~1\User\LOCALS~1\Temp\MainReport {7F8A9E9E-DD47-4D17-A44D-68D9478A792C}.rpt: Operation not yet implemented.

I use this code to export report :

    ReportDocument reportDocument = reportSource.ReportDocument;
    reportDocument.SetDataSource(dt);
    Response.ClearContent();
    Response.ClearHeaders(); 
    reportDocument.ExportToHttpResponse(ExportFormatType.PortableDocFormat, Response, false, "Report");

Thanks in advance.

like image 225
Navid Farhadi Avatar asked Dec 18 '22 03:12

Navid Farhadi


2 Answers

Does your report have non-standard fonts? If so, that could be the problem. See link text

like image 124
djw Avatar answered Dec 28 '22 09:12

djw


I had a similar problem, I found the description of the problem in :

https://support.microsoft.com/en-us/kb/3102429

The solution of the problem can be found at:

https://blog.brankovucinec.com/2015/12/10/kb3102429-causes-crystal-report-export-to-pdf-to-fail/

Notes:

  • This problem occurs when you use a DataSet as a source of report data. Sql queries and StoredProcedures this error did not happen
  • This problem occurs when you will export the report to PDF using a DataSet as a data source, if you try to export to Excell and Word this does not happen.

You must remove this update from your computer or server (if this problem).

1: Go to Control Panel

2: Select View installed updates

3: Search the KB3102429 update, And Then select Uninstall.

If you can not uninstall this update:

Issue only manifests with export to PDF using DataSet (Word and Excell not affected), only if the report contains TNR or Arial (no other fonts found to cause a problem but not every font was tested) and only with the versions of fonts, if you change the fonts on your report to SergoeUI your report (maybe) will work.

like image 38
Alexandre Kawamorita Avatar answered Dec 28 '22 08:12

Alexandre Kawamorita