Options

How To Profile Web Service On XP with IIS 5.1?

tdltdl Posts: 2
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:
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'

Comments

  • Options
    Brian DonahueBrian Donahue Posts: 6,590 Bronze 1
    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.
Sign In or Register to comment.