Sign in to follow this  

Constant Error

This topic is 3489 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Every so often I get this error, General Work fatal error LNK1201: error writing to program database 'c:\Documents and Settings\Training\My Documents\Programming\Work\General Work\Debug\General Work.pdb'; check for insufficient disk space, invalid path, or insufficient privilege If I close Visual studio and reopen it the error goes away for awhile, but eventually it comes back. Any idea on how to fix this? Matt

Share this post


Link to post
Share on other sites
Have you tried "Rebuild All" on this project only? Maybe only Link Only?
Do you actually have enough space on your disk? The fact that closing/reopening makes the error go away may be because visual deletes all temporary files it generated and you have more space on disk when reopening?

Share this post


Link to post
Share on other sites
Quote:
Original post by Code Is Your Friend
Im using vc7 but I cant just delete the file, well, I could, but there would be consequences and repercussions I don't want to think of, heh.
All files in the "Debug" and "Release" directories are temporary files. It's always safe to delete them.

I seem to remember this bug is related to intellisense in some way...

Share this post


Link to post
Share on other sites
I've heard of this sort of thing being caused by virus scanners' real-time scanning. If you have that going, try disabling it and see if the problem goes away. If it does, you can look into configuring your scanner to skip PDB files.

Share this post


Link to post
Share on other sites
This bug is present in all versions, including 2005 and 2008. For me, it seems to appear more often in 2008.

I solve it by doing clean and rebuilding everything. It happens rarely enough though, so I never bothered to look for a solution.

It's not however related to application running longer than it should or various dynamic loading issues, it's a strictly MVS problem. No background scanners or anything similar either.

Share this post


Link to post
Share on other sites
I can't say I've seen this exact error, but I do occasionally have enough applications running (3-4 instances of Visual Studio + possibly Eclipse + Outlook + Firefox + Virus scanner + Firewall + source control + a ton of explorer windows, etc etc...) where I occasionally appear to run out of virtual memory. Closing any single open application seems to fix me long enough where I can restart a few "leaky" apps and things seem to be fine for a while after that. I don't know if it's related, but I thought it might be worth mentioning.

You could consider submitting a bug report to Microsoft. Not that that's gotten me far in the past, but worth a shot.

Share this post


Link to post
Share on other sites
Quote:
Original post by Antheus
This bug is present in all versions, including 2005 and 2008. For me, it seems to appear more often in 2008.



Yep, I'm getting it quite often in 2008.

Share this post


Link to post
Share on other sites

This topic is 3489 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this