TfsDeployer agent not working with TFS2013

Feb 17, 2014 at 4:52 PM
Hi,

Does anyone have similar issue with the TfsDeployer agent not working with TFS2013?? Asking cuz the same TfsDeployer agent worked perfectly fine with TFS2010 but once moving to TFS2013, it's not working. I've made sure that the TfsDeployer config settings in its config file are already updated with the new TFS server name under 'TeamProjectCollectionUri'. Moreover, it's confirmed that the agent do subscribes to the TFS BuildChangeEvent system successfully when tested the tfsdeployer with debug switch. But it just looks like it's not able to retreive 'DeploymentMapping.xaml' and some Power shell files from source control which are located on this path: "$/Team Project Name/TeamBuildProcessTemplates/Deployment"

Here is the exception noticed on the log event viewer on the web server where TfsDeployer agent is installed:

Microsoft.TeamFoundation.VersionControl.Client.ItemNotMappedException: There is no working folder mapping for C:\Windows\system32#\1\BuildProcessTemplates\TfvcTemplate\Deployment\DeploymentMappings.xml.
at Microsoft.TeamFoundation.VersionControl.Client.Client.GetLocalWorkspace(String localPath, Boolean throwIfNotFound)
at Microsoft.TeamFoundation.VersionControl.Client.VersionControlServer.DetermineWorkspaceNameAndOwner(ItemSpec[] itemSpecs, String& workspaceName, String& workspaceOwner)
at Microsoft.TeamFoundation.VersionControl.Client.VersionControlServer.GetItems(ItemSpec[] itemSpecs, VersionSpec version, DeletedState deletedState, ItemType itemType, GetItemsOptions options)
at Microsoft.TeamFoundation.VersionControl.Client.VersionControlServer.GetItems(ItemSpec itemSpec, VersionSpec version, DeletedState deletedState, ItemType itemType, GetItemsOptions options)
at TfsDeployer.VersionControlDeploymentFileSource.DownloadDeploymentFile(BuildDetail buildDetail)
at TfsDeployer.Configuration.ConfigurationReader.ReadMappings(BuildDetail buildDetail)
at TfsDeployer.Deployer.ExecuteDeploymentProcess(BuildStatusChangeEvent statusChanged)

I'd be greatly thankful if anyone can resolve this problem please.

Thanks!