Support Home Sales Website Technology Contact Us
RDP Support  

RDPWin KB Booking Engine - IRM.Net RDPWin4 & PCI Compliance Search

Unable to Get Window Handle for the AxCrystalActiveXReportViewerControl Crystal Error on Windows Vista, Windows 7, Windows 2008, Windows 2003

Article ID#: KWin0060
Updated: 08/06/12
Added: 06/7/10 - SS/SW


On Windows Server 2008 (32 or 64 bit), a Crystal report run from RDPWin will come up with a blank screen.  On Windows 7 (32 or 64 bit), Vista (32 or 64 bit), or Server 2003 the following error message appears:

Unable to get the window handle for the 'AxCrystalActiveXReportViewer' control. Windowless ActiveX controls are not supported. (Trace: Reports-PreviewReport).

The error is caused by an incompatibility with Crystal 10 and the newer Microsoft operating systems.  The solution for both issues is the same.

Solution for Windows Server 2008, Windows 7, and Windows Vista

Turn off Data Execution Protection (DEP).

  1. Right-click on Command Prompt from the Start | Programs | Accessories menu.
  2. Select Run as Administrator.  Login using the Administrator password.
  3. At the Command Prompt, enter "bcdedit.exe /set {current} nx AlwaysOff" and press <ENTER>.

  4. Reboot the computer.  This step cannot be skipped.

Solution for Windows Server 2003

Turn off Data Execution Protection (DEP).

  1. Log into the Windows Server 2003 machine as Administrator.
  2. Open Windows Explorer.
  3. Click Tools --> Folder Options --> click the View tab.
  4. Uncheck Hide Protected Operating System Files (Recommended) and Hide Extensions for Known File Types.
  5. Click Apply --> click OK.
  6. Browse to C:\
  7. Right click on the boot.ini file --> select Properties --> uncheck the Read-Only attribute --> click OK.
  8. Right click on the boot.ini file --> select Edit or if Edit is not listed, select Open With and choose Notepad.
  9. Change the /NoExecute=  to /NoExecute=AlwaysOff to disable DEP.
    Disable DEP
  10. Click File --> Save.
  11. Right click the boot.ini file --> select Properties --> check the Read-Only attribute --> click OK.
  12. Reboot the computer.

Support Home  RDPWin4 & PCI Compliance Enhancement Requests Open A Web Support Ticket
Training New Sales Website Old Sales Website Contact Us

 Facebook     Twitter      LinkedIn   TODF