I have my code changes in Developer Environment which is working fine but when I am trying to deploy the changes to Integration Environment using TFS, build deployment is getting partially completed.

Below are the two errors which are causing the deployment to be completed partially.

  1. Website <somesitenumber> Doesn't Exists on <servernameHere>.

  2. A valid UNC path was not specified for UNCPathToClean.

1

There are 1 best solutions below

0
PatrickLu-MSFT On

For error1 suggest you manually remote to the target server and check if the website exists or not.

For error2 UNC path is a share folder, so that your team can access outputs such as those from builds. You can get more information about drop folder from Set Up Drop Folders.

It’s important that you use UNC path only for drop share location in TFS Builds. So you can take a folder from your local machine and then share it with “Build Services Account” with Read/Write permissions.

Then you can get to the local folder via UNC path as \\[YourMachineName]\[ShareName] and this is what you could use in your TFS Build Definition.

More details please take a look at this question: UNC build path in Team build (TFS)