Error Writing to .PDB File After Line Profile Operation

HomeOverviewHow Do I

Feature Only in Professional and Enterprise Editions   Profiling is supported only in Visual C++ Professional and Enterprise Editions. For more information, see Visual C++ Editions.

Attempting to build or rebuild a project after doing a line profile operation on the project may result in the following error message:

  LNK1201: error writing to program database "c:\Microsoft Visual Studio\Common\msdev98\MyProjects\yourapp\Debug\yourapp.pdb"; check for insufficient disk space

The Development Environment does not close the project's program database file (.PDB) after doing a line profile. Upon attempting to rebuild the project, the linker cannot write to the project's .PDB file, causing the LNK1201 error.

There are a number of ways to work around this problem: