TimeOut Expired. Using Temporary tables
From: DotNetJunkies User (User_at_-NOSPAM-DotNetJunkies.com)
Date: 07/30/04
- Next message: Frank Rizzo: "ExecuteScalar alternative"
- Previous message: Kevin Yu [MSFT]: "RE: Repost Can't populate 2nd listbox from selected value of firs"
- Next in thread: Miha Markic [MVP C#]: "Re: TimeOut Expired. Using Temporary tables"
- Reply: Miha Markic [MVP C#]: "Re: TimeOut Expired. Using Temporary tables"
- Reply: Peter Vervoorn: "Re: TimeOut Expired. Using Temporary tables"
- Reply: William \(Bill\) Vaughn: "Re: TimeOut Expired. Using Temporary tables"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 29 Jul 2004 22:11:17 -0700
Hi,
I have a temporary table which contains around 2.7 million records. I am iterating through these records in a WHILE Loop and performing certain business rules on these records. Within the loop too i am using a large number of temporary tables.
This entire processing is being done in a stored procedure which is being executed using ADO.NET's ExecuteNonQuery method. The COMMAND object on which this is being executed has its CommandTimeOut property set to 0.
However after around 18 hrs of processing time i get a TimeOut error. This error comes everytime and it takes around 18 hrs each time.
Plz help.
Snapshot of the error log entry is as follows:
*********************************************
Error Type: System.Data.SqlClient.SqlException
Errors: System.Data.SqlClient.SqlErrorCollection
Class: 10
LineNumber: 0
Message: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
Number: -2
Procedure: ConnectionRead (WrapperRead()).
Server:
State: 0
Source: .Net SqlClient Data Provider
TargetSite: System.Data.SqlClient.SqlDataReader ExecuteReader(System.Data.CommandBehavior, System.Data.SqlClient.RunBehavior, Boolean)
HelpLink: NULL
*******************************************
--- Posted using Wimdows.net NntpNews Component - Post Made from http://www.DotNetJunkies.com/newsgroups Our newsgroup engine supports Post Alerts, Ratings, and Searching.
- Next message: Frank Rizzo: "ExecuteScalar alternative"
- Previous message: Kevin Yu [MSFT]: "RE: Repost Can't populate 2nd listbox from selected value of firs"
- Next in thread: Miha Markic [MVP C#]: "Re: TimeOut Expired. Using Temporary tables"
- Reply: Miha Markic [MVP C#]: "Re: TimeOut Expired. Using Temporary tables"
- Reply: Peter Vervoorn: "Re: TimeOut Expired. Using Temporary tables"
- Reply: William \(Bill\) Vaughn: "Re: TimeOut Expired. Using Temporary tables"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|