MSDeploy Not Found using Release Management Task

Scenario: Setup TFS Agent to use built in account Network Service as the identity to conduct actions on server. Using Web Deploy to update the web site using a batch file and Web Deploy package with the following syntax: msdeploy -verb:sync -source:Package=C:\_Agent\LatestDeployments\FarmDemo\LatestPackage\DemoWebFormsApp.zip -dest:Auto -disableLink:AppPoolExtension Error Encountered: 2018-04-24T22:09:42.6711726Z ‘msdeploy’ is not recognized as an internal or…

0

TFS Code Search Does not Return Results

If code search is setup on a remote server with indexing completed and the results are blank when executing a request, check the event logs for the error message. Detailed Message: TF400703: Unable to initialize the specified service Microsoft.VisualStudio.Services.Search.WebServer.CodeSecurityChecksService. Inner Exception Details:Exception Message: This implementation is not part of the Windows Platform FIPS validated cryptographic…

0

Manage Web.config Values between Environments in Release Management and TFS

When a Visual Studio project is created, it will provide the Debug and Release build configurations by default. The build configuration maps to the Web.config in the project and allows you to change database connection string, or appSettings value when the application is published. This setup allows you to define the variables for the application…

0

Where is my _PublishedWebsites folder?

For an ASP.net application, the vNext build system will generate the binaries for the web application in Visual Studio and will not create the _PublishedWebsites folder with the entire web application without some additional settings in the MSBuild argument section of the Visual Studio Build task. The following instructions show how to create a build…

0

How to Set Application Pool (App Pool) runtime to No Managed Code using PowerShell

I was asked in another post how to set the application pool runtime to No Managed Code to run ASP pages using PowerShell. Here are the steps. This simple PS script will loop all of the application pools on the local IIS server and output the name and the managed runtime: Import-Module WebAdministration -ErrorAction Stop…

1

How to send TFS build to a specific agent or server

There are times when you need to troubleshoot a build definition and why it is failing only on one server, or you bring a new build agent/server into the pool and want to test and need to send to specific build/server. To Send Builds to a Specific Agent: In the build definition, under General, add the…

4

Error Parsing Command from Build Command Line Task for SSIS Project

The build Command Line task available in the Task Gallery provides the Tool and Arguments options for configuration. The Tool option is where you specify the executable to run and the Arguments option are the values to be passed into the executable. Worked with a customer on a support case where they were trying to…

0

TFS and VSTS Support Blogs

Members of the TFS support team have several blogs to provide resolutions to support cases we work for customers. I try to add resolutions to support cases in which I could not find the answer from other sources. Thought I would just include some other blogs I use for research on issues: TFS Support: https://blogs.msdn.microsoft.com/dstfs TFS Support: https://blogs.msdn.microsoft.com/tfssetup/ TFS…

0

Impact on TFS Reports when Changing Work Item Area Path or Iteration

Recently had a case where the customer was about to reorganize the team project and assign new areas for the teams and update the iteration schedule and they were worried about the impact to the downstream reporting with all of the changes. Researched in-house and could not find a similar question being asked from a…

0

How to unconfigure TFS vNext Build Agent Service

There may be times when you need to unconfigure, or remove a build agent configured as a service  TFS 2015 and above and there are a few steps missing from the online documentation. UNCONFIGURE AGENT: The steps to configure/unconfigure are located here https://www.visualstudio.com/en-us/docs/build/admin/agents/v1-windows Open a command prompt in admin mode and navigate to the folder…

1