Skip to Content
author's profile photo Former Member
Former Member

Crystal Reports XI R2 Appcrash in Vista but OK in XP

I have a Windows Form VB.NET application using Crystal XI R2 to produce reports. The application works flawlessly on other machines in Windows XP, but as soon as I try to load a report in Vista the program exits with the following message -

Description:

Stopped working

Problem signature:

Problem Event Name: APPCRASH

Application Name: Manufact.exe

Application Version: 1.0.0.0

Application Timestamp: 487ed6c1

Fault Module Name: unknown

Fault Module Version: 0.0.0.0

Fault Module Timestamp: 00000000

Exception Code: c0000005

Exception Offset: 050e3ed0

OS Version: 6.0.6000.2.0.0.256.6

Locale ID: 3081

This happens (only in Vista) whether the report is sent direct to the printer or to the Crystal Report Viewer and occurs at the crReport.Load (direct print) or New CrystalDecisions.CrystalReports.Engine.ReportDocument (viewer) statements.

Despite having Try/Catch blocks and exception handling in place I get no other error messages apart from the above.

I have downloaded and installed all of the CR XI R2 service packs up to SP4 on the development machine.

I have rebuilt with CrystalReports11_5_NET_2005.msm dated 10/04/2008, re-installed but still doesn't fix problem.

I don't think it is a database issue because rest of program loads and displays data (from SQL Server) fine.

Add comment
10|10000 characters needed characters exceeded

3 Answers

  • Best Answer
    Posted on Jul 23, 2008 at 01:58 PM

    Stuart, please confirm this is happening on report load, not on app load.

    Once the report loads, does it go to the viewer, is printed directly or is exported? If exported, to what format?

    Have you checked the CR directory structure, just to check that the install went well? Look for c:\program files\business objects\common\3.5\bin. Also, check to see that the CR assemblies are in GAC and are of version 11.5.3700.

    Assumption; you are using VB .NET 2005 - please confirm.

    Ludek

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 23, 2008 at 07:30 PM

    The application is probably being trapped by DEP, which would explain why you can't trap the errors. Try adding the application to the exclude list or disabling DEP altogether.

    Disabling DEP on Vista:

    1. Click Start

    2. Click All Programs

    3. Click Accessories

    4. Right Click on Command Prompt

    5. Left click on Run as Administrator

    6. Click the Allow button if it asks you for permission

    7. Type or copy and paste this into the command prompt window:

    bcdedit.exe /set {current} nx AlwaysOff
    

    Add comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 24, 2008 at 05:11 AM

    This note may be worth a look too 1196644.

    https://www.sdn.sap.com/irj/sdn/businessobjects-notes

    Add comment
    10|10000 characters needed characters exceeded