Release Management utilities for RM 2015

Recently one of the customer wanted to know whether we have any utilities/best practices document that he can follow while managing his release management installation. Abhishek Aggarwal/Madhu Vadlapudi/me put together some of the utilities that we had, that were relevant for this customer, and I am sharing them with you below. Find the releases which…

9

Release management trial license has expired

One of our customers recently reported that he is intermittently hitting an issue where release management client shows that the server has expired. The error message at the client looks similar to this: – Suresh Tadisetty from the team worked with the customer and observed that it is occurring because the IIS worker process was…

1

Error – (1328, 2320) – Parameter count mismatch

Recently one of the customer reported that the releases are failing with following stack trace: – Error – (1328, 2320) – Parameter count mismatch.: \r\n\r\n   at System.Reflection.RuntimeMethodInfo.InvokeArgumentsCheck(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)    at Microsoft.TeamFoundation.Release.DeploymentAgent.Services.Deployer.Dsc.DscComponentInstaller.InvokeMethodByReflection(String methodArguments)    at Microsoft.TeamFoundation.Release.DeploymentAgent.Services.Deployer.ComponentProcessor.InstallComponentForV2PipelineImplementation(String…

2

Mixed mode assembly is built against version ‘v2.0.50727’ of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information.

One of the release management customer reported that while running a PS/DSC deployment script, the release management release is failing with following error: Mixed mode assembly is built against version ‘v2.0.50727’ of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information. Praneeth Yenugutala from the team investigated this and observed…

12

The current user does not have access to Release Management. Please login with a valid user or communicate with the Release Management administrator to add your user

One of the release management customers on VSO reported the above error where hewas not able to connect to the service using the WPF client. Anjani Chandan from the team resolved the issue using the following steps. He observed that the user is able to make the following rest call from the “private” browser window…

2

Microsoft.TeamFoundation.Release.Common.Helpers.OperationFailedException: Failed to establish remote power shell session

Recently one of the customers reported that his releases with the release management service on visual studio online are failing with following error. System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. —> System.AggregateException: One or more errors occurred. —> Microsoft.TeamFoundation.Release.Common.Helpers.OperationFailedException: Failed to establish remote power shell session to the deployment machine mymachine.cloudapp.net…

0

Release deployment fails with 404 (,15)

Recently one of the internal release management customers (probably one of the windows azure team) mentioned that sometimes their releases are failing with 404 http error code. The customer also observed that the releases which are succeeding have 5 actions and releases which are failing have 6 actions & if customer removes the 6th action…

0

Release management trial license expired?

Recently one of the customers mentioned that the trial license of the release management server has expired and wanted to know how to upgrade to the full licensed version. Anjani Chandan, from the team helped out the customer and provided the following steps, which worked. So I am sharing them here so that you can…

0

How to program against Release Management?

Recently one of the release management customers wanted to know how they can use the release management APIs to do the following: – Create a user. Create a standard environment/machine. Create a pick list. Create a release path. Create a release definition with a DSC action. Run a release from a release definition. (Update 1/8/2015)…

3