Unit Test Fails, throws COMException "There is no MTS object context"

Discussion in 'C#' started by doglin82, Sep 1, 2010.

  1. doglin82

    doglin82 New Member

    Sep 1, 2010
    Likes Received:
    Trophy Points:
    I have a unit test that contains several test cases. I set them up through the Test Project wizard. It is pretty standard procedure.

    When I choose to run one of the test, I got the following error

    Test method et.Exec.ProductionBase.Test.etProcessQCItemExecTest.CreateTest threw exception: System.Runtime.InteropServices.COMException: There is no MTS object context (Exception from HRESULT: 0x8004E004).

    I couldn't figure out how to resolve this. I did a little bit of digging online, but none seems to help. All Help is greatly appreciated.

    I am running VSTS 2008 Development Edition.


Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice