Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/sql-server/23.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
.net “的SqlError.Number是什么;“正在关闭”吗;?_.net_Sql Server - Fatal编程技术网

.net “的SqlError.Number是什么;“正在关闭”吗;?

.net “的SqlError.Number是什么;“正在关闭”吗;?,.net,sql-server,.net,Sql Server,我有一个SqlException堆栈跟踪“from the wild”,其中包含以下消息: SHUTDOWN is in progress. Login failed for user 'USERNAME'. A severe error occurred on the current command. The results, if any, should be discarded. 有人知道此错误的属性吗?我无法重现这种情况,以便通过调试确定它。特别是,我想知道“关机正在进行”的错误代码,

我有一个SqlException堆栈跟踪“from the wild”,其中包含以下消息:

SHUTDOWN is in progress.
Login failed for user 'USERNAME'.
A severe error occurred on the current command.
The results, if any, should be discarded.
有人知道此错误的属性吗?我无法重现这种情况,以便通过调试确定它。特别是,我想知道“关机正在进行”的错误代码,但不想知道“严重错误…”的其他情况下的错误代码,它是6005:

Error Severity Event Logged Description 6005 10 No SHUTDOWN is in progress. 它返回与MSDN文档类似的数据