473,325 Members | 2,860 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,325 software developers and data experts.

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

SP
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

Jul 25 '07 #1
0 1325

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Dave Smithz | last post by:
Hi There, I have a PHP script that sends an email with attachment and works great when provided the path to the file to send. However this file needs to be on the same server as the script. ...
1
by: Ryan | last post by:
I have a stored procedure which copies data from a view into a temporary table (x2) and then from the temporary table into a table which the users use. It takes 1 minute to get the data into the...
3
by: | last post by:
This question references to KB articles: http://support.microsoft.com/default.aspx?scid=kb;EN-US;315158 http://support.microsoft.com/default.aspx?scid=kb;EN-US;317012 I'm running Advanced Server...
3
by: Ingo Lundberg | last post by:
So, I have a brand new PC with XP Professional SP2 and .Net 1.1 SP1 (no .Net 1.0). I also have VS.Net 2003. I create a new directory with Explorer and web share it. I create a new ASP.Net web...
1
by: Damien | last post by:
Hi guys, I'm getting a bit of a wierd one with my ASP.NET application. I'm running under framework 1.1, which is a shame, because the following KB articles looked interesting initially: ...
8
by: Rusty Shackleford | last post by:
Is it normal behavior for the aspnet_wp.exe process to exit immediately after starting? This is happening to me without any errors in the application event log. No matter what ASP.Net application...
5
by: feng | last post by:
Hi, We just converted our VB.Net Windows exe project from VS.Net 2002 to VS.Net 2003 and ran into a problem. the MyApp.exe.config file that we use for our customized configuration settings is...
17
by: Peter Duniho | last post by:
I searched using Google, on the web and in the newsgroups, and found nothing on this topic. Hopefully that means I just don't understand what I'm supposed to be doing here. :) The problem: ...
1
by: laredotornado | last post by:
Hi, I'm using PHP 4.4.4 on Apache 2 on Fedora Core 5. PHP was installed using Apache's apxs and the php library was installed to /usr/local/php. However, when I set my "error_reporting"...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.