Timeout error while loading data in Crystal Report in ASP.Net

smile
 
on Sep 16, 2020 09:58 AM
3058 Views

I wrote the following code to display the data in the crystal report in windows form.

When there is a little data then it is working fine. when there is a huge data in the database then it is taking too much time and after that showing an Timeout error and unable to load data.

Download FREE API for Word, Excel and PDF in ASP.Net: Download
dharmendr
 
on Sep 16, 2020 09:59 AM

Hi smile,

Share the code and complete error details.

Else refer below article to implement Crystal Report in Windows Form.

Basic Crystal Report Tutorial with example in Windows Forms (WinForms) Application using C# and VB.Net

smile
 
on Sep 30, 2020 09:30 PM

When there is a little data then it is working fine. when there is a huge data in the database then it is taking too much time and after that showing an error and unable to load data

dharmendr
 
on Oct 01, 2020 02:19 AM

Please share the code.

Or set SqlCommand CommandTimeout to 0 and check.

SqlCommand cmd= new SqlCommand();
cmd.CommandTimeout = 0;