Moderators: Vladimir Kondratyev, Anton Katilin
Unhandled Exception: System.Exception: Process 5128 has not been started with th
e profiler, or has a different user home: C:\Users\Administrator\.ynp\log\
5128.log does not exist ---> System.IO.FileNotFoundException: Could not find fil
e 'C:\Users\Administrator\.ynp\log\5128.log'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, I
nt32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions o
ptions, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolea
n useLongPath)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access,
FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean
bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access,
FileShare share)
at YourKit.Profiler.Api.AgentPortRetriever.getAgentPortByPID(Int32 pid, Strin
g userHome)
--- End of inner exception stack trace ---
at YourKit.Profiler.Api.AgentPortRetriever.getAgentPortByPID(Int32 pid, Strin
g userHome)
at YourKit.Profiler.Api.Controller..ctor(Int32 pid)
sandeep wrote:When I try to connect to the w3wp.exe application with the process id using Yourkit .NET API, I get the following exception
- Code: Select all
Unhandled Exception: System.Exception: Process 5128 has not been started with th
e profiler, or has a different user home: C:\Users\Administrator\.ynp\log\
5128.log does not exist ---> System.IO.FileNotFoundException: Could not find fil
e 'C:\Users\Administrator\.ynp\log\5128.log'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, I
nt32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions o
ptions, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolea
n useLongPath)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access,
FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean
bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access,
FileShare share)
at YourKit.Profiler.Api.AgentPortRetriever.getAgentPortByPID(Int32 pid, Strin
g userHome)
--- End of inner exception stack trace ---
at YourKit.Profiler.Api.AgentPortRetriever.getAgentPortByPID(Int32 pid, Strin
g userHome)
at YourKit.Profiler.Api.Controller..ctor(Int32 pid)
Users browsing this forum: Google [Bot] and 2 guests