Windows Perfmon Metric- How to Diagnose Error

Document ID : KB000019331
Last Modified Date : 14/02/2018
Show Technical Document Details

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: http://msdn.microsoft.com/en-us/library/ms681381(VS.85,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(JDInvoker.java:309)
at com.itko.lisa.jdbridge.JDInvoker.newInstance(JDInvoker.java:127)
at com.itko.lisa.jdbridge.JDProxy.newInstance(JDProxy.java:21)
at com.itko.util.win32.wperfmon.WNetworkConnection.Connect(WNetworkConnection.java:63)
at com.itko.util.win32.wperfmon.WPerfmon.getCategories(WPerfmon.java:57)
at com.itko.lisa.stats.wperfmon.SetupPanel$3.doCallback(SetupPanel.java:118)
at com.itko.util.swing.panels.ProcessingDialog$2.run(ProcessingDialog.java:248)
at java.lang.Thread.run(Thread.java:619)

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: http://msdn.microsoft.com/en-us/library/ms681381(VS.85,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.