FIX: SEM New SQL Server Registration Using Long Server Name Fails with Access Violation

Article translations Article translations
Article ID: 293430 - View products that this article applies to.
This article was previously published under Q293430
BUG # 352320 (SHILOH_BUGS)
Expand all | Collapse all


Attempting to register a SQL Server with a server name over 128 characters in length, using the New SQL Server Registration dialog box, results in the SQL Enterprise Manager (SEM) abruptly terminating with an application exception or unhandled access violation (AV).


SEM New SQL Server Registration dialog box truncates names to 60 characters. Valid "server alias names" may be longer than the character limit of 60. If the "server alias names" is over 128 characters in length, the SQL Server Name buffer size is exceeded, causing an application exception which terminates the Enterprise Manager.


To resolve this problem, obtain the latest service pack for SQL Server 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
290211 INF: How to Obtain the Latest SQL Server 2000 Service Pack


Keep "Server Alias Names" to 128 characters or less. Also, by design, Enterprise Manager truncates long Server Names to 60 characters. The longer server name will appear in the Available Servers list, but SEM will not be able to connect to it.


Microsoft has confirmed that this is a problem in SQL Server 2000. This problem was first corrected in SQL Server 2000 Service Pack 1.


The maximum Server Name is 128 characters. For SEM, it is 60 characters.

Dr. Watson will produce a log entry similar to the following:

Microsoft (R) Windows 2000 (TM) Version 5.00 DrWtsn32
Copyright (C) 1985-1999 Microsoft Corp. All rights reserved.

Application exception occurred:
        App: mmc.exe (pid=1048)
        When: 8/7/2000 @ 14:16:35.831
        Exception number: 000006ba


Article ID: 293430 - Last Review: November 5, 2003 - Revision: 3.2
  • Microsoft SQL Server 2000 Standard Edition
kbbug kbfix kbsqlserv2000sp1fix KB293430

Give Feedback


Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from