# SQL SERVER – Error: 566, Severity: 21 – An Error Occurred While Writing an Audit Trace. SQL Server is Shutting Down

**URL:** <https://forums.toadworld.com/t/sql-server-error-566-severity-21-an-error-occurred-while-writing-an-audit-trace-sql-server-is-shutting-down/43266>\
**Category:** Blog Posts\
**Created:** [November 6, 2018, 8:01am UTC](https://forums.toadworld.com/t/sql-server-error-566-severity-21-an-error-occurred-while-writing-an-audit-trace-sql-server-is-shutting-down/43266 "2018-11-06T08:01:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/system/32/2_2.png) [@system](https://forums.toadworld.com/u/system)\
**Post date:** [November 6, 2018, 8:01am UTC](https://forums.toadworld.com/t/sql-server-error-566-severity-21-an-error-occurred-while-writing-an-audit-trace-sql-server-is-shutting-down/43266/1 "2018-11-06T08:01:12Z")

</div>

Have you ever been in a situation where SQL Server shuts down by itself? It sounds strange but I met across a gentleman in flight who reported this issue to me. Since I was curious to know the cause, we exchanged our business cards. Once I came back home, I sent him an email asking more details about the SQL shutdown issue. Let us learn about how to fix error,&nbsp;An Error Occurred While Writing an Audit Trace.

* * *
This is a companion discussion topic for the original entry at [https://blog.toadworld.com/2017/02/03/sql-server-error-566-severity-21-an-error-occurred-while-writing-an-audit-trace-sql-server-is-shutting-down](https://blog.toadworld.com/2017/02/03/sql-server-error-566-severity-21-an-error-occurred-while-writing-an-audit-trace-sql-server-is-shutting-down)
