ANTS Performance Profiler 9

No Disk error occurring while profiling application

When performance or memory profiling an application, it may return an error message similar to:

MyApplication - No Disk
There is no disk in the drive.Please insert a disk into drive

This can happen when the source code location matches a removable drive that has been disconnected. It does not matter if the software was built on a completely different computer - if the drive letter is the same as a disconnected removable drive on the computer used for profiling, this error will occur.

There are a few possible ways to fix this:

  • Reconnect the removable drive
  • Disconnect the removable device that normally mounts the drive
  • Change the drive letter using Windows Computer Management Console (Disk Management)
  • Delete the PDB files applicable to the code you are profiling

Didn't find what you were looking for?