Groups | Blog | Home
all groups > visual studio .net ide > february 2004 >

visual studio .net ide : "The process cannot access the file because it is being used by another process"


Earth Worm Jim
2/4/2004 6:26:14 PM
I am using VS.Net 2003 on Windows 2003 Server (standard edition) and I am
getting "The process cannot access the file because it is being used by
another process" on DLL's in a VS.Net solution.

I have made sure all the dependancies and the build order is correct but the
actually instance of VS.Net (devenv.exe) is LOCKING THE DAM DLL'S IT IS
TRYING TO BUILD. ?????

I have used Process Explorer from sysinternals.com to confirm this.

VS.Net started this last week and is now doing it with 2 of my projects in
my solution??????

Any one got any ideas?????

The solution does contain 2 DLL's that are in the GAC but are not causing
the issue and are not the DLL's getting locked. 1 DLL that is getting locked
has been registered as a COM+ service, but even when this is deleted it
still locks the dam DLL.

I have turned of Index Server as well and this has not help either

Anyone any idea before I throw the ******* machine out the *******
window....


Cheers

Ollie

Earth Worm Jim
2/4/2004 6:42:36 PM
http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:
80/support/kb/articles/q313/5/12.ASP&NoWebContent=1

Ollie

[quoted text, click to view]

Earth Worm Jim
2/4/2004 6:53:47 PM
And Yes I do copy all my DLL's to a common folder....

And Yes I realise this probably the problem, but WOW what a problem that is.
Not all of us are writing "Hello World" applications.......

[quoted text, click to view]

Willy Denoyette [MVP]
2/5/2004 12:41:25 AM
What do you mean with:
when this is deleted it still locks the dam DLL.
what process is holding the file locked?

Willy.


[quoted text, click to view]

Ollie
2/5/2004 9:53:21 AM
devenv.exe aka VS.Net is locking a DLL that it is trying to build so it
can't build the solution.

[quoted text, click to view]

AddThis Social Bookmark Button