I am deploying a number of .Net projects for different servers. For this, my team uses TFS to build, and then from the build template that calls the ps1 script, which uses msdeploy to switch to all different servers. All this is very enterprising and no, I canβt switch to something else right now. This process has been running for several months without any problems.
Today, deployment has been interrupted several times in a row by several errors. This itself bothers me (and may not be relevant), but now the one I get sequentially is this:
An error occurred while processing the request on the remote computer. The stream data 'C: \ Builds \ SomeDirectory \ obj \ Debug \ Package \ PackageTmp \ AReferencedProject.dll' is not yet available.
This error occurs when my script launches msdeploy. The DLL is used by the Windows service, but the service stops (as far as I can tell, stopping the service does not cause any errors), and the dll is not read-only. A DLL exists on the machine that builds / deploys, as well as the machine on which the deployment is performed.
I found that I can avoid this error if I remove the DLL that is "unavailable" from the server on which I am deploying, but the problem occurs immediately after each subsequent deployment, unless I manually delete this DLL before each deployment.
I saw this problem , but I do not insist on Azure, just on Windows Server 2008. Does anyone know why deploying the Microsoft website (msdeploy) would throw this error?
Mario source share