Hi Friends,
I'm using Dataset.xsd with tableadapter and I'm doing a report using MS reporting service.
but the error is occurring
error: An error has occurred during report processing.
* Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding
How To Resolve TimeOut Error in Dataset.xsd
Thanx
Loading

Jignesh KumarPosted Aug 3, 2018, 3:55 AM
venkatesan rPosted Aug 3, 2018, 1:29 AM
Jignesh KumarPosted Aug 2, 2018, 1:23 PM
venkatesan rPosted Aug 2, 2018, 8:48 AM
Fidel HPosted Nov 26, 2013, 3:57 PM
Sunny SharmaPosted Oct 10, 2013, 6:17 AM
Open Dataset.Designer.cs file and replace the following code:
---------------------------------------------------------------
protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
get {
if ((this._commandCollection == null)) {
this.InitCommandCollection();
}
return this._commandCollection;
}
}
----------------------------------------------------------------
with this one:
----------------------------------------------------------------
protected global::System.Data.SqlClient.SqlCommand[] CommandCollection
{
get
{
if ((this._commandCollection == null))
{
this.InitCommandCollection();
_commandCollection[0].CommandTimeout = 0;
}
_commandCollection[0].CommandTimeout = 0;
return this._commandCollection;
}
}
----------------------------------------------------------------
Hope it helps :)