SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Error: 602, Severity: 21, State: 30.


Error: 602, Severity: 21, State: 30.

Author
Message
spellbound
spellbound
SSC-Enthusiastic
SSC-Enthusiastic (119 reputation)SSC-Enthusiastic (119 reputation)SSC-Enthusiastic (119 reputation)SSC-Enthusiastic (119 reputation)SSC-Enthusiastic (119 reputation)SSC-Enthusiastic (119 reputation)SSC-Enthusiastic (119 reputation)SSC-Enthusiastic (119 reputation)

Group: General Forum Members
Points: 119 Visits: 160
Hi,

I am getting the following error on my SQL Server.

Error: 602, Severity: 21, State: 30. Could not find an entry for table or index with partition ID in database 2. This error can occur if a stored procedure references a dropped table, or metadata is corrupted. Drop and re-create the stored procedure, or execute DBCC CHECKDB.

Could you please provide a solution to overcome this error.
I had run DBCC CHECKDB on tempdb database but found no errors.
The SQL Server has the latest service pack.

Regards,

Spellbound
PaulB-TheOneAndOnly
PaulB-TheOneAndOnly
SSC Guru
SSC Guru (55K reputation)SSC Guru (55K reputation)SSC Guru (55K reputation)SSC Guru (55K reputation)SSC Guru (55K reputation)SSC Guru (55K reputation)SSC Guru (55K reputation)SSC Guru (55K reputation)

Group: General Forum Members
Points: 55961 Visits: 4639
Did you drop and re-create the offending stored procedure?

_____________________________________
Pablo (Paul) Berzukov

Author of Understanding Database Administration available at Amazon and other bookstores.

Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
maechismo_8514
maechismo_8514
SSCoach
SSCoach (15K reputation)SSCoach (15K reputation)SSCoach (15K reputation)SSCoach (15K reputation)SSCoach (15K reputation)SSCoach (15K reputation)SSCoach (15K reputation)SSCoach (15K reputation)

Group: General Forum Members
Points: 15208 Visits: 2228
spellbound (5/9/2009)
Hi,

I am getting the following error on my SQL Server.

Error: 602, Severity: 21, State: 30. Could not find an entry for table or index with partition ID in database 2. This error can occur if a stored procedure references a dropped table, or metadata is corrupted. Drop and re-create the stored procedure, or execute DBCC CHECKDB.

Could you please provide a solution to overcome this error.
I had run DBCC CHECKDB on tempdb database but found no errors.
The SQL Server has the latest service pack.

Regards,

Spellbound





As the message suggests if you did not find your tempdb corrupted, then is your code trying to refer to a temporary table the tempdb? Have you restarted the server? OR have u dropped any object that is refrrenced by your code?
spellbound
spellbound
SSC-Enthusiastic
SSC-Enthusiastic (119 reputation)SSC-Enthusiastic (119 reputation)SSC-Enthusiastic (119 reputation)SSC-Enthusiastic (119 reputation)SSC-Enthusiastic (119 reputation)SSC-Enthusiastic (119 reputation)SSC-Enthusiastic (119 reputation)SSC-Enthusiastic (119 reputation)

Group: General Forum Members
Points: 119 Visits: 160
Could you plz let me know how to get the offending stored procedure.
spellbound
spellbound
SSC-Enthusiastic
SSC-Enthusiastic (119 reputation)SSC-Enthusiastic (119 reputation)SSC-Enthusiastic (119 reputation)SSC-Enthusiastic (119 reputation)SSC-Enthusiastic (119 reputation)SSC-Enthusiastic (119 reputation)SSC-Enthusiastic (119 reputation)SSC-Enthusiastic (119 reputation)

Group: General Forum Members
Points: 119 Visits: 160
No the server has not been restarted.No idea about the dropped object.
I am getting this error everyday more than four times a day.
Fresh Squeeze
Fresh Squeeze
SSC Veteran
SSC Veteran (233 reputation)SSC Veteran (233 reputation)SSC Veteran (233 reputation)SSC Veteran (233 reputation)SSC Veteran (233 reputation)SSC Veteran (233 reputation)SSC Veteran (233 reputation)SSC Veteran (233 reputation)

Group: General Forum Members
Points: 233 Visits: 43
Not sure if this issue got resolved for you but I wanted to pass on this fix that Microsoft issued for this particular error :

Cumulative Update 4 for SQL Server 2005 Service Pack 2 (build 3200)

http://support.microsoft.com/kb/937343


Apparently this error then causes the sql server to shutdown inadvertantly, and if you are running in a cluster then it may failover or may have to manually failover and re-start SQL.
Anders Pedersen
Anders Pedersen
SSChampion
SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)

Group: General Forum Members
Points: 10036 Visits: 902
I just had this problem on one of my test servers. Simply restarted it and it went away, which you would expect with the problem being in tempdb, unless there was corruption in model database (and/or systemresource database on 2005 and 2008?).
karamshuk
karamshuk
Valued Member
Valued Member (59 reputation)Valued Member (59 reputation)Valued Member (59 reputation)Valued Member (59 reputation)Valued Member (59 reputation)Valued Member (59 reputation)Valued Member (59 reputation)Valued Member (59 reputation)

Group: General Forum Members
Points: 59 Visits: 0
http://support.microsoft.com/kb/937343
rembri
rembri
Valued Member
Valued Member (52 reputation)Valued Member (52 reputation)Valued Member (52 reputation)Valued Member (52 reputation)Valued Member (52 reputation)Valued Member (52 reputation)Valued Member (52 reputation)Valued Member (52 reputation)

Group: General Forum Members
Points: 52 Visits: 22
Hello
We have installed SP2 (9.00.3042.00 SP2 Standard Edition)
but get this error yesterday.
Is there another known problem?
Meet George Jetson
Meet George Jetson
SSCrazy Eights
SSCrazy Eights (8.9K reputation)SSCrazy Eights (8.9K reputation)SSCrazy Eights (8.9K reputation)SSCrazy Eights (8.9K reputation)SSCrazy Eights (8.9K reputation)SSCrazy Eights (8.9K reputation)SSCrazy Eights (8.9K reputation)SSCrazy Eights (8.9K reputation)

Group: General Forum Members
Points: 8879 Visits: 1421
Did you apply the cumulative update for SP2, we had the same issue when we did a migration a couple of months ago and just applied the cumulative update to fix.

Please take a look at this link, it is a list of all SP's and updates with links for download.

http://sqlserverbuilds.blogspot.com/

Good Luck

Chris Powell

George: You're kidding.
Elroy: Nope.
George: Then lie to me and say you're kidding.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum








































































































































































SQLServerCentral


Search