BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

What is a "State:" code in error messages of SQL Server?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (SQL Servers)
View previous topic :: View next topic  
Author Message
Sarah
Guest





PostPosted: Thu Nov 03, 2005 3:50 pm    Post subject: What is a "State:" code in error messages of SQL Server? Reply with quote



What is the significance of a "State: " number in an error message in SQL Server 2000?

I am using SQL Server 2000 Standard edition,
and I am seeing the below error message hundreds of times
if I profile a database for a few minutes:

Error: 602, Severity: 21, State: 16

I found the below link that *exactly* matches the above error, including the state code:
http://support.microsoft.com/kb/279793/EN-US/
But Microsoft claims they fixed that issue a long time ago.

If I search sysmessages table for the 602 error with
select * from master..sysmessages where error = 602

I get the below results:
<ColumnName = Value>,

error = 602,
Severity = 21,
dlevel = 0,
description = Could not find row in sysindexes for database ID %d, object ID %ld, index ID %d. Run DBCC CHECKTABLE on sysindexes.,
msglangid = 1033

Is that dlevel is nothing but *State*?

Since my sysmessages table does not contain that state#16,
should I assume this is an unexpected bug?
Or should I simply treat it as a problem with indexes?
Btw, reindexing the database every night is not helping to fix this.

I am going crazy with this error, and with all it's ambiguity.
Any help will be highly appreciated

Thanks,
Sarah
Back to top
Sarah
Guest





PostPosted: Thu Nov 03, 2005 7:17 pm    Post subject: Re: What is a "State:" code in error messages of SQL Server? Reply with quote



Okay, Microsoft uses these State IDs to know
which part of their code was going panic at the time of an exception:
http://msdn.microsoft.com/library/?url=/library/en-us/acdata/ac_8_con_05_6zw8.asp?frame=true

If I pay them $250.00 per each support call,
they would throw some light on that part of the code and let us know what to do.

Thanks,
Sarah
Back to top
Oliver Townshend
Guest





PostPosted: Mon Nov 07, 2005 6:22 am    Post subject: Re: What is a "State:" code in error messages of SQL Server? Reply with quote



Quote:
I found the below link that *exactly* matches the above error, including
the state code:
http://support.microsoft.com/kb/279793/EN-US/
But Microsoft claims they fixed that issue a long time ago.

No, they claim it's fixed in SQL Server 7, Service Pack 3. You have 2000.
So it may not be the same error.

The best advise in that support link would be to backup the database and
then restore it, which may remove the corruption.

Oliver Townshend



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (SQL Servers) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.