Article ID: 926929 - Last Review: November 2, 2007 - Revision: 1.2 You cannot connect to a named instance of SQL Server 2000 by using the shared memory protocol after you remove the default instance
SQL Bug #: 444012 (SQLBUDT) Important This article contains information about how to modify the
registry. Make sure to back up the registry before you modify it. Make sure
that you know how to restore the registry if a problem occurs. For more
information about how to back up, restore, and modify the registry, click the
following article number to view the article in the Microsoft Knowledge Base: 256986
(http://support.microsoft.com/kb/256986/
)
Description of the Microsoft Windows registry SYMPTOMSConsider the following scenario. You are running Microsoft SQL Server 2000 as a default
instance and as a named instance. You connect to SQL Server 2000 by using the shared
memory protocol. You uninstall the default instance of SQL Server 2000. In this scenario, you
cannot use local client applications to connect to the named instance.
Additionally, you may receive an error message when you try to connect by using Microsoft SQL Native Client or Microsoft Visual Studio 2005. When you try to connect to the named instance by using SQL Native Client, you receive the following error message: [SQL Native Client]Shared Memory Provider:
Shared memory connectivity to SQL Server 2000 is either disabled or not
available on this machine [87]. [SQL Native Client]Login timeout expired [SQL Native Client]An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. An error has occurred while establishing a
connection to the server. When connecting to SQL Server 2005, this failure may
be caused by the fact that under the default settings SQL Server does not allow
remote connections. (provider: SQL Network Interfaces, error: 26 - Error
Locating Server/Instance Specified) (Microsoft SQL Server, Error: -1)
CAUSEThis problem occurs because
the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer\Client\SharedMemoryOn
registry subkey is removed when you uninstall the default
instance of SQL Server 2000.WORKAROUNDWarning Serious problems might occur if you modify the registry
incorrectly by using Registry Editor or by using another method. These problems
might require that you reinstall your operating system. Microsoft cannot
guarantee that these problems can be solved. Modify the registry at your own
risk. To work around this problem, use one of the following methods:
STATUSMicrosoft
has confirmed that this is a problem in the Microsoft products that are listed
in the "Applies to" section. | Other Resources Other Support Sites
CommunityGet Help NowArticle Translations
|






Windows Live
Facebook
Twitter
Linkedin
Digg it
Yahoo
Delicious
StumbleUpon
Yammer
Reddit
Technorati
FriendFeed
Email
Back to the top
