使用Excel或PDF附件发送邮件时,SQL Server断言失败错误

时间:2017-07-05 03:37:20

标签: sql-server

我曾经使用带附件的sp_send_dbmail从SQL服务器发送邮件。 但是在过去的10天里,邮件没有被触发。我检查了程序并尝试了没有附件,它的工作原理。如果存在Excel或PDF附件,则该过程将引发以下错误...

Location:    SpcAlloc.cpp:914
Expression:  pPage->IsType (Page::TEXT_MIX_PAGE)
SPID:        89
Process ID:  2108
Msg 3624, Level 20, State 1, Procedure sp_send_dbmail, Line 449
A system assertion check has failed. Check the SQL Server error log for details. Typically,
an assertion failure is caused by a software bug or data corruption. To check for database
corruption, consider running DBCC CHECKDB. If you agreed to send dumps to Microsoft during
setup, a mini dump will be sent to Microsoft. An update might be available from Microsoft
in the latest Service Pack or in a QFE from Technical Support. 
Msg 0, Level 20, State 0, Line 0
A severe error occurred on the current command.  The results, if any, should be discarded.

任何建议?

1 个答案:

答案 0 :(得分:0)

您将在sqlserver错误日志中看到更多详细信息,而错误日志也指向转储位置..

现在,这是你的选择

1.尝试检查您是否使用最新版本的sqlserver,如果您没有尝试升级到最新的CU或SP
2.如果在升级到最新的CU或SP后出现此错误,请尝试联系microsoft support

如果你是sqlserver的最新版本,你会有更多的运气,因为它有一些extensions,如SQL Server Diagnostics (Preview)。一旦安装完这个扩展,你将在下面的屏幕上提供上传转储

enter image description here

上传后,SSMS将为您分析转储并显示相关的KB,如下所示

enter image description here