Questions tagged [locked-files]

64 questions
0
votes
1 answer

Powershell move-item file in use

Trying to match a string in a bunch of CSV files and then move those with the string to another folder. The script logic seems to work but I keep getting errors that the file is use. I imagine it is powershell that has the file locked. How can I…
0
votes
0 answers

Safeguard from Locked Access DB

I'm developing a windows form application on Visual Studio 2012 in C# using a MS-Access 2010 DB in shared mode and due to that exactly, running both the program and the DB file at the same time, both the program and the DB file crashed which ended…
0
votes
2 answers

Plugin DLL locked by w3wp.exe

Dynamics CRM 2011 on premise. I have a registered plugin DLL that is called when the case/incident entity is created. An exception is raised when this happens. I am investigating this. The plugin is on disk (C:\Program Files\Microsoft Dynamics…
cja
  • 9,512
  • 21
  • 75
  • 129
-1
votes
1 answer

How to release filestream resource

I am saving an attachment from an email message. The attachment saves fine. My issue is that the filestream will not release the resource until the application exits. Neither Close or Dispose works. How is this done or is their a better way to save…
Ricardo
  • 105
  • 1
  • 11
1 2 3 4
5