"The handshake failed due to an unexpected packet format" with Release Management

Whilst configuring a Release Management 2013.3 system I came across a confusing error. All seemed OK, the server, client and deployment agents were all installed and seemed to be working, but when I tried to select a build to deploy from both the Team Projects and Build drop downs were empty. A check of the Windows event log on the server showed the errors The underlying connection was closed: An unexpected error occurred on a send...

October 17, 2014 · 1 min · Richard Fennell

Cannot build a SSRS project in TFS build due to expired license

If you want to get your TFS build process to product SSRS RDL files you need to call the vsDevEnv custom activity to run Visual Studio (just like for SSIS packages). On our new TFS2013.3 based build agents this step started to fail, turns out the issue was not incorrect versions of DLLs or a some badly applied update, but that the license for Visual Studio on the build agent had expire....

October 15, 2014 · 1 min · Richard Fennell

‘Unable to reconnect to database: Timeout expired’ error when using SQLPackage.exe to deploy to Azure SQL

I have trying to update a Azure hosted SQL DB using Release Management and the SSDT SQLPackage tools. All worked fine on my test Azure instance, but then I wanted to deploy to production I got the following error \*\*\* An error occurred during deployment plan generation. Deployment cannot continue. Failed to import target model \[dbname\]. Detailed message Unable to reconnect to database: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding....

October 15, 2014 · 2 min · Richard Fennell

Microsoft ALM event to Black Marble offices on the 26th of November

Black Marble is hosting a free Microsoft ALM event at our offices on the 26th of November. For once I will not be speaker, Giles and Colin from the Microsoft UK Visual Studio Team are coming up to deliver the session. For more details and registration see http://bit.ly/ALMLeeds

October 15, 2014 · 1 min · Richard Fennell

Experiences using a DD-WRT router with Hyper-V

I have been playing around with the idea of using a DD-WRT-V router on a Hyper-V VM to connect my local virtual machines to the Internet as discussed by Martin Hinshlewood in his blog post. I learned a few things that might be of use to others trying the same setup. What I used to do Prior to using the router I had been using three virtual switches on my Windows 8 Hyper-V setup with multiple network adaptors to connect both my VMs and host machine to the switches and networks...

October 7, 2014 · 6 min · Richard Fennell

Version stamping Windows 8 Store App manifests in TFS build

We have for a long time used the TFSVersion custom build activity to stamp all our TFS builds with a unique version number that matches out build number. However, this only edits the AssemblyInfo.cs file. As we are now building more and more Windows 8 Store Apps we also need to edit the XML in the Package.appxmanifest files used to build the packages too. Just like a Wix MSI project it is a good idea the package version matches some aspect of the assemblies it contains....

October 7, 2014 · 2 min · Richard Fennell

Updated blog server to BlogEngine.NET 3.1

Last night I upgraded this blog server to BlogEngine.NET 3.1. I used the new built in automated update tool, in an offline backup copy of course. It did most of the job without any issues. The only extra things I needed to do was Removed a <add name=“XmlRoleProvider” …> entry in the web.config. I have had to do this before on every install. Run the SortOrderUpdate.sql script to add the missing column and index (see issue 12543) Once done and tested locally I upload the tested site to my production server....

October 1, 2014 · 1 min · Richard Fennell

Swapping the the Word template in a VSTO project

We have recently swapped the Word template we use to make sure all our proposals and other documents are consistent. The changes are all cosmetic, fonts, footers etc. to match our new website; it still makes use of the same VSTO automation to do much of the work. The problem was I needed to swap the .DOTX file within the VSTO Word Add-in project, we had not been editing the old DOTX template in the project, but had created a new one based on a copy outside of Visual Studio....

September 22, 2014 · 2 min · Richard Fennell

Using MSDEPLOY from Release Management to deploy Azure web sites

Whilst developing our new set of websites we have been using MSDeploy to package up the websites for deployment to test and production Azure accounts. These deployments were being triggered directly using Visual Studio. Now we know this is not best practice, you don’t want developers shipping to production from their development PCs, so I have been getting around to migrating these projects to Release Management. I wanted to minimise change, as we like MSDeploy, I just wanted to pass the extra parameters to allow a remote deployment as opposed to a local one using the built in WebDeploy component in Release Management...

September 18, 2014 · 2 min · Richard Fennell

Speaking at PreEmptive’s event on Application Analytics in London on the 30th of September

I am speaking at PreEmptive’s event on Application Analytics in at Microsoft’s office in London on the 30th of September. There are various speakers from PreEmptive, Microsoft and Black Marble at this free event. There are still spaces available, just follow the link: Application Analytics with Visual Studio and PreEmptive Analytics for more details and registration.

September 18, 2014 · 1 min · Richard Fennell