sql-server – 为什么SQL Server 2008在简单的SQL查询上崩溃了?

我是开发人员并在我的本地计算机上运行sql Server 2008 SP1实例(认实例)( Windows 7 RC 32位).
有时,当我正在开发的程序向sql Server发送查询时,整个sql Server崩溃. SQL查询并不复杂,只是简单的CRUD查询.当我重新启动服务器时,下一个查询会再次杀死他.

事件日志条目指出由于MS DTC而发生错误.不幸的是,我不知道为什么.当我通过sql Server Management Studiosql Server用于其他目的时,我没有遇到任何问题,因此我认为它与我的操作系统无关.

有没有人知道sql Server崩溃的原因?它使开发变得非常困难,有时甚至是不可能.

最好的祝福,
奥利弗哈纳皮

PS:这是事件日志条目.

An MS DTC component has generated an exception. Error Specifics: The process ‘”C:\Program Files\Microsoft sql Server\MSsql10.MSsqlSERVER\MSsql\Binn\sqlservr.exe” -sMSsqlSERVER’ hit an exception in a MSDTC related component.
The following exception (0xc0000005) was generated at 0x 00FEAC8C,Pid:7400.
The process is being terminated.
Additional information useful in a debugger:
You can do ‘.exr 0x0369E930’ to display the exception record.
You can do ‘.cxr 0x0369E94C’ to display the context at the time of the exception.

0

解决方法

您必须运行从软件到数据库的分布式事务.您需要运行显式分布式事务吗?

DTC是操作系统的一部分,而不是sql Server.您可能正在运行Windows 7的RC版本中的MSDTC中的错误.

如果您不需要显式分布式事务,则禁用代码中的事务使用.如果确实需要使用显式分布式事务,请尝试在操作系统的发行版上运行代码,而不是预发布操作系统.

相关文章

SELECT a.*,b.dp_name,c.pa_name,fm_name=(CASE WHEN a.fm_n...
if not exists(select name from syscolumns where name=&am...
select a.*,pano=a.pa_no,b.pa_name,f.dp_name,e.fw_state_n...
要在 SQL Server 2019 中设置定时自动重启,可以使用 Window...
您收到的错误消息表明数据库 'EastRiver' 的...
首先我需要查询出需要使用SQL Server Profiler跟踪的数据库标...