No process is associated with this object

I created a new Testing project for my solution and when I go to run the tests they all abort. When click on the "Test Run Error" I get 0/2 tests passed, 2 failed, 0 skiped. In the "More Info" section I get "No process is associated with this object." I can't figure what is going on with this error. I've deleted and recreated the testing project in the solution several times and always have the same result. Please help!!

Anson Goldade

[442 byte] By [AnsonGoldade] at [2008-2-16]
# 1
Is this with a simple Test Project? Eg:
Start IDE
File/New Project/<Language>/Test/Test Project
Show Test View (Test/Windows/Test View)
Click TestMethod1
Run test

Does it still fail then?

dhopton at 2007-9-8 > top of Msdn Tech,Visual Studio Team System,Visual Studio Team System - Web and Load Testing...
# 2

I created a new test project like you recommended it still fails then with the exact same error. Hopefully that is useful information. Thanks for helping to try and figure this out.

Anson

AnsonGoldade at 2007-9-8 > top of Msdn Tech,Visual Studio Team System,Visual Studio Team System - Web and Load Testing...
# 3
Anson,

Do you have anti-spyware installed and running? This could cause the problem you saw.

JamesSu at 2007-9-8 > top of Msdn Tech,Visual Studio Team System,Visual Studio Team System - Web and Load Testing...
# 4
This seems to be an installation problem. Can you make sure that the file C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\vstesthost.exe exists. Also can you check registry entry HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\EnterpriseTools\QualityTools\HostProcessLocation.

Thanks,
Michael

MichaelKoltachevMS at 2007-9-8 > top of Msdn Tech,Visual Studio Team System,Visual Studio Team System - Web and Load Testing...
# 5

Both of those items check out. File exists and registry entry you pointed me to exists and has the correct location. Is it time to think about doing a repair of the Visual Studio installation or do you have any other thoughts? Thanks again for your help

Anson

AnsonGoldade at 2007-9-8 > top of Msdn Tech,Visual Studio Team System,Visual Studio Team System - Web and Load Testing...
# 6
Is that to say that you Don't have Microsoft AntiSpyware installed? We have seen this issue show up before when you have Microsoft AntiSpyware, so want to make sure that it's out of the question as part of our investigation.
dhopton at 2007-9-8 > top of Msdn Tech,Visual Studio Team System,Visual Studio Team System - Web and Load Testing...
# 7

That is correct, I do not have any AntiSpyware product installed. My virus software is AVG 7.0.322. I've been able to successfully run unit tests before from the IDE, it's just something that has happened recently that's caused the problem.

Anson

AnsonGoldade at 2007-9-8 > top of Msdn Tech,Visual Studio Team System,Visual Studio Team System - Web and Load Testing...
# 8

Hi Anson,

A couple of suggestions:

1. Can you post the entire contents of the Test Results window? It may help.

2. You may want to review the output of your anti-virus software to see if any processes are being killed around the same time you run your tests. Perhaps something similar to the SpyWare issue mentioned earlier is happening.

If you were able to run tests on the same machine in the past I think it is reasonable to attempt a repair of the Visual Studio install.

thanks,

~ Michael

MichaelBrisset-MSFT at 2007-9-8 > top of Msdn Tech,Visual Studio Team System,Visual Studio Team System - Web and Load Testing...

Visual Studio Team System

Site Classified