Auto-Parameter Connection String for Web Deploy Package

Scenario: The connection string from the Visual Studio’s project web.config over rides the connection string set in the web deploy package parameters file upon deployment of the package. Meaning, the connection string defined in the in the web.config is connectionString=”Server=ServerA and web deploy package has a parameter value of connectionString=”Server=ServerB and the end result of…

0

Is SQL Job Required to Maintain Indexes for TFS databases

The recommendation from the Product Group is to not run a separate index maintenance job as the Optimize Databases TFS job will handle updating of indexes for TFS related databases (Config/Collection DBs). The stored procedure prc_OptimizeDatabase goes through all the indices (including clustered indices) and rebuilds them online if they are more than 20% fragmented….

0

ERROR_INSUFFICIENT_ACCESS_TO_SITE_FOLDER Deploying w/TFS

Scenario: The TFS deploy Agent is setup 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 to update a website folder. Error Encountered: Upon execution of the batch file, the following error occurs:…

0

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