Question Locked

Error 20599 Cannot open SQL Server

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I am using Crystal Reports 4 and calling it from VB6 using the Crystal reports OCX.

In Crystal Reports,If I check 'Save Data With Report',then it is working fine from VB.

But the report is not refreshed with latest data.

And If I Uncheck 'Save Data With Report' from Crystal reports and call it from VB then it is giving error like
----------------------
Run-time error '20599'
Cannot Open Sql Server
-----------------------
The report is working fine in Crystal Report Environment.

Can you please help me out ,its very urgent.

With Best Regards

by Johnson Mathew

2 replies

by hodkinss

Are you really using Crystal Reports 4? I think it will have the wrong SQL driver.

Which version of SQL Server are you using?

I would suggest the Business Objects web site to see if your version of Crystal has the correct driver for your version of SQL Server

This discussion is closed to new replies.