Article ID: 164290 - Last Review: October 16, 2003 - Revision: 3.0

FIX: Srv_message_handler Text Limit

System TipThis article applies to a different operating system than the one you are using. Article content that may not be relevant to you is disabled.
This article was previously published under Q164290
BUG #: 16574
Expand all | Collapse all

SYMPTOMS

The srv_message_handler Open Data Services (ODS) call, which allows an extended stored procedure to place entries in the SQL Server errorlog, limits the text of each message and operating system error message.

Versions of SQL Server before SQL Server 6.5 Service Pack 3 limit the string to 512 bytes (or characters). SQL Server 6.5 Service Pack 3 and later extend that limit to 1,024 bytes.

Remember the limit includes the date, time, and spid concatination.

STATUS

Microsoft has confirmed this to be a problem in Microsoft SQL Server versions 6.0 and 6.5. This problem has been corrected in U.S. Service Pack 3 for Microsoft SQL Server version 6.5. For more information, contact your primary support provider.

MORE INFORMATION

The ODS call srv_message_handler, which allows an Extended Stored Procedure to place entries in the SQL Server error log, limits the text of each the message and OS error message.

SQL Server versions prior to Service Pack 3 for SQL Server 6.5 limit the string to 512 bytes. Starting with Service Pack 3, the limit has been extended to 1024 characters.

APPLIES TO
  • Microsoft SQL Server 6.0 Standard Edition
  • Microsoft SQL Server 6.5 Standard Edition
Keywords: 
kbfix kbprb KB164290
Retired KB ArticleRetired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.