SAP Knowledge Base Article - Public

1218357 - Error: "Logon failed" when attempting to change database in .NET application


An application uses the Crystal Reports 10 .NET SDK as the reporting development tool. When the application attempts to change the database name or server to another database of the same type, an error message similar to the following appears:

Message: "Logon failed.

Details: IM002:[Microsoft][ODBC Driver Manager] Data

source name not found and no default driver specified

Error in File


Unable to connect: incorrect log on parameters."


This known issue has been assigned Track ID ADAPT00353320, and affects the following:

" Crystal Reports (CR) 10

Hot Fixes or Service Packs address this issue as indicated below. With the update(s), the internal SDK method of setting a database table's location was inadvertently stripping out needed information when changing the database name or database server. The original logon properties are now kept intact and only the modified properties are replaced when changing the database.

Unless indicated otherwise, Weekly Hot Fix updates from the FTP site have only been tested with English versions of our products.



Hot Fixes and Service Packs are not designed for OEM versions. Do not apply these updates if you are using an OEM version. To determine if you are using an OEM version, refer to the OEM Product Warning.


Crystal Reports 10


For Crystal Reports 10 for Windows, the latest update for this issue is available on the Downloads area of our website.

This issue is addressed in the following components (and later versions):

  • CrystalDecisions.CrystalReports.Engine.dll, version 10.0.9500.15, dated 12/20/2004
  • CrystalDecisions.CrystalReports.Engine.Resources.dll, version 10.0.9500.15, dated 12/20/2004

Monthly Hot Fixes and Service Packs


To determine if this issue is also addressed in a Monthly Hot Fix or Service Pack for your Crystal product, search the readme file for the Track ID number (that is, ADAPTXXXXXXXX) in the latest Monthly Hot Fix or Service Pack.

Monthly Hot Fix and Service Pack readmes for Crystal products are found on the Downloads area of our website.



Issues addressed on one operating system platform at the Weekly Hot Fix level may be addressed later on multiple operating system platforms (if applicable) at the Monthly Hot Fix and Service Packs level. For example, an issue only resolved on the Windows platform in a Weekly Hot Fix may be resolved later on UNIX platforms such as IBM AIX and Sun Solaris in future Monthly Hot Fixes or Service Packs for these platforms.

To determine if these issues are resolved in a Monthly Hot Fix or Service Pack on another platform, search for the Track ID number in the readme at the locations indicated above.


See Also

For more information on the issues addressed in the Hot Fix or Service Pack, view the readme PDF or text file included in the ZIP or TAR file.

For more information on the different update types, refer to our Hot Fix and Service Pack FAQ.


CR CE WHF 353320 INCORRECT LOG ON PARAMETERS SWITCHING DATA BASE Crystal Reports .NET Application Changing Databases Error Message , c2016905 , KBA , BI-RA-CR , Crystal Reports designer or Business View Manager , Bug Filed


SAP Crystal Reports 10.0