No Disk
Published 14 May 2018
When profiling an application, ANTS Memory Profiler may show an error message similar to:
MyApplication - No DiskThere 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.
This documentation contains proprietary information and is protected by copyright law.
Copyright © 2026 Red Gate Software Limited. All rights reserved