Vladimir Frizen

Hello.

I've add record of remote computer to "counter sets mappings". Select there "ASP.NET", ".NET Application" and "IIS" categories. After I've add Custom Counter Set in Counter Sets named "Custom1". In Custom1 I call popup menu and select "Add Counters..." there. In displayed window I select name of remote computer. But after some time I receive a messagebox "Cant read performance categories for computer [computer's_name]".

Remote computer has no installed VS. Also it not in same domain with my machine and there is no my user's acaunt. Please tell me, should I install VS (or some it's part) to remote computer Should both machines be in same damain Is it necessary have same user's accaund in both computers

Thank you.



Re: Visual Studio Team System - Testing Can not add counters in load test

Rick Potts - MSFT

You do not need to have VS installed on the remote machine. However, you do need permissions to read counters from the remote machine. Can you read counters from the remote machine using perfmon

Thanks,
Rick





Re: Visual Studio Team System - Testing Can not add counters in load test

Vladimir Frizen

I seem no. When I try add counters from that remote machine in Perfmon, there was displayed a message: "Unable to connect to machine". What shall I do for getting access to remote machine



Re: Visual Studio Team System - Testing Can not add counters in load test

Rick Potts - MSFT

The local user group "Performance Monitor Users" grants permission to collect performance counters. If you are running without a controller (a local run), then the user running the test must be in the users group. If you are running with a controller, then the user running the controller mush be in the users group.

Thanks,
Rick





Re: Visual Studio Team System - Testing Can not add counters in load test

Michael Taute - MSFT

Generally this means that you need to add yourself to the "Performance Monitor Users" group on the remote machine.

--Mike





Re: Visual Studio Team System - Testing Can not add counters in load test

Vladimir Frizen

Thanks a lot for detailed explanation!



Re: Visual Studio Team System - Testing Can not add counters in load test

olada

I am having the same issue. It is not with all servers. Also, it is happening to 4 users that are admins on the remote machines. We are able to run perfmon when logged into the remote machines. we just get the Unable to connect to machine message when trying to add counters/objects remotely. Nobody seems to have an answer for this aside from permissions, which have been checked. Any ideas beyond permissions

Thanks

o





Re: Visual Studio Team System - Testing Can not add counters in load test

Michael Taute - MSFT

Have you checked the firewall settings on the remote machines If they're not allowing connections you won't be able to collect performance counters.

Here's a link to the Firewall settings page on TechNet.

--Mike





Re: Visual Studio Team System - Testing Can not add counters in load test

Durga Malleswari

how to grant permission to remote computer to collect performance counters



Re: Visual Studio Team System - Testing Can not add counters in load test

Durga Malleswari

Can u pease tell, where is 'Performance Monitor Users' group, Is it in Perfmon



Re: Visual Studio Team System - Testing Can not add counters in load test

Durga Malleswari

Can u please tell, where is 'Performance Monitor Users' group, Is it in Perfmon



Re: Visual Studio Team System - Testing Can not add counters in load test

GAT2000

I had the same problem, and solved this by using the guest account on the remote machine. Check out this post for the details.

GAT






Re: Visual Studio Team System - Testing Can not add counters in load test

Durga Malleswari

Hi

I am using Windows XP. How can we give Read access permissions to the files Perfc009.dat,Perfh009.dat

and the registry keys

Durga





Re: Visual Studio Team System - Testing Can not add counters in load test

GAT2000

You can set permission on the registry key using regedit.exe. Read access to the .dat files are given through the properties --> security tab on the files. I have not tested this on WindowsXP, but it should work. There are some differences between home edition and the professional edition regarding file permissions, which version are you using

Let me know if you can't get this to work, and I will fire up a Windows XP machine and give it a try.

GAT




Re: Visual Studio Team System - Testing Can not add counters in load test

Durga Malleswari

I am using XP professional.

Durga