Accessibility

TechNote (Archived)

cfreport tag throws an 'Error number 599'

Issue


When using the cfreport tag in a ColdFusion application, you may encounter the following error:

 An unexpected error occurred while using the Crystal Engine. Error number 599 ocurred (Cannot open SQL server.). 

This error is misleading, as the problem is not with Crystal Reports. Rather, the Crystal Engine is having problems with the data source that is providing the data for thecfreport tag.

Solution


  1. Open the report in Crystal Reports.
  2. If the report displays correctly, continue to step 3. If not, the issue must be corrected in Crystal Reports before continuing.
  3. Run the ColdFusion page containing the cfreport tag.

    If it fails, the error is typically caused by the use of a trusted connection to the data source. Please see TechNote 18245 on how to configure ColdFusion MX to work with a trusted connection to SQL Server.

    Note: SQL Server trusted connections require using the ODBC Socket Type 3 driver. The recommended option is to use SQL authentication, in order to use the Microsoft SQL Server Type 4 JDBC driver.

Additional Information


Related TechNotes:


AlertThis content requires Flash

To view this content, JavaScript must be enabled, and you need the latest version of the Adobe Flash Player.

Download the free Flash Player now!

Get Adobe Flash Player

Creative Commons License

Search Support


Document Details

ID:tn_19423
Browser:Chrome
Internet Explorer
Netscape
Opera
Safari
Firefox
Database:SQL Server

Products Affected: