Cannot connect to Local application
-
- Posts: 4
- Joined: Wed Jan 24, 2007 10:08 am
Cannot connect to Local application
I am using .Net version 2.0.50727. IIS restarts fine when I request profile of ASP .Net application. But, when I go to my landing page, and invoke a few requests, YourKit never connects and when I click Connect to locally running profiled application, it says there are no profiled applications running locally
The log files are not very useful, and I only see the 0.log in /.ynp/log
Is there any way to increase the verbosity of the logs?
Any pointers you can give on this are much appreciated.
Thanks,
Jay
The log files are not very useful, and I only see the 0.log in /.ynp/log
Is there any way to increase the verbosity of the logs?
Any pointers you can give on this are much appreciated.
Thanks,
Jay
-
- Posts: 48
- Joined: Tue Aug 23, 2005 10:52 am
Hello Jay!
Please provide some details about your environment.
What is your Windows version?
Does your application run ASP.NET 2.0? You say you're going to landing page - is this an .aspx page or just .html?
Do you see aspnet_wp.exe or w3wp.exe process in Task Manager when you are trying to connect to locally running profiled appication?
Also it would help a lot if you could do following steps:
-clear <user-home>\.ynp\log
-clear c:\windows\temp\.ynp
-run your application, try to connect to it
-take a look inside c:\windows\temp\.ynp and <user-home>\.ynp\log- if there is something there, please send all these files to support(at)yourkit.com
Best regards.
Vitaly Pimenov.
Please provide some details about your environment.
What is your Windows version?
Does your application run ASP.NET 2.0? You say you're going to landing page - is this an .aspx page or just .html?
Do you see aspnet_wp.exe or w3wp.exe process in Task Manager when you are trying to connect to locally running profiled appication?
Also it would help a lot if you could do following steps:
-clear <user-home>\.ynp\log
-clear c:\windows\temp\.ynp
-run your application, try to connect to it
-take a look inside c:\windows\temp\.ynp and <user-home>\.ynp\log- if there is something there, please send all these files to support(at)yourkit.com
Best regards.
Vitaly Pimenov.
-
- Posts: 48
- Joined: Tue Aug 23, 2005 10:52 am
-
- Posts: 4
- Joined: Wed Jan 24, 2007 10:08 am
Hi there,
I'm running Windows XP SP 2.
The landing page is an aspx page
I cleared the logs as suggested but on restart I am seeing very little useful information e.g.
Starting application. Build 90# etc..........
number of args: 0
I checked the running processes and I can see the aspnet_wp.exe process.
Thanks,Jay
I'm running Windows XP SP 2.
The landing page is an aspx page
I cleared the logs as suggested but on restart I am seeing very little useful information e.g.
Starting application. Build 90# etc..........
number of args: 0
I checked the running processes and I can see the aspnet_wp.exe process.
Thanks,Jay
-
- Posts: 48
- Joined: Tue Aug 23, 2005 10:52 am
Thanks for reply.
Please make sure that your firewall doesn't block profiler UI when it is trying to connect.
Also you can close UI after IIS is restarted, then that launch your aspx page and then check all \.ynp directories and check registry for following keys:
HKLM\SOFTWARE\Microsoft\.NETFramework\COR_ENABLE_PROFILING
HKLM\SOFTWARE\Microsoft\.NETFramework\COR_PROFILER
BTW, can you profile our demo application?
Vitaly.
Please make sure that your firewall doesn't block profiler UI when it is trying to connect.
Also you can close UI after IIS is restarted, then that launch your aspx page and then check all \.ynp directories and check registry for following keys:
HKLM\SOFTWARE\Microsoft\.NETFramework\COR_ENABLE_PROFILING
HKLM\SOFTWARE\Microsoft\.NETFramework\COR_PROFILER
BTW, can you profile our demo application?
Vitaly.
-
- Posts: 1626
- Joined: Tue Aug 10, 2004 7:52 pm
-
- Posts: 1626
- Joined: Tue Aug 10, 2004 7:52 pm
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Please try the new version at http://www.yourkit.com/dotnet/download
-
- Posts: 3
- Joined: Fri Jan 26, 2007 8:31 pm
I just downloaded the version, and I'm seeing similar results. I cannot even profile the demo application. The log file has the following:
2007-01-26 14:21:29.390 INFO com.yourkit.Main0 : ---------------------------------------------------------------------
2007-01-26 14:21:29.405 INFO com.yourkit.Main0 : Starting YourKit Profiler 2.0 for .NET build #200; built on Fri Jan 26 20:53:00 CST 2007
2007-01-26 14:21:29.405 INFO com.yourkit.Main0 : number of args: 0
2007-01-26 14:21:48.980 INFO com.yourkit.util.n :
java.lang.Exception: There's no application running at localhost with profiler agent configured to listen on port 3051
at com.yourkit.api.ControllerImpl.a(a:6)
at com.yourkit.api.ControllerImpl.a(a:220)
at com.yourkit.api.ControllerImpl.<init>(a:289)
at com.yourkit.actions.ProfileNETApplicationAction$1.a(a:46)
at com.yourkit.ui.af$b.run(a:20)
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at com.yourkit.api.ControllerImpl.a(a:298)
... 3 more
Any ideas?
Jim
2007-01-26 14:21:29.390 INFO com.yourkit.Main0 : ---------------------------------------------------------------------
2007-01-26 14:21:29.405 INFO com.yourkit.Main0 : Starting YourKit Profiler 2.0 for .NET build #200; built on Fri Jan 26 20:53:00 CST 2007
2007-01-26 14:21:29.405 INFO com.yourkit.Main0 : number of args: 0
2007-01-26 14:21:48.980 INFO com.yourkit.util.n :
java.lang.Exception: There's no application running at localhost with profiler agent configured to listen on port 3051
at com.yourkit.api.ControllerImpl.a(a:6)
at com.yourkit.api.ControllerImpl.a(a:220)
at com.yourkit.api.ControllerImpl.<init>(a:289)
at com.yourkit.actions.ProfileNETApplicationAction$1.a(a:46)
at com.yourkit.ui.af$b.run(a:20)
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at com.yourkit.api.ControllerImpl.a(a:298)
... 3 more
Any ideas?
Jim
-
- Posts: 3
- Joined: Sat Jan 27, 2007 5:16 pm
I am also seeing a similar problem.
I launch the demo application to profile, and it cannot connect. Looking at Net Stat, there is no process listening on the suggested port, and (of course) I cannot telnet it.
The same holds true for any other profiled application, whether launched from the CLI, from Visual studio, wherever. This is on Win XP. No firewall rules are interfering.
The profiler we purchased is currently not able to profile anything whatsoever.
Help?
I launch the demo application to profile, and it cannot connect. Looking at Net Stat, there is no process listening on the suggested port, and (of course) I cannot telnet it.
The same holds true for any other profiled application, whether launched from the CLI, from Visual studio, wherever. This is on Win XP. No firewall rules are interfering.
The profiler we purchased is currently not able to profile anything whatsoever.
Help?
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Could you please download and install the latest build at http://www.yourkit.com/dotnet/download
The problem should be fixed.
The problem should be fixed.
-
- Posts: 1626
- Joined: Tue Aug 10, 2004 7:52 pm
Please confirm that the problem gone.
Best regards,
Vladimir Kondratyev
YourKit, LLC
http://www.yourkit.com
"Don't get lost in data, get information!"
Best regards,
Vladimir Kondratyev
YourKit, LLC
http://www.yourkit.com
"Don't get lost in data, get information!"
-
- Posts: 4
- Joined: Wed Jan 24, 2007 10:08 am
I installed the new version and checked that the registry keys now existed and they did. When I try to connect, it still says no profile application can found.
Looking at the logs, the following message is being printed out:
java.lang.Exception: There's no application running at localhost with profiler agent configured to listen on port 1155
Looking at the logs, the following message is being printed out:
java.lang.Exception: There's no application running at localhost with profiler agent configured to listen on port 1155