FIX: SEM New SQL Server Registration Using Long Server Name Fails with Access Violation
This article was previously published under Q293430
This article has been archived. It is offered "as is" and will no longer be updated.
BUG # 352320 (SHILOH_BUGS)
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 theMicrosoft 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 DrWtsn32Copyright (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: 01/16/2015 22:04:27 - Revision: 3.2
Microsoft SQL Server 2000 Standard Edition
- kbnosurvey kbarchive kbbug kbfix kbsqlserv2000sp1fix KB293430