Could not copy temporary files to the output directory...

  • Thread starter Thread starter lasmit
  • Start date Start date
L

lasmit

I am having some troubles with a project I am working on not building
correctly.

I converted an old ASP project to .Net and then have been adding pages
to the project in C#. This all works ok, however when I try and
compile the project I get two error messages:

1) Could not copy temporary files to the output directory.
2) The file 'bin\IADB_ASP_NET.dll' cannot be copied to the run
directory. The process cannot access the file because it is being used
by another process.

I am the only person working on this project and I have only one
instance of Visual Studio open. The only way to resolve the issue is
to restart Visual Studio.

This is deeply frustraing and I would really appreciate any advice that
anyone has to offer!

Lewis

Spec: Win2k Sp4
MSDE Standard Edition, v7.1.3088 (no updates available when clicking
help->check for updates)
Microsoft Visual Studio .NET 2003 Hotfix (KB830348)
 
While I remember, I have also tried:

* Terminating the aspnet_wp process
* Restarting IIS

Neither of which helped.

Many thanks in advance..

Lewis
 
Brendan

Thanks for your reply, the second solution in the first article you
mention seems to stop this from occuring 95% of the time although the
problem still pops up occasionally.

Good enough for me though.

Many thanks!

Lewis
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top