3

I developed a project and while working on it I run it on debug mode, it works perfectly. When I try to run it on release mode I get the following error:

"error LNK1201: error writing to program database 'projectname.pdb' check for insufficient disk space, invalid path, or insufficient privilege "

The disk space shouldn't be a problem and I checked the running configurations and they seem to be ok.

2
  • Try a clean and rebuild? Reboot and try compiling again in case there is something in the background that has the file locked? Commented Dec 3, 2018 at 18:44
  • I tried that, it's not working Commented Dec 3, 2018 at 18:45

1 Answer 1

3

It seems your program database file 'projectname.pdb' for release mode is corrupted. If you delete the file and rebuild the project a new one will be generated. You can find the file in 'projectname/x64/Release'

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.