Questions related about problems modifying files due a second programm with a read- or write-lock.
Questions tagged [file-in-use]
53 questions
0
votes
0 answers
How can I overwrite a file in use on a network drive?
I've created a desktop app that pulls images from a shared network drive where the end users have read-only access. I need to update some of the images on the network drive but am getting errors regarding "file is in use by another process".
How…

Nicolai Dutka
- 340
- 1
- 4
- 16
0
votes
2 answers
PHP script locks up when changed and re-ran (Caused by APC)
Basic Info - Running WAMP 2.2 with PHP 5.4.3 and Apache 2.2.22 on Windows XP Pro 32 bit
My problem is that when I run a php script it will run just fine. Now if I change that script and re-run it, the page will never load and the script will become…

Cains
- 883
- 2
- 13
- 23
0
votes
0 answers
APC script locks ups
UPDATE - This is not a problem with APC but actually my server when I edit a script, save, and re-run it. The page loads continuously and the file locks due to my httpd.exe process whether APC is involved or not. I suggest a moderator close this…

Cains
- 883
- 2
- 13
- 23
0
votes
2 answers
File in use in windows
How to know the process that blocked a file in windows, e.g.: when trying to delete a file that is in use, how to know the process that using that file?

Imad Abu Hayyah
- 43
- 9
0
votes
1 answer
The process cannot access the file with PdfWriter.GetInstance
I am saving HTML content to PDF with the following code:
public void SaveHTMLToPdf(string HTML, string FilePath)
{
Document document = new Document(PageSize.A4, 10f, 10f, 100f, 0f);
PdfWriter.GetInstance(document, new…

Vishal Suthar
- 17,013
- 3
- 59
- 105
0
votes
1 answer
Change pre-defined message in Windows installer using VS 2010
I have looked at this question, but it is something different.
I need to change the message of MsiRMFilesInUse Dialog box.
Currently the message is "Do not close applications. (A reboot will be required.)"
I need to get it changed to "Do not close…

Tilak
- 30,108
- 19
- 83
- 131
-1
votes
1 answer
cannot save file because it's in use
I've tried so many different ways to do this, and it's still telling me the file is in use when I try to delete it before saving it again.
if (Clipboard.GetDataObject().GetData(DataFormats.Bitmap) != null)
{
if (File.Exists(filename)) {…

Starfleet Security
- 1,813
- 3
- 25
- 31
-2
votes
1 answer
Opening a file that's in use by another process
I've looked at several solutions to reading a file that's already in use by another process, but none of them seem to work for me.
The file I'm trying to read is an XML file that contains configuration settings that I need to extract.
Here's what I…

David C
- 664
- 1
- 8
- 21