Wrox Programmer Forums
|
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 24th, 2005, 08:53 AM
SQLScott's Avatar
Wrox Author
 
Join Date: Dec 2004
Posts: 338
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Ryan (nikotromus) :-),
I think you are on the right path. Instead of a corrupt table you might have corrupt data somewhere. This might take a while but i would load a smaller subset (say, 1000 records) and try it. Then maybe to 50,000, then 100,000 and so on. I think this is going to be a process of elimination.

 
Old July 24th, 2005, 06:48 PM
Authorized User
 
Join Date: Aug 2004
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Scott,

I dont think this is the issue. I say this because if I delete records a day at a time or two days at a time, the queries run. I can purge the entire table by performing these queries until the table is empty. If it were a problem with the data, I would be able to narrow it down to the individual data, and then eventually the individual record from there.

nikotromus
 
Old May 25th, 2006, 12:07 PM
Registered User
 
Join Date: May 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi!

I have the same timeout expired problem but with UPDATEs. I checked and rechecked the timeout setting and it's put to 0.

I'm trying to make an UPDATE over a table of one million records, so it would be REALLY difficult for me to make it in parts.

Any ideas?
 
Old May 25th, 2006, 06:37 PM
Friend of Wrox
 
Join Date: Aug 2004
Posts: 385
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I forget is there a timeout setting on the client app as well as the server app???



 
Old May 25th, 2006, 10:28 PM
SQLScott's Avatar
Wrox Author
 
Join Date: Dec 2004
Posts: 338
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Yes, there is a timeout setting on the client as well. Assuming you are using .NET to connect, it is on the sqlcommand object and it is the commandtimeout property.

 
Old December 5th, 2006, 10:25 AM
Registered User
 
Join Date: Dec 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hey
   I am facing somewhat the same kinda problem but its not when i update multiple records but when i update one field of a table which has a very long data.
i can update all the rest of the fields but the description field cos it has a longggggggg text. when i delete or update it creates a problem .. when i go to database--->management-->current activities folder in EM . it show me that few processes are blocked or one blocking with a red exclamation.
i try to kill the process but the status remains the same.
all i end up doing is turn the database off and then put it on ..
it deletes all the blocked processes after that and then accepts the new request.
and the interesting part of the error is .. when i delete/update one of the records.. it doesnt do it but if i update/delete the other recrds in the same table it gets stuck and after sometime either it doesnt respond back or it says timeout expired.
Please help me solve this issue.
thanks
Smita

 
Old December 5th, 2006, 03:54 PM
Friend of Wrox
 
Join Date: Aug 2004
Posts: 385
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Is your app a web app, if so the timeout may be on the web server?






Similar Threads
Thread Thread Starter Forum Replies Last Post
Login Timeout Expired error smnel ASP.NET 2.0 Basics 0 May 7th, 2008 06:58 AM
Error:-2147217871 Timeout expired sgsandeep SQL Server 2000 11 November 20th, 2007 08:49 PM
Timeout Expired Error dhara_adh SQL Server 2000 4 December 22nd, 2006 04:18 PM
Timeout Expired Error dbalachandar SQL Server 2000 3 July 28th, 2006 01:35 AM
Timeout Expired Error vinod_pawar1 SQL Server 2000 5 July 17th, 2004 09:37 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.