I get error message "Crystal Report has stopped working " just for 1 report only, all the rest of my reports work fine - crystal-reports

I use Crystal Reports XI (11.5.12.1838) and windows 7 ;
I can open all the crystal report files except 1 report,I get error message
Crystal Report has stopped working
A problem caused the program to stop working correctly.
Windows will close the program and notify you if a solution is available"
I tried to
Reboot my PC .
Checked the Datasource and ODBC connection, all work fine.
3.in Crystal Report properties set the compatiblity mode to XP.
Unchecked the save the report with data in crystal report properties
but it still didn't help.
My other colleague can open the report on which I get error and they are using XP

If he is on XP and it works for him while it crashes for you on Windows 7, I would suspect that you need to update your CR XI to the latest service pack from SAP. But since it's only a single report that is giving you grief it may not have anything to do with that. If it is not a very complex report, try recreating it or create a test report that is using the same data connection.

If it works for him and not for you, check to make sure you have the drivers for the right version.
Someone might have put the 32 bit drivers on a 64 bit version on windows 7.

Related

rptdesign file cannot be preview in Eclipse

I'm using APIs provided by Eclipse BIRT for generating BIRT reports in my application since a few days and I haven't any problem to preview the generated reports from eclipse up to now.
Since this morning it doesn't work. it doesn't show any exception. it shows a blank report without any element inside him.
Do anyone find any explanation for this?
NOTE1: I use BIRT in windows 7 OS. I hear that there are problems to preview report from eclipse on Windows 8 OS. But it isn't my case.
NOTE2: I haven't done any update in my computer recently.
birtprofi # http://developer.actuate.com/community/forum/index.php?/topic/30484-birt-report-not-running-in-eclipse-after-update-to-windows-81/page-2
Solution for workaround to use internal browser with IE 11:
Open eclipse.ini File (same path as eclipse.exe)
Insert those 2 lines at the end of the script:
-Dorg.eclipse.swt.browser.DefaultType=ie,mozilla
-Dorg.eclipse.swt.browser.IEVersion=7000
Restart Eclipse BIRT Designer. Then it should be possible to use the internal web browser with IE 11
You should set defaul browser app. If you dont have any default browser app birt will not open anything.
For Windows 10
Settings - > System - > Default Apps - Web Browser
Set default browser.
Also for windows 8 is the smilar.

crystal report initialize on x64

I have a program that works properly on x86. also it works on systems with visual studio without error even on x64. but on x64 systems without visual studio, occur error when call reports. message exception is :
The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.
Source:
CrystalDecisions.CrystalReports.Engine
Stack Trace:
at CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor()
at CrystalDecisions.CrystalReports.Engine.ReportClass..ctor()
and message that contain this decription :
An error has occurred while attempting to load the Crystal Reports runtime.
Either the Crystal Reports registry key permissions are insufficient or the Crystal Reports runtime is not installed correctly.
Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) containing the correct version of the Crystal Reports runtime (x86, x64, or Itanium) required. Please go to http://www.businessobjects.com/support for more information.
my program is based on:
.net framework 4
visual studio 2012
crystal report 13.0.2
and install CRRuntime_64bit_13_0_2 sometimes.
Can anyone help me?
One possible solution
Go to your application project, right click, and select "Properties"
On the Build tab, find the Platform Target combo box. It probably says, "Any CPU".
Change this to x86 and your project will compile for 32 bit only, thus eliminating the issue.

"No such file or directory error" When using jasper with openerp

We have developed reports using jasper and all was ok when we developed it.
On my laptop I am able to print the report just fine this is where I ran the server and tested it.
However when I uploaded it to my ubuntu server and users try to access the same report we get an error.
"2
No such file or directory
(<type 'exceptions.OSError'>, OSError(2, 'No such file or directory'), <traceback object
at 0x7f63b8485ab8>) "
Its been two days and we are stuck. Please advice what must be wrong.
I am not sure what is wrong here.
Thank you
Vishal
So the way I solved it was by installing open jdk. As jasper is a java file it needs the compiler and the server did not have this.

How to enable the Window Error Reporting (WER) dialog. Total newbie question

After setting up WinQual and WER for the first time, I intentionally inserted a crash in a release build expecting\hoping to get the WER dialogue but instead still get the dialogue containing "runtime error! The application has requested the runtime to terminate in an unusual way...".
Everything seems to be working correctly regarding the setup of WinQual (along with all the supporting symbol server, source server,WinQual account, submitted mapping files and verified their presence my WinQual account). Now I want to verify that dump files are created, submitted to WinQual and I can retrieve them for debugging.
I verified that my PC's (XP Pro SP3) error reporting is enabled (system properties-error reporting). I figured the hard part would be setting up everything above not getting the program to actually show the WER dialogue. Is there some modification to the exe or the PC needed?
It's good to know I may not be (completely) crazy. You're right that external issues were causing problems for the WER dialogue.
I changed the crash to the code above, just in case my version was too brutal, and ran the application on three machines and it appears that the presence of Visual Studio and/or just-in-time debugging, on XP and Win7, was affecting the WER dialogue. For anyone interested this is what I saw:
XP with Visual Studio. Asked to choose a debugger and if I chose No, the program exited without the WER dialogue.
XP without Visual Studio. Displayed WER dialogue and sent the error report (yeah).
Win7 with Visual Studio. Did not crash at all.
Win7 without Visual Studio. I have not tested yet but suspect it will behave correctly.
So as you implied, a combination of the crashing code and unrepresentative testing environment were thwarting my test.
Thanks so much!
If you are using a WinForms application there is a catch handler in it's event loop that pops up a dialog and prevents Windows Error Reporting (WER) from kicking in.
This call prevents this from happening.
(http://social.msdn.microsoft.com/forums/en-US/netfxbcl/thread/176b7f8c-3efb-4e6f-8deb-c685c62629db/)
The magic line to fix:
Application.SetUnhandledExceptionMode(UnhandledExceptionMode.ThrowException);
There shouldn't be anything you need to do in the application to get it working. I suspect you've somehow managed to crash in some strange way that is not working too well with WER. Try adding a crash once the application has initialised, rather than during application startup (if that is what you're doing). I usually do something like this:
int* p=0;
*p=1;
Another possibility is that your machine isn't going to give you the same results as an end user because of the Just In Time debugger of Visual Studio, so try it on a typical end-user machine. A further possibility is that your machine is XP and WER support was at an early stage in XP and is better in Vista and Win7, so try crashing the app on a newer machine.

Error opening crystal report in excel format

We have an application written in VB.NET 2003 which has built in Crystal reports. When we install the application on Windows 2008 server
we get the following error while trying to open crystal report in excel format
Error is : Error in File :"....rpt" Error detected by export DLL.
The report opens up fine in PDF on server
Opeing report in Excel works fine on my local(development) machine...But this error is thrown on server...
Kindly help me resolve this issue and how to fix it?..
You have to download the patch crnet11win from businessobjects.com