Error Opening a recordset in Crystal Report .NET

I'm currently developing an application in VB.NET 2001. I'm using Crystal Report shipped with Visual Studio.NET 2001. The problem is that, when I try to open a recordset in one of the reports, the recordset containing 269695 records, the Crystal Report Viewer returns a message — "Could not open recordset", and displays no records. Moreover, it is unable to display the lines and boxes drawn on the report. And all the buttons on the report viewer control is disabled. I'm using SQL Server 2000 as a backend.
      Would somebody give me a solution to my problem. It's urgent.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

>>> to open a recordset in one of the reports, the recordset containing 269695 records, t

Why are you retrieving such a huge number of records 269695 one time? Do you have WHERE clause in your select statment?

If you really want to retrieve such huge number of records at a time, use DataReader (can quickly access data once, in a forward-only and read-only manner). Get records in chunks instead of a lot at once. You can modify your WHERE clause everytime you fetch records.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
check your select statement whether it is indeed returning rows
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.