473,792 Members | 2,831 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

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_N ET.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)

Nov 17 '05 #1
3 2158
While I remember, I have also tried:

* Terminating the aspnet_wp process
* Restarting IIS

Neither of which helped.

Many thanks in advance..

Lewis

Nov 17 '05 #2
I too have experienced this same bug all too often where restarting Visual
Studio is your only option. See if http://support.microsoft.com/kb/311491/ or
http://support.microsoft.com/default...b;en-us;313512 can offer any
resolution for you.

One quick check though... do you have the Object Browser open? If so, try
closing that and building again.

Brendan
"lasmit" wrote:
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_N ET.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)

Nov 17 '05 #3
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

Nov 17 '05 #4

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

Similar topics

11
1909
by: Etienne Charland | last post by:
Hi, I have a solution containing 6 C# projects; 1 WinForms project and 5 class libraries. I didn't have any problems until recently. I added a new project containing reports. I am using ActiveReports.Net. Now, whenever I make a change to a report in the class library and recompile, I get this error: "Could not copy temporary files to the output directory.". I have to close VS.Net and reopen it in order to recompile, this is very cumbersome....
4
8330
by: Mountain Bikn' Guy | last post by:
I am having serious problems with the following IDE bug: Could not write to output file 'x.dll' -- 'The process cannot access the file because it is being used by another process. ' and BUG: "Could Not Copy Temporary Files to the Output Directory" Error Message When You Build a Solution That Contains Multiple Projects I have tried all the solutions in Microsoft Knowledge Base Article - 313512.
1
1850
by: arkam | last post by:
Hi, I am building a solution containing one project and no special references. My dll just reached the 64KB "limit" and is 66KB now. When my DLL reached the 64KB limit IIS stopped releasing my DLL after an exception. I have to stop and start IIS to be able to build my solution again ! No MS KB article applies here because when my dll is only 63KB everything works !
5
3060
by: Verane | last post by:
Hi, I have read the thread named "Could not copy temporary files to the output directory" on this newsgroup. And I have the same symptoms on my machine. But I didn't find any solution suitable for me. (I don't use ASP.NET or any web service at all, only windows forms). Here is how I work : I have a solution with 10 projects inside. Each of them is built in a different directory (MyProject/bin/debug for each project). I have then a...
7
3328
by: MB | last post by:
I keep getting this error now: Could not copy temporary files to the output directory. Now i searched the web and found the same two solutions: 1. Set copy local to true 2. Check for extra backslash in path name Neither solutions work for me.
0
4290
by: IKdev | last post by:
Hi all, I have win2003 server and NET 1.1 framework. Created simple ASP .NET app with one page that has button and a label. When trying to run got the CS0016 error (see below). My temp env. variables are fine and NETWORK SERVICE has full access to ASP .NET temp folder. Please help, Thank you! IK
3
2348
by: tony | last post by:
Hello! When I build an exe file that use 6 class library dll I get this error. Could not copy temporary files to the output directory. The file 'MeltPracStorage.dll' cannot be copied to the run directory. Det går inte att komma åt filen eftersom den används av en annan process. All six project is located in the solution that build the exe file This compile error occurred when I add project 'MeltPracStorage to the
0
1347
by: SP | last post by:
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...
0
10430
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10211
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10159
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7538
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6776
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5436
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5560
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4111
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2917
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.