The partner transaction manager has disabled its support for remote/network transactions.

194 views
Skip to first unread message

Ed Swartz

unread,
May 13, 2015, 3:13:00 PM5/13/15
to nunit-...@googlegroups.com
Summary:

When I run a test using Nunit which reads from two separate databases I receive the error:

"The partner transaction manager has disabled its support for remote/network transactions."

When I switch MBUnit I don't get the above error.

Detail:

I have several tests which throw the above exceptions. These tests have these actions in common:

1) Read data from a secondary database.
2) Transform the data into a format appropriate for my main database.
3) While transforming the data the code reads lookup tables from the main database.
4) In some cases the code inserts the newly formatted data into the main database.
In other cases the code writes the data to a report.

I've applied <Rollback> to the test function.

Visual Studio 2010
VB
Windows Form applications.

I used NuGet to install these packages:

NUnit 2.6.4
FluentAssertions 3.3.0
xUnit 1.9.2

(I'll be removing xUnit at some point).

I originally used MbUnit. But due to being unsupported I'm converting the tests to NUnit.

So it would be nice if NUnit worked for all tests. I hope I don't have to have a small handful of tests still using MbUnit to avoid the above problem.

Any idea what I can do to fix?

Ed


Charlie Poole

unread,
May 13, 2015, 3:34:32 PM5/13/15
to NUnit-Discuss
NUnit does not have a RollbackAttribute. Are you using some 3rd party attribute?
> --
> You received this message because you are subscribed to the Google Groups
> "NUnit-Discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to nunit-discus...@googlegroups.com.
> To post to this group, send email to nunit-...@googlegroups.com.
> Visit this group at http://groups.google.com/group/nunit-discuss.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages