SAP Knowledge Base Article - Public

2799309 - Error: 'Failed to create the Crystal Database Connector.' occurs in Crystal Reports

Symptom

  • Crystal Reports crash.
  • Unable to open and refresh reports in Crystal Reports.
  • When trying to connect to a database in Crystal Reports, the application crash.
  • When attempting to create a new report in Crystal Reports, it display the error:  'Failed to create the Crystal Database Connector.' 

Environment

  • SAP Crystal Reports 2013
  • SAP Crystal Reports 2016

Reproducing the Issue

  1. Start Crystal Reports.
  2. When attempting to create a new report, it generates the error:  'Failed to create the Crystal Database Connector.' 

Cause

  • The issue occurs because Crystal Reports cannot access the required folders, drivers, or registry keys required to execute successfully. Below is a list of examples that causes this issue:
    • The required drivers are not registered due to an unsuccessful installation of Crystal Reports.
    • MS Windows user does not have rights to the TEMP folder, which is required for Crystal Reports to run successfully.
    • Crystal Reports is installed on an unsupported virtual environment, and the user does not have enough rights.

Resolution

  • If Crystal Reports is installed on your local computer:
      
    1. In MS Windows, logon as the Local computer Administrator.
        
    2. Test using Crystal Reports:

      • If the issue cannot be reproduced, then it confirmed the issue was due to rights, therefore contact your Administrator to ensure the MS Windows User have enough rights, and have access to the Temp folder.
             
      • If the issue still occurs, then it is most likely because not all drivers required were registered, therefore perform a Repair on Crystal Reports installation as the Local computer Administrator.
                           
            
  • If you are executing Crystal Reports from a virtual environment:
             
    1. Verify the virtual environment used is supported by consulting the Supported Platform of Crystal Reports.
    2. If the virtual environment is supported, then the issue is most likely due to the user in the virtual environment not having enough rights, or access to the Temp folder, therefore contact your Administrator.
              
      Note: A good test to troubleshoot this type of issue is to execute Crystal Reports directly on the server where the product is actually installed, as the Local Computer Administrator.

Keywords

CR, CR crash , KBA , BI-RA-CR , Crystal Reports designer or BusinessViews Manager , Problem

Product

SAP Crystal Reports 2011 ; SAP Crystal Reports 2013 ; SAP Crystal Reports 2016