Microsoft Knowledge Base Email Alertz

Although the MSSQLServer service does not stop, there is a The MSSQLServer service terminated unexpectedly Critical Error severity alert in the Microsoft Operations Manager 2005 Operator Console

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 904743 - Last Review: January 30, 2007 - Revision: 1.2

Although the MSSQLServer service does not stop, there is a "The MSSQLServer service terminated unexpectedly" Critical Error severity alert in the Microsoft Operations Manager 2005 Operator Console

SYMPTOMS

Although the MSSQLServer service does not stop, the Microsoft Operations Manager (MOM) 2005 Operator Console contains a Critical Error severity alert that is similar to the following alert:
Name: The MSSQLServer service terminated unexpectedly
Severity: Critical Error
Resolution State: New
Domain: WORKGROUP
Computer: ComputerName
Time of First Event: Time
Time of Last Event: Time
Alert latency: 1 sec
Problem State: Investigate
Repeat Count: 3
Age:
Source: MSSQLSERVER
Alert Id: 390da845-d0c7-4570-b895-cb265d13adda
Rule (enabled): Microsoft SQL Server\SQL Server 2000\SQL Server 2000 Event Collection\SQL Server General\The MSSQLServer service terminated unexpectedly
Description: SqlDumpExceptionHandler: Process 56 generated fatal exception c0000005 EXCEPTION_ACCESS_VIOLATION. SQL Server is terminating this process.

CAUSE

This issue occurs when the following conditions are true:
  • You enable the The MSSQLServer service terminated unexpectedly event rule. This event rule has the following criteria in the MOM 2005 Administrator Console:
    • The Event Number event property matches the following code:
      regex ^(17052|17055)$
    • The Source Name event property matches the following code:
      wildcard MSSQL*
    • The Description event property matches the following code:
      substring Error: 0, Severity: 19, State: 0
  • You receive an error message that has a severity level 19 in Microsoft SQL Server 2000 that is similar to the following error message:
    ODBC: Msg 0. Level 19, State 1
    SqlDumpExceptionHandler: Process 56 generated fatal exception c0000005 EXCEPTION_ACCESS_VIOLATION. SQL Server is terminating this process.
    Connection Broken
    

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

Although the alert may not always indicate that the MSSQLServer service stopped unexpectedly, investigate the issues that trigger this alert. Severity level 19 error messages rarely occur. However, the system administrator or the primary support provider should correct these errors. You should inform the system administrator or the primary support provider every time that a severity level 19 error message occurs. The system administrator or the primary support provider can obtain more information from the SQL Server error log.

REFERENCES

For more information about the error message severity levels in SQL Server 2000, visit the following Microsoft Web site:
http://msdn2.microsoft.com/en-us/library/aa937483(SQL.80).aspx (http://msdn2.microsoft.com/en-us/library/aa937483(SQL.80).aspx)

APPLIES TO
  • Microsoft Operations Manager (MOM) 2005
Keywords: 
kberrmsg kbtshoot kbprb KB904743
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate

Nick Report As Irrelevant  
Written: 12/17/2008 4:55 PM
I've gotten this error with a very simple but long query in SQL Server 2000 (connected to via SQL Server Management Studio 2005). I believe it is some sort of memory issue having to do with long queries. The query I made was just a bunch (over 900) of unions of 3 columns. It took the form: SELECT * FROM ( SELECT 123 AS C1, 1 AS C2, 'dles' AS C3 UNION SELECT 322 AS C1, 2 AS C2, 'sdhs' AS C3 UNION ... ) AS InnerSelect I tried that same query out again on an instance of SQL Server 2005 (connected to via the same SQL Server Management Studio) and the error didn't occur. I also tried changing the "UNION"s to "UNION ALL"s and the same result occurred (error on 2000, fine on 2005).