Question

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

Was it helpful?

Solution

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
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top