Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > aspnet_wp locks some file types when copy them into a temporary directory

Reply
Thread Tools

aspnet_wp locks some file types when copy them into a temporary directory

 
 
SP
Guest
Posts: n/a
 
      07-25-2007
Dear all!

I have written a web service which should archive files in a server
directory. The files are placed in a directory that the web server can
access. In the first step I copy them to a temporary directory on the
web server. Afterwards I put some data into a database table and put
one of the files into a content management system by sending an e-
mail. If all that works fine I have to copy the files from the
temporary folder into the target folder which is also accessible to
the web server. All works fine except the second copy. For some file
types (.bil and .aux) the second copy will result into the error, that
the file is already used by another process. The other process is the
ASP.NET worker process (aspnet_wp in IIS 5, w3wp in IIS 6). Other file
types don't have that problem. The problem doesn't exist, when I
rename the .bil-file into .bil1 for example.

Does anybody know, why this 2 file types are locked by the worker
process and other file types not?

Thanks and best regards.
SP

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Could not copy temporary files to the output directory Verane ASP .Net 5 02-01-2005 03:18 PM
Aspnet_wp.exe process locks internet explorer/ any process utilizing windows scripting (cscript) Robert W. Eckert ASP .Net 4 10-05-2004 10:39 PM
Could not copy temporary files to the output directory Bug arkam ASP .Net 1 12-18-2003 03:48 PM
ASPNET_wp locks my machine up Jim Heavey ASP .Net 3 10-16-2003 04:36 PM
RE: Could not copy temporary files to the output directory Charlie Nilsson [MSFT] ASP .Net 0 08-29-2003 11:22 PM



Advertisments