Assembly files blocked by IIS and / or application

Scenario

I use msdeploy to deploy files to web server A (call him WebA) and the Web Farm Framework Provisioning application to synchronize with web server B (let it be inventive to call it WebB).

Problem

For just one WCF.NET web service, msdeploy for WebA works fine, but the synchronization fails, saying that the .NET assembly file is blocked by the w3wp.exe process.

What have i tried?

Of course, restarting IIS, etc. unlocks it and allows synchronization, but I'm struggling to understand why it is blocked in the first place. I believe that IIS does not use deployed files directly, instead copying them to the Temp directory of the ASP.NET Files and JIT svc file, etc., Everything is there, as it happens with regular ASP.NET.

Question

Where can I start figuring out why the file will be blocked by w3wp.exe? I do not think that this will be the service itself, because msdeploy.exe for WebA is working fine, and it is only synchronization with WebB, which fails. Could this be a "service" providing WebB applications that locks the file? Why can he do this?

+4
source share

All Articles