SAP Knowledge Base Article - Public

1200756 - Crystal Reports 2008 designer stops working in Visual Studio 2008 on Vista

Symptom

  • When opening a Crystal Report in Visual Studio on an Windows Vista machine, the designer may cause the Visual Studio IDE to shut down and re-open

Environment

  • SAP Crystal Reports for Visual Studio

Cause

  • To use Crystal Reports for Visual Studio components with Visual Studio 2008 under Windows Vista, you must first disable Data Execution Prevention (DEP). If DEP is enabled, the Crystal Reports Embedded Designer may stop functioning and you will be unable to continue working with your project.

Resolution

  • To disable MS Windows DEP:
    1. Open a command prompt as Administrator.
    2. Run the following command: bcdedit.exe /set nx AlwaysOff
    3. Reboot the machine.
To restore DEP to the Windows Vista default, use the following command: bcdedit.exe /set nx OptIn
 

NOTE

You must run the command line as Administrator to enable and disable DEP.

Keywords

DEP, Data Execution Prevention, Crash, restart, close, .NET , 5347903 , KBA , BI-RA-CR , Crystal Reports designer or Business View Manager , Bug Filed

Product

Crystal Reports 2008 V1