DEBUG [HostNameResolver] 23 May 2008 08:53:36.062 : robo.org.net resolved to 123.221.340.249
DEBUG [FTPClient] 23 May 2008 08:53:36.062 : Connecting to 122.122.343.249:51
DEBUG [FTPControlSocket] 23 May 2008 08:53:36.390 : 220 Microsoft FTP Service
DEBUG [FTPControlSocket] 23 May 2008 08:53:36.390 : ---> USER praveen
DEBUG [FTPControlSocket] 23 May 2008 08:53:36.546 : 331 Password required for praveen.
DEBUG [FTPControlSocket] 23 May 2008 08:53:36.546 : ---> PASS ********
DEBUG [FTPControlSocket] 23 May 2008 08:53:36.718 : 230 User praveen logged in.
DEBUG [FTPConnection] 23 May 2008 08:53:36.718 : Successfully logged in
DEBUG [FTPControlSocket] 23 May 2008 08:53:36.718 : ---> TYPE I
DEBUG [FTPControlSocket] 23 May 2008 08:53:36.875 : 200 Type set to I.
DEBUG [FTPControlSocket] 23 May 2008 08:53:36.875 : ---> PWD
DEBUG [FTPControlSocket] 23 May 2008 08:53:37.031 : 257 "/praveen" is current directory.
DEBUG [FTPControlSocket] 23 May 2008 08:53:37.031 : ---> CWD /praveen
DEBUG [FTPControlSocket] 23 May 2008 08:53:37.203 : 250 CWD command successful.
DEBUG [FTPControlSocket] 23 May 2008 08:53:37.203 : ---> PWD
DEBUG [FTPControlSocket] 23 May 2008 08:53:37.359 : 257 "/praveen" is current directory.
DEBUG [FTPControlSocket] 23 May 2008 08:53:37.359 : ---> CWD DataCubes
DEBUG [FTPControlSocket] 23 May 2008 08:53:37.515 : 250 CWD command successful.
DEBUG [FTPControlSocket] 23 May 2008 08:53:37.515 : ---> PWD
DEBUG [FTPControlSocket] 23 May 2008 08:53:37.687 : 257 "/praveen/DataCubes" is current directory.
DEBUG [FTPControlSocket] 23 May 2008 08:53:37.687 : ---> TYPE I
DEBUG [FTPControlSocket] 23 May 2008 08:53:37.843 : 200 Type set to I.
DEBUG [FTPControlSocket] 23 May 2008 08:53:37.843 : ---> PASV
DEBUG [FTPControlSocket] 23 May 2008 08:53:38.015 : 227 Entering Passive Mode (128,121,240,249,19,7).
DEBUG [FTPControlSocket] 23 May 2008 08:53:38.015 : Server supplied address=123.221.340.249
DEBUG [FTPControlSocket] 23 May 2008 08:53:38.015 : Server supplied port=4871
DEBUG [FTPControlSocket] 23 May 2008 08:53:38.015 : Substituting server supplied IP (123.221.340.249) with remote host IP (123.221.340.249)
DEBUG [FTPControlSocket] 23 May 2008 08:53:38.015 : NewPassiveDataSocket(123.221.340.249,4871)
DEBUG [FTPControlSocket] 23 May 2008 08:53:38.171 : ---> STOR SectionVisits_2224.cub
DEBUG [FTPControlSocket] 23 May 2008 08:53:38.343 : 125 Data connection already open; Transfer starting.
ALL [FTPConnection] 23 May 2008 08:53:38.343 : Invoking delegate EnterpriseDT.Net.Ftp.BytesTransferredHandler -> DCube.Ftp._ftpConnection_BytesTransferred
ALL [FTPConnection] 23 May 2008 08:53:38.343 : Finding MainWindowHandle
ALL [FTPConnection] 23 May 2008 08:53:39.359 : Error while getting GUI control : System.InvalidOperationException: Process performance counter is disabled, so the requested operation cannot be performed.
System.InvalidOperationException: Process performance counter is disabled, so the requested operation cannot be performed.
at System.Diagnostics.NtProcessManager.GetProcessInfos(PerformanceCounterLib library)
at System.Diagnostics.NtProcessManager.GetProcessInfos(String machineName, Boolean isRemoteMachine)
at System.Diagnostics.ProcessManager.GetProcessInfos(String machineName)
at System.Diagnostics.Process.EnsureState(State state)
at System.Diagnostics.Process.get_MainWindowHandle()
at EnterpriseDT.Net.Ftp.FTPConnection.InvokeDelegate(Boolean preferGuiThread, Boolean permitAsync, Delegate del, Object[] args)
ALL [FTPConnection] 23 May 2008 08:53:39.375 : No GUI control
ALL [FTPConnection] 23 May 2008 08:53:39.375 : Invoking delegate dynamically
ALL [FTPConnection] 23 May 2008 08:53:39.375 : Dynamic delegate invocation complete
ALL [FTPConnection] 23 May 2008 08:53:39.375 : Invoking delegate EnterpriseDT.Net.Ftp.BytesTransferredHandler -> DCube.Ftp._ftpConnection_BytesTransferred
ALL [FTPConnection] 23 May 2008 08:53:39.375 : No GUI control
ALL [FTPConnection] 23 May 2008 08:53:39.375 : Invoking delegate dynamically
ALL [FTPConnection] 23 May 2008 08:53:39.375 : Dynamic delegate invocation complete
ALL [FTPConnection] 23 May 2008 08:53:39.375 : Invoking delegate EnterpriseDT.Net.Ftp.BytesTransferredHandler -> DCube.Ftp._ftpConnection_BytesTransferred
ALL [FTPConnection] 23 May 2008 08:53:39.375 : No GUI control
ALL [FTPConnection] 23 May 2008 08:53:39.375 : Invoking delegate dynamically
ALL [FTPConnection] 23 May 2008 08:53:39.375 : Dynamic delegate invocation complete
ALL [FTPConnection] 23 May 2008 08:53:39.531 : Invoking delegate EnterpriseDT.Net.Ftp.BytesTransferredHandler -> DCube.Ftp._ftpConnection_BytesTransferred
ALL [FTPConnection] 23 May 2008 08:53:39.531 : No GUI control
ALL [FTPConnection] 23 May 2008 08:53:39.531 : Invoking delegate dynamically
ALL [FTPConnection] 23 May 2008 08:53:39.531 : Dynamic delegate invocation complete
ALL [FTPConnection] 23 May 2008 08:53:39.703 : Invoking delegate EnterpriseDT.Net.Ftp.BytesTransferredHandler -> DCube.Ftp._ftpConnection_BytesTransferred
ALL [FTPConnection] 23 May 2008 08:55:59.359 : No GUI control
ALL [FTPConnection] 23 May 2008 08:55:59.359 : Invoking delegate dynamically
ALL [FTPConnection] 23 May 2008 08:55:59.359 : Dynamic delegate invocation complete
DEBUG [FTPClient] 23 May 2008 08:55:59.359 : Closing source stream
ALL [FTPConnection] 23 May 2008 08:55:59.515 : Invoking delegate EnterpriseDT.Net.Ftp.BytesTransferredHandler -> DCube.Ftp._ftpConnection_BytesTransferredALL [FTPConnection] 23 May 2008 08:55:59.515 : No GUI control
ALL [FTPConnection] 23 May 2008 08:55:59.515 : Invoking delegate dynamically
ALL [FTPConnection] 23 May 2008 08:55:59.515 : Dynamic delegate invocation complete
DEBUG [FTPClient] 23 May 2008 08:55:59.515 : Transferred 8514271 bytes to remote host
The bolded bit is repating several time so I have deleted that repeating bit from the log file.
So how do we enable the Process performance counter, so the requested operation cannot be performed.
The application runs perfectly on WIN XP, but NOT on WIN 2003 server.
I have checked the registry, on XP, the Disable Performance Counters at the following location, has a zero value.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PerfProc\Performance
on the WIN 2003 server, there is no Disable Performance Counters property at the same location
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PerfProc\Performance