These pages cover ANTS Memory Profiler 7, which is not the latest version. Help for other versions is also available.
No Disk
Published 18 December 2012
When profiling an application, ANTS Memory Profiler may show an error message similar to:
MyApplication - No Disk
There is no disk in the drive.Please insert a disk into drive
\Device\Harddisk1\DR2
Cause
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.
How to fix
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
If you continue to experience problems, please contact Redgate Support.