ANTS Memory Profiler

Latest version: 7.4

ANTS Memory Profiler

Knowledge Base

The system cannot find the file specified

Category: Troubleshooting & error messages
Date: 17 Jun 2009
Product: ANTS Memory Profiler
Versions: 2,3,4
Platforms: Web Application hosted in IIS 6 and IIS 7

When beginning to profile an ASP .NET web application, ANTS Profiler may throw the following exception:
Unable to start profiler - exception details
System.ComponentModel.Win32Exception: The system cannot find the file specified

ANTS Profiler relies on an number of programs to be installed on the system to work properly. Some are web browser components and some are to verify that application pools are running. In short, this error can occur if one of the following files are missing:

%systemroot%\shdocvw.dll
w3wp.exe, the path to which is found in the registry at HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\IISAdmin\ImagePath, substituting w3wp.exe for intetinfo.exe

In IIS 6 only:
-----------------
%systemroot%\system32\cscript.exe
%systemroot%\system32\iisapp.exe

In IIS 7 only
--------------
appcmd.exe, located in the same folder as w3wp.exe above

Document ID: KB200802000225 Keywords: ANTS,Profiler,file,found,specified,Win32Exception

Was this article helpful?

Search support
Forums

ANTS Memory Profiler

all products