Microsoft KB Archive/141975

{|
 * width="100%"|

FIX: SEM Generates Handled Exception Reading the Errorlog

 * }

Q141975

-

The information in this article applies to:


 * Microsoft SQL Server version 6.0

-

BUG# NT: 11402 (6.00)

SYMPTOMS
SQL Enterprise Manager (SEM) can generate the following handled exception upon reading the errorlog:

Error : 0, Severity: 19, State: 0

Stored function 'xp_readerrorlog' in the library 'xpstar.dll' generated

access violation; SQL Server is terminating process

This can cause SQL Enterprise Manager to hang to the point that the process must be killed.

CAUSE
SQL Enterprise Manager uses the extended stored procedure xp_readerrorlog to read the current errorlog. If the errorlog contains two or more contiguous line-feed characters, xp_readerrorlog will generate the access violation when it attempts to read it.

WORKAROUND
This situation is rare, but if you run into this scenario do not use SQL Enterprise Manager or xp_readerrorlog to read the errorlog in question. Try using another utility such as Write or Notepad.

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

Additional query words: sql6 AV

Keywords : kbtool

Issue type : kbbug

Technology : kbSQLServSearch kbAudDeveloper kbSQLServ600