Load Balancing TFS Code Search Servers

At this time, it is NOT possible to load balance the TFS Code Search servers (Elasticsearch) as the service is not designed for load balancing. TFS supports a single Code Search server in the TFS environment. The Code Search service is considered an ancillary service to TFS and would not impact the developers ability to…

0

Issue with Accessing IIS Redirection.config file during Deployment

Scenario: The TFS build/release agent is configured to use the built in account Network Service (or a domain account that is not a member of the local admin group) when running as service. A file permission error occurs when the release is attempting to update files in the IIS for the website using Web Deploy…

0

MSBuild Syntax for Creating Web Deploy Packages and _Publishedwebsite folder for TFS Builds

_PublishedWebsite folder Just the _PublishedWebsite folder: /p:outdir=$(Build.ArtifactStagingDirectory) Creates a Published Site within the drop location for the build: /p:outdir=$(Build.ArtifactStagingDirectory)\drop Or use the Publish Artifact task to copy the contents of the package just created and upload to the drop zone: Web Deploy Package: Create Just the Web Deploy Package: /p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:SkipInvalidConfigurations=true /p:PackageLocation=$(Build.ArtifactStagingDirectory) Transform…

0

Releasing to Multiple Environments with Web Deploy and Parameters file Tokenization

Build and Release Scenario: This method uses a combination of the Web Deploy Parameters and the Tokenization task in Release Management to transform the parameters at the time of release in each environment. The web.config values are changed when the deployment occurs into the environment through the use of variables set in RM for the…

0

Install and Configure Web Deploy on IIS

Purpose: Describes steps to setup an IIS website publish method between servers. This method will push web files from the source server to the destination server at the website level. Install and Configure Web Deploy Service: Download version 3.6 http://www.microsoft.com/en-us/download/details.aspx?id=43717 Install on IIS server using Admin level credentials Select the Change option to adjust the…

0

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