Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 5th, 2003, 10:00 PM
Registered User
 
Join Date: Jun 2003
Location: Eugene, OR, USA.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Locked temp files

Here's an odd one: Whenever I make changes to a web form in between builds/compiles, the next build will fail with the message that:

"Could not copy temporary files to the output directory.

"The file 'bin\VAM3.dll' cannot be copied to the run directory. The process cannot access the file because it is being used by another process.

"The file 'bin\VAM3.pdb' cannot be copied to the run directory. The process cannot access the file because it is being used by another process."

It turns out that the "other process" that is holding the temp files (access denied to any other process) is aspnet_wp.exe. If I kill that process I can then do the build with no problems. But this requires that constantly kill aspnet_wp - a real pain in the ass.

Anybody know anything about this, or how to quit a session without aspnet_wp holding the temp files open? Thanks.

~Paul




Similar Threads
Thread Thread Starter Forum Replies Last Post
Unlocking locked and encrypted files Connelly62851 VB Databases Basics 1 July 5th, 2007 06:24 PM
Locked files Raymondg Other Programming Languages 0 May 18th, 2007 03:46 PM
locked files list puzzleddude General .NET 0 June 6th, 2006 10:45 PM
Locked files in MS Word Dracarnion Visual Studio 2005 2 May 16th, 2006 08:46 AM
Track temp files eelisMX Pro VB.NET 2002/2003 3 March 3rd, 2005 12:25 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.