chevron-thin-right chevron-thin-left brand cancel-circle search youtube-icon google-plus-icon linkedin-icon facebook-icon twitter-icon toolbox download check linkedin phone twitter-old google-plus facebook profile-male chat calendar profile-male
0 votes

I have got isolator placed on the build server, and have added in the tasks, however whenever I now run my build with unit tests enabled I get the error MSTest.exe exited with code -2146232576.

However if I disable Isolator by commenting out the TypeMockStart element then the build runs fine (Although the unit tests fail due to errors in the tests that use Typemock).

What do I have to do differently to get it to work?

asked by tollo (720 points)

4 Answers

0 votes
Can you describe your build environment a little more? In order for Isolator to start or stop, particularly if linking with a coverage tool, you need to be an administrator. I've personally run into some crazy issues when I try to run certain builds on, say, Windows Server 2008 when I'm a non-admin user.

If you think that's the case, you may want to check out this tool I wrote specifically for enabling Typemock to be configured as a non-admin user. Run it as an admin and give it the name of your build user's account.

Otherwise... if you can tell us more about your environment (OS, .NET version, Isolator version, etc.) we can probably help you out a little better.
answered by tillig (6.7k points)
0 votes
Its not linked with a coverage tool and the build account is an administrator. The operating system is XP and Isolator version is 6.0.4.

Do the typemock support team read this forum or is it best to mail them?

answered by tollo (720 points)
0 votes

this sounds like a configuration issue, which should best be solved in an online session. I will take this offline, and will contact you shortly via our support system.
answered by igal (5.7k points)
0 votes
Thanks very much.
answered by tollo (720 points)