Whenever I try to commit changes to source control I get this error message. Trace file name '' is invalid. The statement has been terminated.

enter image description here

有帮助吗?

解决方案

Try disabling and re-enabling the default trace.

EXEC sp_configure 'show advanced options', 1;
GO
RECONFIGURE;
GO
EXEC sp_configure 'default trace enabled', 0;
GO
RECONFIGURE;
GO
EXEC sp_configure 'show advanced options', 0;
GO
RECONFIGURE;
GO

EXEC sp_configure 'show advanced options', 1;
GO
RECONFIGURE;
GO
EXEC sp_configure 'default trace enabled', 1;
GO
RECONFIGURE;
GO
EXEC sp_configure 'show advanced options', 0;
GO
RECONFIGURE;
GO
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top