search cancel

Windows Perfmon Metric Collection - How to Diagnose Error


Article ID: 19331


Updated On:


CA Application Test CA Continuous Application Insight (PathFinder) Service Virtualization


How to diagnose error with Windows Perfmon Metric.


All supported DevTest releases.




For Windows Perfmon metric collection you would enter the below information in the Windows Perfmon Machine Dialog Box.

  • Machine Name
  • User Name: User Name of the remote machine
  • Password: Password of the remote machine
  • Domain: Domain name

if you encounter an error like this:

java.lang.RuntimeException: TargetInvocationExceptionException has been thrown by the target of an invocation.
at System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStruct& signature, IntPtr declaringType)
at System.RuntimeMethodHandle.InvokeConstructor(Object[] args, SignatureStruct signature, RuntimeTypeHandle declaringType)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at djbridge.JDInvoker.NewProxy(String assembly, String type, String method, Object[] args) in C:\iTKO\sandbox\rich\main\jdbridge\djbridge\JDInvoker.cs:line 98
IOExceptionAn error occurred connecting to the remote machine with the credentials supplied. The error number was: 1219Please go here for an explanation ofthe code:,loband).aspx
at itko.wperfmon.NetworkConnection..ctor(String networkName, String userName, String password, String domain) in C:\iTKO\sandbox\rich\svn\WinPerfmon\trunk\itko.wperfmon\NetworkConnection.cs:line 70

at com.itko.lisa.jdbridge.JDInvoker.unmarshall(
at com.itko.lisa.jdbridge.JDInvoker.newInstance(
at com.itko.lisa.jdbridge.JDProxy.newInstance(
at com.itko.util.win32.wperfmon.WNetworkConnection.Connect(
at com.itko.util.win32.wperfmon.WPerfmon.getCategories(
at com.itko.lisa.stats.wperfmon.SetupPanel$3.doCallback(
at com.itko.util.swing.panels.ProcessingDialog$

Towards the middle of the error message you would see the Error number and the link to go to.

The error number was: 1219 Please go here for an explanation of the code:,loband).aspx

Click on the link, then click on the System Error Code number range (1000-1299)

So in the above case this would be the issue.

ERROR_SESSION_CREDENTIAL_CONFLICT1219 (0x4C3) Multiple connections to a server or shared resource by the same user, using more than one user name, are not allowed. Disconnect all previous connections to the server or shared resource and try again.

This error (1219) occurs when you try to connect to a share with credentials after you have already connected once in your windows session. Basically it is saying you cannot connect to a windows share with two different sets of credentials. In this case it is an expected error.

You would have to disconnect previous connections for this to work.