Question : Microsoft OLE DB Provider for SQL Server error '80040e31' Timeout expired .

Hello All,

I am developed a stored procedure in SQL Server which takes the CSV file coverts its rows into sql Rows. I Have an ASP page where I upload the CSV file and click on the Add button. This takes the file name and excutes the stored procedure. This works fine. A table (main table) in the backend gets created with all the SQL rows. This table has additional columns which gets the data from other tables like region (the value comes from region table). I have developed an ASP page which does the job of updating the main table with the values from transaction tables. Therefore this ASP page has many loops and has to process more than 5000 records at a time. When it starts processing more then 1000 records , it gives me an error. Microsoft OLE DB Provider for SQL Server error '80040e31' Timeout expired . Please help me in resolving this issue.This is quite urgent.


Answer : Microsoft OLE DB Provider for SQL Server error '80040e31' Timeout expired .

If all of this information is in your SQL database, then why aren't you having the SQL server do all the work that your ASP is doing?  It would save you a lot of processing time and looping within ASP.
Random Solutions  
 
programming4us programming4us