Cannot save file. The file may be in use by another application.
-
MSVC has started to report this error when I try to save source files. It occurs maybe one time out of three, even if I have only one instance of VC running. Very annoying. Has anyone else had this problem with VC6/Win2000? Is it a known bug in VC? I found nothing on MSDN. It might be a Win2000 problem, I've never seen it under Win98.
I see this a few times every day. Yes, i think it is a Win2k issue. It is really annoying. Even worse than source files, it can sometimes happen in the Class Wizard - and i've actually lost entire source files because of this one. I think CW does its work with temp files. When you make a change, CW creates and modifies a temp file, blows away the original file and tries to copy the temp to the original's name. Sometimes, CW will fail to copy the temp file back, after it has killed the original. The only chance of recovery is to find that temp file. Great fun. -c
-
MSVC has started to report this error when I try to save source files. It occurs maybe one time out of three, even if I have only one instance of VC running. Very annoying. Has anyone else had this problem with VC6/Win2000? Is it a known bug in VC? I found nothing on MSDN. It might be a Win2000 problem, I've never seen it under Win98.
Are you sure that no other VC is running ? It happens to me sometimes when VC crash, I need to kill it with the Task Manager. Stephane "It is ridiculous to claim that video games influence children. For instance, if PacMan affected kids born in the eighties, we should by now have a bunch of teenagers who run around in darkened rooms eating pills while listening to monotonous electronic music."
-
Are you sure that no other VC is running ? It happens to me sometimes when VC crash, I need to kill it with the Task Manager. Stephane "It is ridiculous to claim that video games influence children. For instance, if PacMan affected kids born in the eighties, we should by now have a bunch of teenagers who run around in darkened rooms eating pills while listening to monotonous electronic music."
Stephane Routelous wrote: Are you sure that no other VC is running ? Yes. It happens to me sometimes when VC crash, I need to kill it with the Task Manager. I've had that problem too, but I don't think they are related. I get the error even without a crash.
-
I see this a few times every day. Yes, i think it is a Win2k issue. It is really annoying. Even worse than source files, it can sometimes happen in the Class Wizard - and i've actually lost entire source files because of this one. I think CW does its work with temp files. When you make a change, CW creates and modifies a temp file, blows away the original file and tries to copy the temp to the original's name. Sometimes, CW will fail to copy the temp file back, after it has killed the original. The only chance of recovery is to find that temp file. Great fun. -c
I had a weird problem recently. I was closing VC when it asked me to save a file [this puzzled me no end as I thought I hadnt made any source changes], I clicked yes and forgot abt it till I reopened the project and found that one of my cpp files was now a zero byte file. I doono how or why it happnd. Luckily I had a 2-day oldbackup, so not much damage done. Nish Sonork ID 100.9786 voidmain www.busterboy.org If you don't find me on CP, I'll be at Bob's HungOut
-
Stephane Routelous wrote: Are you sure that no other VC is running ? Yes. It happens to me sometimes when VC crash, I need to kill it with the Task Manager. I've had that problem too, but I don't think they are related. I get the error even without a crash.
Yeah, check task manger and see if you see some orphan vc instances running [they are called vcspawn instances]. This happens some times when your program crashes in debug-run mode and takes vc down with it. Nish Sonork ID 100.9786 voidmain www.busterboy.org If you don't find me on CP, I'll be at Bob's HungOut
-
Are you sure that no other VC is running ? It happens to me sometimes when VC crash, I need to kill it with the Task Manager. Stephane "It is ridiculous to claim that video games influence children. For instance, if PacMan affected kids born in the eighties, we should by now have a bunch of teenagers who run around in darkened rooms eating pills while listening to monotonous electronic music."
-
I had a weird problem recently. I was closing VC when it asked me to save a file [this puzzled me no end as I thought I hadnt made any source changes], I clicked yes and forgot abt it till I reopened the project and found that one of my cpp files was now a zero byte file. I doono how or why it happnd. Luckily I had a 2-day oldbackup, so not much damage done. Nish Sonork ID 100.9786 voidmain www.busterboy.org If you don't find me on CP, I'll be at Bob's HungOut
I've had the one happen too. Never did figure out how it happened. Michael :-)
-
MSVC has started to report this error when I try to save source files. It occurs maybe one time out of three, even if I have only one instance of VC running. Very annoying. Has anyone else had this problem with VC6/Win2000? Is it a known bug in VC? I found nothing on MSDN. It might be a Win2000 problem, I've never seen it under Win98.
Considering MSVC is the app that gave me a dialog
An unnamed file has an invalid path
I'd say it's a problem with MSVC. There are also known issues with MSVC heap management and W2k (read: bugs in MSVC6). The way to fix it was apparently to tweak some key underHKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options
(I'm still waiting for "Previous Version", "Obsolete Version" and "Next Version"). You might get lucky searching MSDN. /Mike -
MSVC has started to report this error when I try to save source files. It occurs maybe one time out of three, even if I have only one instance of VC running. Very annoying. Has anyone else had this problem with VC6/Win2000? Is it a known bug in VC? I found nothing on MSDN. It might be a Win2000 problem, I've never seen it under Win98.
I've had the same problem also. I can have two instances of MSVC with two different projects, one gives me the error, the other does not. The good news is its fixed in the next version. :laugh:
-
MSVC has started to report this error when I try to save source files. It occurs maybe one time out of three, even if I have only one instance of VC running. Very annoying. Has anyone else had this problem with VC6/Win2000? Is it a known bug in VC? I found nothing on MSDN. It might be a Win2000 problem, I've never seen it under Win98.
Do you have Norton Antivirus installed? Since I installed Norton 2003 on my XPPro machine, I started getting this error, too.