ANTS Performance Profiler

Latest version: 7.4

ANTS Performance Profiler

Knowledge Base

Error Stopping IISAdmin profiling IIS web application on Windows XP

Category: Troubleshooting & error messages
Date: 17 Jun 2009
Product: ANTS Performance Profiler
When profiling a web application hosted in IIS 5.x (Windows XP), the following error may occur before code profiling actually takes place:
Error stopping IISAdmin

Because the error occurs during the process of stopping and starting IIS, the error message also covers a failure to START IISAdmin as well, so it is a good idea to check your application event log at this point, because ANTS Profiler will log the error actually returned by Windows at that location. If the event log contains this entry:

System.Exception: Timed out starting 'IISADMIN'

...this confirms that the problem is actually a failure to start the service due to a timeout. In some cases, the default service timeout setting for Windows does not allow enough time for the service to start. This can be remedied by changing a registry entry:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\WaitToKillServiceTimeout

The value of this registry key contains the number of milliseconds that Windows will wait for a service to start, the default being 30000 (30 seconds). Increasing this to 60000 (60 seconds) or slightly higher may allow the IISAdmin service to start successfully.

If the registry key needs to be changed, it is advisable to restart the computer so that the changes will take effect.

Document ID: KB200802000228 Keywords: ANTS, Profiler, IISAdmin,service,timeout

Was this article helpful?

Search support
Forums

ANTS Performance Profiler

all products