Quantcast
Channel: SCN : Discussion List - SAP Crystal Reports, version for Visual Studio
Viewing all articles
Browse latest Browse all 3636

Some reports fail to export to excel

$
0
0

Hello

 

We have a asp.net application compiled in Visual Studio 2013 that is using the web report viewer. The runtime installed is 13_0_12 and has been installed using the msi. .Net version is 4.5.1 The crystal version in web.config 13.0.2000.0. The reports are not included in the asp.net application, they are referenced externally.

 

We have the following issue on multiple servers, some 32 bit and some 64 bit, so I am confident it is not just a corrupted install. All are Windows Server 2008.

 

We have lots of reports and they virtually all work, but a few fail to export to Excel. The reports are shown correctly in the viewer and you can navigate through all the pages. Exporting to "Excel (Data-only)" works fine but exporting to Excel fails.

 

On these affected reports we can export 2 pages at a time, but once we have done this twice it then fails. We have done enough tests to know that it is not specific pages or data that is the problem - it appears that some buffer or variable is filling up and then the error is shown after 45 to 60 secs. It is not a corrupted report file because if we restrict the number of records below approx. 500 it works. the reports do have subreports but removing them to test did not solve the issue. There must be some difference between the reports that don't work and those that do but we don't know what - it is not the amount of data because we have larger reports that work.

 

The error that is shown is "The system couldn't find the file specified". After this error is shown trying to reload any report/report viewer results in "Unsupported Operation. A document processed by the JRC engine cannot be opened in the c++ stack." and we have to recycle the application pool

 

There are temporary files created in c:\windows\temp and I have used procman to try to spot permission errors. With it working with smaller amounts of data, but failing on cumulative attempts I guess it is some sort of memory issue that is not released. I have tried increasing various timeouts but to no avail.

 

It is very similar to an issue in SP4 - ADAPT01653219

 

We have everything working .Net v2 with an older runtime but are trying to update the project to .Net v4

 

Any suggestions on how to track the issue down and solve it.

 

Thanks,

 

Andy.


Viewing all articles
Browse latest Browse all 3636

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>