简体   繁体   中英

Crystal Reports Visual Studio 2008 and SQL Server 2008 R2

I have a Windows Forms application that was created in Visual Studio 2008 and targets .NET 3.5. It uses the embedded version of Crystal Reports that comes with VS 2008. It was calling a SQL 2000 database successfully.

The company upgraded to SQL Server 2008 R2. The Windows Forms .Net application connections using ADO work fine with the new database. Unfortunately Crystal Reports now hangs. It opens the shell but doesn't open and populate the reports.

Is there a compatibility issue?

You were prompted the first time because you have the option checked for 'Verify on First Refresh'.

  • Uncheck 'Save data in the report' and save/close.
  • Reopen and 'Set Datasource Location...' to new database server.
  • Click 'Verify Database'. (Should recieve success message)
  • If still not working 'Set Datasource Location...' to the old database server and verify it works at all. Then click on 'Show SQL Query' and verify statement returns results on new server by executing query manually.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM