Linker Tools Error LNK1201

error writing to program database 'filename'; check for insufficient disk space, invalid path, or insufficient privilege

LINK could not write to the program database (PDB) for the output file.

To fix by checking the following possible causes

  1. File is corrupt. Delete the PDB file and relink.

  2. Not enough disk space to write the file.

  3. Drive is not available, possibly due to a network problem.

  4. The debugger is active on the program you are trying to link.

  5. Out of heap space. See C1060 for more information.