Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MS VS test runner exceptions

I always get the following exceptions after my test has already completed, and the test runner is in the process of shutting down. Is this normal? I always feel rather concerned when I get a bunch of random exceptions..

The thread '' (0xc04) has exited with code 0 (0x0).

A first chance exception of type 'System.ComponentModel.Win32Exception' occurred in System.ServiceModel.dll

A first chance exception of type 'System.Threading.ThreadAbortException' occurred in mscorlib.dll

System.Transactions Critical: 0 : http://msdn.microsoft.com/TraceCodes/System/ActivityTracing/2004/07/Reliability/Exception/UnhandledUnhandled exceptionvstest.executionengine.exeSystem.AppDomainUnloadedException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089Attempted to access an unloaded AppDomain. System.AppDomainUnloadedException: Attempted to access an unloaded AppDomain.

The thread '' (0xdd8) has exited with code 0 (0x0).

'vstest.executionengine.exe' (Managed (v4.0.30319)): Loaded 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 11.0\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\TESTWINDOW\Extensions\CppUnitFramework\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.TestEngine.dll' 'vstest.executionengine.exe' (Managed (v4.0.30319)): Loaded 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 11.0\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\TESTWINDOW\Extensions\CppUnitFramework\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.Discoverer.dll'

The thread '' (0xa64) has exited with code 0 (0x0).

A first chance exception of type 'System.InvalidOperationException' occurred in Microsoft.VisualStudio.TestPlatform.TestExecutor.Core.dll

A first chance exception of type 'System.ServiceModel.CommunicationObjectAbortedException' occurred in System.ServiceModel.dll

etc.

like image 907
user2544833 Avatar asked Jul 03 '13 02:07

user2544833


1 Answers

Configuring DTC solved my problem.

http://www.devexpress.com/Support/Center/Question/Details/Q434480

like image 122
kerem Avatar answered Oct 31 '22 00:10

kerem