473,387 Members | 1,295 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Patch for KB948110 causing random "Could not find database table ID"errors

Running MSDE 2000 SP2 on Windows XP SP3.

I have a T-SQL script that is relatively simple (adding constraints,
inserting rows, etc.) and short (maybe 300 lines, heavily commented).
It's an upgrade script I wrote weeks ago, and has worked fine
everywhere.

After the patch from last Wednesday. "Security Update for SQL Server
2000 Service Pack 4 (KB948110)", I have gotten the following error on
two different machines, using a copy of the script from our source
control that is known to be many weeks old, and to have worked:

Server: Msg 615, Level 21, State 1, Line 1
Could not find database table ID 8, name 'MyDatabase'.

The script gets this error about 75% of the time - and sometimes it
runs fine. When it fails, I cannot locate the exact line of code - it
seems to be random. I've never seen this error message before, and
Google Groups has no hits for "Could not find database table ID".
Google Web has about 15 hits, all of which seem unrelated.

Googling for "KB948110" has led to a handful of people having various
problems with this patch, but not mine. I did notice someone complain
that the patch had been applied to SQL Server 2000 SP3 database when
it should not have. This made me realize that this SP4 patch had been
applied to my MSDE 2000 SP2 database, which I assume it should not
have.

Uninstalling the patch fixed the problem. Interestingly, re-
installing the patch did not bring back the error message.

Some interesting links:

http://support.microsoft.com/default...b;en-us;224071
http://simultaneouspancakes.com/Less...nd-sharepoint/
http://blogs.technet.com/sbs/archive...3-servers.aspx

Anyone else seeing this? Anyone know if Microsoft aware of it?
Thanks.
Jul 12 '08 #1
3 5991
Larry Leonard (La***@definitivesolutions.com) writes:
Googling for "KB948110" has led to a handful of people having various
problems with this patch, but not mine. I did notice someone complain
that the patch had been applied to SQL Server 2000 SP3 database when
it should not have. This made me realize that this SP4 patch had been
applied to my MSDE 2000 SP2 database, which I assume it should not
have.
It sounds scary that the hotfix installed despite that you were only on SP2.
Then again, the download pages says "Security Update for SQL Server 2000
Service Pack 4 and MSDE 2000" without any service pack indication for
MSDE. Yet, then again, I don't get less scared if this really means that
the hotfix would install itself on MSDE 2000 RTM if it got the chance.
Uninstalling the patch fixed the problem. Interestingly, re-
installing the patch did not bring back the error message.
You didn't consider installing SP4 while you were at it? :-)

I don't know exactly what is in this hotfix, but SP3 (and SP4 of course)
includes the fix for the Slammer worm, which is far bigger threat than
the issues addressed by this hotfix. And that vulnerability was not in
the engine itself, so may still not have that protection. (Unless you
have previously installed the hotfix for SP2 for Slammer.)

As for the error message, the condition is gone, so it's not easy to
repeat and examine, so I guess that all you can do is to chalk up one
more for the green man in the machine. :-)

--
Erland Sommarskog, SQL Server MVP, es****@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx
Jul 12 '08 #2
It sounds scary that the hotfix installed despite that you were only on SP2.
Then again, the download pages says "Security Update for SQL Server 2000
Service Pack 4 and MSDE 2000" without any service pack indication for
MSDE.
Well, I finally discovered it has nothing to do with the MS patch – I
“ghosted” an image from April that fails the exact same way.
You didn't consider installing SP4 while you were at it? :-)
If I could move up to SP4, you think I'd still be using 2000 at
all? :-)
As for the error message, the condition is gone, so it's not easy to
repeat and examine, so I guess that all you can do is to chalk up one
more for the green man in the machine. :-)
It's easy to repeat now: it’s happening on five machines, each with
their own MSDE database. I finally tracked it down to the USE
command: these two lines, believe it or not, give me the “Could not
find database table ID #, name 'x'” error:

USE MyDatabase
DECLARE @X INT

Fortunately, I can re-write my short script to use the
database.dbo.table syntax.

This ( http://www.eggheadcafe.com/software/...base-name.aspx
) is exactly what I’m experiencing, but all our collations are set to
the default of LATIN1_GENERAL_CP1_CI_AS, so I don’t think it’s a
collation problem.

I wonder if something’s gang agley in the master database? When I say
“SELECT name FROM sysdatabases”, I see all my databases, so why
doesn’t USE see them? How hard is it to rebuild master?
Jul 18 '08 #3
Larry Leonard (La***************@gmail.com) writes:
>It sounds scary that the hotfix installed despite that you were only on
SP2. Then again, the download pages says "Security Update for SQL
Server 2000 Service Pack 4 and MSDE 2000" without any service pack
indication for MSDE.

Well, I finally discovered it has nothing to do with the MS patch – I
"ghosted" an image from April that fails the exact same way.
If I understand this right, you get this error on MSDE 2000 SP2, without
the security fix as well?
This ( http://www.eggheadcafe.com/software/...base-name.aspx
) is exactly what I'm experiencing, but all our collations are set to
the default of LATIN1_GENERAL_CP1_CI_AS, so I don't think it's a
collation problem.
I cannot see any connection between your error and that link. When I think
of it, the error message is:

Server: Msg 615, Level 21, State 1, Line 1
Could not find database table ID 8, name 'MyDatabase'.

Database table 8 is sysfiles1. Let's see, is the database set to auto-close?
If it is, SQL Server would have to open it, and to find all files, in
needs to look in one of sysfiles and sysfiles1, to find any secondary
files.

Notice that the severity of the level is 21, which is a very high level.
Books Online says:

Severity Level 21: SQL Server Fatal Error in Database (dbid) Processes

These messages indicate that you have encountered a problem that
affects all processes in the current database; however, it is unlikely
that the database itself has been damaged.

So this is an error that "should not occur". I would suspect a bug that
thrashes an internal memory or somesuch.

--
Erland Sommarskog, SQL Server MVP, es****@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx
Jul 18 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Don Isgitt | last post by:
Environment: Server running Redhat 3.2.3-20 on quad Xeon 2.4 Postgresql 7.4 compiled from source (gcc 3.2.3) Application written in Perl (5.8.0) using Tk, DBI and DBD Client accessing DB using...
4
by: jim | last post by:
I'm trying to import a 625MB, tab-delimited .txt file into Access, but I keep receiving the following error after several minutes of what seem to be noble attempts by Access to render the data: ...
4
by: lawrence k | last post by:
I've a jpeg image that is 514k, which doesn't strike me as very large. Yet I'm running out of error when I try to resize it: Fatal error: Allowed memory size of 20971520 bytes exhausted (tried to...
2
by: dave | last post by:
Hi, I have searched for the answer for this error message without success. I have seen the question many times though:) I create an ASP.NET project (VS 2005, C#), and use a very simple .mdf...
3
by: Twanne | last post by:
Hi, I've got a table called Aerosol and a table called LinkTabel. Now I do an update to a table from an excell sheet, this table is called ExportAerosol. So far so good, the import works...
0
by: rangi500 | last post by:
Hello, We've recently started getting errors like this: Last error: ERROR: could not write to hash-join temporary file: No space left on device But there is plenty of space on the all the...
11
by: fniles | last post by:
One of our application uses VB6 and Access97 database. Another application uses VB.NET 2005. This morning for about 15 seconds when the application tries to read either a query or a table from the...
0
by: Chuckk Hubbard | last post by:
The docs say to try to discover the URI on my own if this happens. Could I get a hand doing that? This isn't just something I want to solve on my machine, e.g. by changing my network setup or what...
0
by: Chuckk Hubbard | last post by:
OK, I think I have it. The Manual says to start a Name Server "using the ns command", and I figured out that means using the pyro-ns script. On Mon, Nov 10, 2008 at 10:49 AM, Chuckk Hubbard...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.