未能解决:未能加载文件或程序集“XXXXXXXXX”或它的某一个依赖项。另一个程序正在使用此文件,进程无法访问。 (异常来自 HRESULT:0x8007002

现在遇到的问题和这个一样:

点击打开链接http://bytes.com/topic/asp-net/answers/629488-says-dll-file-use-cant-loaded-until-restart-iis

I copied a new set of files over to my ASP.NET dir (and subdirs) on our test

server. This replaced every file for the app. When I first then tried to
bring it up, I got the below error.

After I bounced IIS, then it worked fine. log4net.dll is in the Bin
directory. What is going on here - this makes no sense to me.

[FileLoadException: Could not load file or assembly 'log4net' or one of its
dependencies. The process cannot access the file because it is being used by

another process. (Exception from HRESULT: 0x80070020)]


网上还有解决的都试过没起作用。

Port 80被占用啦。其实我TestServer的网站没用用到80端口。

System进程也没有使用80端口,只是LIsting状态。

还解决不了。

你可能感兴趣的:(未能解决:未能加载文件或程序集“XXXXXXXXX”或它的某一个依赖项。另一个程序正在使用此文件,进程无法访问。 (异常来自 HRESULT:0x8007002)