Microsoft Content Management Server - .Net and Cannot Copy Assembly

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > August 2004 > .Net and Cannot Copy Assembly





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author .Net and Cannot Copy Assembly
Troy

2004-08-19, 5:54 pm

Hi!

I am getting the following error when I try and compile my
code.

Cannot copy assembly 'MyLibrary' to file
c:/inetpub/wwwroot/MyWeb/bin/MyLibrary.dll. The process
cannot access the file because it is being used by another
process.

Help!

Troy.


Angus Logan

2004-08-19, 8:47 pm

This is more of a .NET question - you may get a richer thread in a .NET
based group.
--
________________________________________


Angus Logan (MCAD/MCDBA/MCP)
Lead Software Developer
Microsoft Application Solutions
Data#3 Limited
E angus_logan@data3.com.au
BLOG www.anguslogan.com
________________________________________


"Troy" <anonymous@discussions.microsoft.com> wrote in message
news:96bd01c48640$3a1f1140$a401280a@phx.gbl...
> Hi!
>
> I am getting the following error when I try and compile my
> code.
>
> Cannot copy assembly 'MyLibrary' to file
> c:/inetpub/wwwroot/MyWeb/bin/MyLibrary.dll. The process
> cannot access the file because it is being used by another
> process.
>
> Help!
>
> Troy.
>
>



Stefan [MSFT]

2004-08-20, 2:49 am

Hi Troy,

restart IIS and the problem will be gone.
Sometimes the ASPNET worker process locks the DLL.

Cheers,
Stefan.

--
This posting is provided "AS IS" with no warranties, and confers no rights.

MCMS FAQ:
http://download.microsoft.com/downl...6a/MCMS+2002+-+(complete)+FAQ.htm
MCMS Blog: http://blogs.msdn.com/stefan_gossner/category/4983.aspx
MCMS Sample Code:
http://www.gotdotnet.com/community/...t+S
erver

MCMS Whitepapers and other docs:
http://blogs.msdn.com/stefan_gossne...2/07/41859.aspx
--------------------------------


"Troy" <anonymous@discussions.microsoft.com> wrote in message
news:96bd01c48640$3a1f1140$a401280a@phx.gbl...
> Hi!
>
> I am getting the following error when I try and compile my
> code.
>
> Cannot copy assembly 'MyLibrary' to file
> c:/inetpub/wwwroot/MyWeb/bin/MyLibrary.dll. The process
> cannot access the file because it is being used by another
> process.
>
> Help!
>
> Troy.
>
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com