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



The information in this article applies to:

  • Microsoft SQL Server 2000 (all editions)

This article was previously published under Q293430
BUG # 352320 (SHILOH_BUGS)

SYMPTOMS

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).

CAUSE

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.

RESOLUTION

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

WORKAROUND

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.

STATUS

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

MORE INFORMATION


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
				



Modification Type:MajorLast Reviewed:11/5/2003
Keywords:kbBug kbfix kbSQLServ2000sp1fix KB293430