Red Gate forums :: View topic - How To Profile Web Service On XP with IIS 5.1?
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
ANTS Profiler Previous Versions
ANTS Profiler Previous Versions forum

How To Profile Web Service On XP with IIS 5.1?

Search in ANTS Profiler Previous Versions forum
Post new topic   Reply to topic
Jump to:  
Author Message
tdl



Joined: 09 Apr 2009
Posts: 1

PostPosted: Thu Apr 09, 2009 2:02 pm    Post subject: How To Profile Web Service On XP with IIS 5.1? Reply with quote

I am trying to evaluate ANTS Profiler 4 and I cannot seem to figure out how to profile web services on XP with IIS 5.1. My thought was to profile the W3SVC Windows service. All web services are compiled in debug mode and .pdb files exist for everything. When I start the profiler, I get a stopping and starting the "World Wide Web Publishing" service, but then nothing happens. The "starting" message never goes away. My apps and services all work, but no profile results are generated.

Any pointers? I could not find any documentation on how to set up profiling for this scenario.

This is what I get in the log:

Quote:
09 Apr 2009 08:58:12.373 [1] INFO RedGate.Profiler.Logging.LogService - Starting new ANTS Performance Profiler 4 session
09 Apr 2009 08:58:12.373 [1] INFO RedGate.Profiler.Logging.LogService - Assembly version: 4.3.0.198
09 Apr 2009 08:58:16.469 [1] WARN RedGate.Profiler.OS.Local.LocalWindowsVersionInspector - Detected Windows version: Windows XP Professional (5.1 32-bit)
09 Apr 2009 08:58:16.469 [1] WARN RedGate.Profiler.IISSupport.Local.LocalIisInspector - IIS is supported on installed OS version
09 Apr 2009 08:58:16.469 [1] WARN RedGate.Profiler.IISSupport.Local.LocalIisInspector - Result of check to see if inetinfo.exe running: True
09 Apr 2009 08:58:16.469 [1] WARN RedGate.Profiler.IISSupport.Local.LocalIisInspector - IIS is running.
09 Apr 2009 08:58:16.469 [1] WARN RedGate.Profiler.IISSupport.Local.LocalIisInspector - Result of check to see if inetinfo.exe running: True
09 Apr 2009 08:58:16.469 [1] WARN RedGate.Profiler.IISSupport.Local.LocalIisInspector - IIS is running.
09 Apr 2009 08:58:16.469 [1] WARN RedGate.Profiler.IISSupport.Local.LocalIisInspector - IIS is enabled.
09 Apr 2009 08:58:16.469 [1] WARN RedGate.Profiler.IISSupport.Local.LocalIisInspector - Successfully detected IIS installation: IIS 5.1 (Auto-detected)
09 Apr 2009 08:58:16.484 [1] WARN RedGate.Profiler.IISSupport.Local.LocalIisInspector - IIS is installed
09 Apr 2009 08:58:16.750 [1] WARN RedGate.Profiler.IISSupport.Local.LocalIisInspector - IIS is installed
09 Apr 2009 08:58:16.766 [1] WARN RedGate.Profiler.IISSupport.Local.LocalIisInspector - IIS is installed
09 Apr 2009 08:58:16.782 [1] WARN RedGate.Profiler.IISSupport.Local.LocalIisInspector - IIS is installed
09 Apr 2009 08:58:16.782 [1] WARN RedGate.Profiler.IISSupport.Local.LocalIisInspector - IIS is installed
09 Apr 2009 08:58:16.891 [1] WARN RedGate.Profiler.IISSupport.Local.LocalIisInspector - IIS is installed
09 Apr 2009 08:58:16.907 [1] WARN RedGate.Profiler.IISSupport.Local.LocalIisInspector - IIS is installed
09 Apr 2009 08:58:16.907 [ConfigurableThreadPool thread] WARN RedGate.Profiler.IISSupport.Local.LocalIisInspector - IIS is installed
09 Apr 2009 08:58:18.579 [ConfigurableThreadPool thread] WARN RedGate.Profiler.IISSupport.Local.LocalIisInspector - IIS is installed
09 Apr 2009 08:58:20.268 [ConfigurableThreadPool thread] WARN RedGate.Profiler.IISSupport.Local.LocalIisInspector - IIS is installed
09 Apr 2009 08:58:27.256 [1] WARN RedGate.Profiler.IISSupport.Local.LocalIisInspector - IIS is installed
09 Apr 2009 08:58:27.256 [1] WARN RedGate.Profiler.IISSupport.Local.LocalIisInspector - IIS is installed
09 Apr 2009 08:58:27.366 [1] WARN RedGate.Profiler.IISSupport.Local.LocalIisInspector - IIS is installed
09 Apr 2009 08:58:27.366 [1] WARN RedGate.Profiler.IISSupport.Local.LocalIisInspector - IIS is installed
09 Apr 2009 08:58:27.553 [1] INFO RedGate.Profiler.Engine.Logger - ANTS Memory Profiler Engine has started.
09 Apr 2009 08:58:27.553 [1] INFO RedGate.Profiler.Engine.Logger - Version: 4.3.0.198
09 Apr 2009 08:58:27.553 [1] INFO RedGate.Profiler.Engine.Startup.Basic.PipeConnection - Listening for connections on \\.\pipe\ANTSProfiler4.
09 Apr 2009 08:58:27.584 [ConfigurableThreadPool thread] INFO RedGate.Profiler.Engine.Startup.Sessions.WindowsServiceSession - Starting service 'World Wide Web Publishing'
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6649

PostPosted: Thu Apr 09, 2009 2:58 pm    Post subject: Reply with quote

Hi,

To profile a web service using ANTS Profiler, you must use the "profile a web application hosted in IIS" option, then enter the full path to the .asmx URL. Profiling IISADMIN or W3SVC will definitely not work, even if you use the "profile child processes" option, thinking that you will eventually get results for the ASP .NET worker process spawned by IIS.

Profiling the web service in this way will automatically hook Profiler into aspnet_wp.exe when it starts up.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group