Crystal Reports Viewer 2011 crash - visual-studio-2010

We are developing an application which generates reports in .rpt format. When we open the various types of report using Crystal Report Viewer 2011 all of them work fine except for one, which causes Crystal Report Viewer to crash ( - [Internal Error DataViewL573] ).
The application is built with Visual Studio 2005. The reports are generated with the Crystal Decisions plugin.
I have two reports; One that loads fine in the Viewer (GOOD.rpt), and one that causes it to crash (BAD.rpt).
Does anyone know of any quick avenues of investigation outside of taking apart the report construction process itself? Are there any known issues with the viewer that I should be aware of?
Cheers,
Lordmonkey.

It is probably a "corrupted" report. Not all Crystal runtime engines are created equal.
See this KB article:
http://www.jeff-net.com/support/index.php?/Knowledgebase/Article/View/16/0/my-crystal-report-will-not-run-whats-the-problem

Related

Backend export Crystal Reports to PDF

I'm newbie to Crystal Reports and would like to know, which way to go.
My challenge:
A web-service consumer asks for a PDF on a specific report (name of RPT-file).
The called web-service shall generate report output as PDF and send it to the consumer.
The machine, where the service shall run, has an installed service "SAP Crystal Reports Server 2016".
Actually I'm using Visual Studio 2019 and "Crystal Reports for Visual Studio 13 SP27".
I'm thinking of an implementation in C#.
I tried lots of examples but none seems to be basis for my challenge.
Am I on the correct track?
Any hint is welcome...

which reports service should I use?

I am working on Visual Studio 2010 , developing a windows app.
I want to create some simple reports. I am confused about which reports should I use in the application.
The reports which are available in the Visual Studio or the crystal reports.
what are the advantage of report over each other ?
I am working on reports after long time so, can I get some simple links, so I can understand workflow of it.
Crystal Reports seems well documented, more ressources available than Microsoft Reporting
Huge API in CR (just try to print a Microsoft Reporting-report without preview, that's ridiculous!)
Crystal Reports somehow slower than Microsoft Reporting with huge amount of data
Designing reports against custom BusinessObjects is really worse (Wizard isn't even able to "see" objects in another project!) in Crystal Reports
Crystal Reports's preview integration into our apps is much better than in Microsoft Reporting (just try to make your own toolbar!)
Microsoft Reporting's integration in the dev environment is superior to CR (which's habit to implement it's own DB-connection is bad taste)
Both seem to lack designers, our users can use at runtime from within our apps (not external!) to manipulate reports which we prefer to store in the DB (seems to be quite easy with Microsoft Reporting as it's only XML to be stored!) for better managability and deployment.

Old Crystal Report painfully slow in CR 2008 viewer

I have a VB6 app which connects to either a SQL Server or Oracle Database. It includes some Crystal Reports, made with an old version (CR 8.5).
I'm working on upgrading the Crystal viewer to CR 2008 (using Interop Forms Toolkit).
Everything is working fairly well, but I am seeing a few reports which are painfully slow to appear. Other reports are perfectly fine.
I would appreciate any tips for things to look at that would cause a crystal report to appear quickly in the CR 8.5 preview window, but slowly in the CR 2008 preview window.
The most recent Crystal reports version supported by VB6 is Crystal XI. I know that you can create a COM object in .NET and call it from VB6 , but this will not change the fact that Crystal 2008 is not supported. Sooner or later you will hit a report where the VB6 app will have issues, which you cannot resolve . To check if this is the case for the current reports create a temp .NET project and run one of them. If the report works fine obviously the issue is VB6. Of course there might be other reasons for the slow reports. Did you change the machine where you are running them ? If yes , do you have the same printers installed and the same drives (including mapped drives) on the new machine?
P.S. Actually to test the report in .NET you don't need to create a project. It will be easier if you download one the existing .NET Crystal viewers on the market. Usually they have trial mode , which will be enough for your test. Let me know if this will work better for you , I can post some links
Here's something that vastly sped up the processing (previewing or printing of the reports):
Open the report in the Crystal 2008 editor
Database menu, select "Verify Database"
Save
Doing that changed some fields from "PersistentMemoField" to "StringField", and removed some "DatabaseName" values. Anyway, I'm happy with the results.

Why are my Crystal Reports 2008 Reports ignoring parameters at runtime?

I've recently updated a project's Crystal Reports documents to the latest version (CR2008), these are the regular reports built into Visual Studio 2010 after installing Crystal Reports free version.
Having updated the reports, they wouldn't ask for parameters within a Windows Forms application. I managed to solve this by simply adding the parameter to the report so it was displayed (I assume this somehow refreshed the fact that there was a parameter available!).
However, the viewer now asks for the parameter but appears to ignore it when the report actually loads.
Has anyone got any ideas? I don't really want to have to make a parameter GUI for every single report and then pass them all through!
Thanks in advance.
Replacing the viewer control with the updated one appears to have solved the problem, even though they were both reading from the same reference!

Crystal Reports in Visual Studio 2010

I just made the move to Visual Studio 2010 from 2008 and I guess I didn't do enough research before I moved. I seem to have gotten myself in quite a bind.
I knew Crystal Reports was no longer a part of 2010 but the beta was downloadable. I followed this document for deployment. My only change to this document is on the bindingRedirect element I changed the newVersion attribute value to 10.5.3700.0 because that is what is in the GAC and what was in the manifest of my 2008 project.
Unfortunately this is not working. Whenever I try to run a crystal report I get the exception :
An error has occured while attempting to load the Crystal Reports runtime.
Either the Crystal Reports registery key permissions are insufficient or the Crystal Reports runtime is not installed correctly.
At this point I think I am going to have to roll back and go back to VS 2008 until SAP comes out with a runtime. I can't believe there is not a work around for this as it will break so many projects that have Crystal Reports included in them.
Has anyone been able to work around this? If so, how?
Download the required package from here, install it and it will work,
Crystal Report Runtimes
Edit:
Original link no longer working. Here is this other one (http://www.businessobjects.com/jump/xi/crvs2010/us2_default.asp) from this SO answer

Resources