TFS 2013 + MRM - Build & Release Failure

I have a project in a Git repo in my TFS 2013 environment, and it's automated releases are failing. I am using ReleaseGitTemplate.12.xaml (from
http://blogs.msdn.com/b/visualstudioalm/archive/2013/12/09/how-to-modify-the-build-process-template-to-use-the-option-trigger-release-from-build.aspx) as my build process template, and VS 2013 as my editor.
The error message in the build log under the heading "Other Errors and Warnings" is: "Release build failed (type Exception)".
The stack trace is:
at System.Activities.Statements.Throw.Execute(CodeActivityContext context)
at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
After the error occurs, when I bring up the MRM Client it doesn't appear as if a release was even attempted.
If I set the "Release Build" property on the "Process" tab for the build def to "False", and then run a build using that build def...the build succeeds. I can then, successfully, do a Manual Release using the latest (successful)
build output and everything works -- i.e. my web/app is updated on the server, including my web.config.token file being processed with the variables in the various stages of my release template.
I need to figure out why the automated release won't work. I have another project in the same environment that uses TFVC (and ReleaseTfvcTemplate.12.xaml from the same blog thread) and it's automated releases work just fine.
theBoringCoder

Hi BC, 
Thanks for your post.
You’re using TFS 2013 Update 4 and Release Management Server, Client, Deployment Agent 2013 Update 4 ?
Try to manually run release template(using completed TFS build) from RM Client, the release can run successfully?
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • Building VS 2008 projects using TFS 2013 team build.

    Dear members,
    Please provide your comments/procedure to build VS 2008 projects using TFS 2013 team build.
    Thanks you.
    Cheers, Tarun

    Hi Tarun,
    For the error occurred during TFS build process, you can check whether you specify the build x86 as your build platform. The assemblies in build output that you use might be copied to different location if you have the settings in your project or build
    definition.
    Check this
    page for more details, and check whether the problem can be resolved. If not, then set the logging verbosity to diagnostic level and then check the detailed build log.
    Best regards,

  • Web.config tranformations with TFS Build/Release

    Hello,
    We have recently started using TFS build/Release Manamement . I wanted to make continuous deployments to Dev and Test environments in one build by using the corresponding web.config transforms (Web.Dev.config and Web.Test.config). Please explain me the process
    and can we accomplish it in one build definition?

    Hi Pavani1234,
    Thanks for your post.
    For the configuration file transformations in Release Management, please refer to solution in this article:
    http://www.prowareness.com/blog/release-management-configuration-file-transformations-an-insight/ and the example in this
    http://vgaltes.com/index.php/2013/12/23/microsoft-release-management-part-3-configuring-the-release/.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Why do I get build failed "Can't find project or library" in TFS 2013

    Using TFS 2013, VB6, Windows Server 2008R2
    Problem: 
    While performing a TFS build of a VB6 application, I am receiving an error "Compile error in file c:\builds\clsCommon.cls
    Line 122:Can'tfind project or library"
    Setup:
    I have three projects: two VB6 dll's and one vb.net COM Callable Wrapper (CCW) dll. The first project (VB6)
    is called MyBase.dll. When I issue a make from the IDE, it complies and builds the dll. When I perform a build from TFS, again it builds without issue. 
    Next, is my .net assembly. Lets just say it complies and I'm able to compile other applications with it as
    a reference. In fact, let me state that I can compile my entire suite of applications and they work when I build them from the IDE. The problem is when I build from TFS 
    Finally I build the next VB6 project using TFS. This DLL (Called batch) internally references myBase.dll. Inside
    my batch project I have a class called clsCommon.cls. At line number 122 inside clsCommon I instantiate an object based on myBase.clsLOGs. Now when I run the TFS build, I get the error that Batch.clsCommon can not find myBase.clsLOGs:
    Private g_ErrorLogs AS MyBase.clsLOGs '<---- Line 122 of Batch.clsCommon 
    That is the nuts and bolts of it. 
    What I have tried:
    Compatibility mode is turned off. I tried to set it to Binary Compatibility, but I get an error that I can't
    set Compatibility Mode.
    All of out DLL's and EXE's are moved into
    a common executable folder D:\PEEPS\bin. When we set references in the IDE, we point to D:\PEEPS\bin. In TFS, the builds drop into C:\builds.
    IDE Builds drop into D:\PEEPS\bin
    Project references look in D:\PEEPS\bin
    TFS builds and drops into C:\builds
    Why are we doing builds in TFS if makes from the IDE are working?
    Also, to circumvent the issue in the past, we simply took the builds from the developers IDE and gave it to
    QA for testing. If everything tested ok, QA gave it to production support for implementation. The problem with that solution is our industry regulators do not want developers to give production EXE's and DLL's to QA or Production Support. They have to be able
    to perform their own builds and TFS is our code repository.
    Thank you in advance for you help.
    HaYen
    BJK1

    SOLVED
    Hi John,
    Thank you for the reply. 
    Solved this yesterday (had some other projects to work on had to shelve this for a while).
    There is a
    dependency structured path to out compiles:
    Project A is
    dependency for Project B
    Project A and B are required for project C
    etc
    There are about 10 VB6 projects overall.  What we noticed is that if you tried to open one of the last projects in the chain, sometimes we would get an error stating it could find one or more of the other projects.  The thing is all but one of
    these projects were referenced in the (run time) References section of the project and there was no Visual Basic Group so no Project References.  So how were the end projects' finding the initial projects?  I needed to solve this problem to fix my
    TFS issue.
    The answer was in the vbproj file. Internal to the project file a class file can be provided:
    class=someclassname; ..\projectname\classname.cls
    Once I removed the lowest level project as a run time reference and added it as a
    reference in the project file, my builds worked from the top down.
    BJK1

  • Could TFS 2013 build service connect to TFS 2010 server?

    I am using the TFS 2010 since 2011, both TFS 2010 Server and TFS 2010 build service are installed on a separate Windows 2008 R2 x64 Server, I have application written in C# and .net 4.0 framework.
    Recently, I want to upgrade the application to .net framework 4.5. I installed a Windows 2012 R2 x64 server and installed a TFS 2013 build service (since TFS 2010 build service doesn't support Windows 2012 R2 x64 server); however, the TFS
    2013 build service seem to be not support the TFS 2010 server.
    I need the old TFS 2010 build service to build the bug fix .net framework 4.0 (with other old dependency library) package for production and I need a new TFS 2013 build service to build the next version .net framework 4.5 (with upgrade dependency library) application.
    Both new and old TFS build service have to be co-exist.
    Does anyone know if it is possible to let TFS 2013 build service work with TFS 2010 server?
    Or any suggestion on this scenario?

    Hi  Panco,
    Based on your description, you can use TFS 2010 build service to build the .net framework 4.0 and .net framework 4.5 applications. You need to install the corresponding dependencies on the bulid machine before building. And also build on the build machine
    locally make sure you can build successfully locally before TFS build.
    Since you already set up TFS 2013 build service, you can configure it to a team project collection in TFS 2010 to have a try. As far as I know, seems it's fine to do the building. If you have other considerations or concerns, please elaborate
    more details about your scenario.
    Best regards, 
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Creating automated builds using TFS 2013

    Hello All,
    I need help regarding how should I create build defination for VS2008,2012,2013 projects in order to get .msi files.
    I have tried using upgraded template for VS2008 proj and using .proj but this is not working and I am getting error of TF.exe exited with code 100 error.
    Thank you.

    Hi sam1388,
    About build Visual Studio project by using TFS build, you can check the links below for more information:
    https://msdn.microsoft.com/en-us/library/ms404859(v=vs.90).aspx
    http://geekswithblogs.net/jakob/archive/2010/05/14/building-visual-studio-setup-projects-with-tfs-2010-team-build.aspx
    http://geekswithblogs.net/BizTalkUnleashed/archive/2012/12/10/how-to-build-visual-studio-setup-projects-.vdproj-with-tfs.aspx
    If you have any issues during the build process, it would be better to elaborate more details  about your scenario including settings, reproduce steps and screenshots for further investigation. Thanks for your understanding.
    @Max, you forget to post your email address.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • TFS performance report pack not working on TFS 2013

    Hi
    I have TFS 2013 setup and I found TFS performance report pack from http://blogs.msdn.com/b/granth/archive/2009/02/03/announcing-tfs-performance-report-pack.aspx URL.
    These reports don't work after uploading to my report server. The blog talk about creating a shared data source TfsActivityReportDS
    and using Data Source=localhost;Initial Catalog=TfsActivityLogging
    as connection string.
    I don't have any database by name TfsActivityReportDS in my TFS and as a result I am not able to run any report on my TFS 2013 server.
    Is there any way to get these reports work for TFS 2013? Or is there other TFS performance report pack made for TFS 2013?
    Regards, Premal Acharya

    Hi Charles,
    Thanks a ton for your help. :)
    It worked on TFS 2013. I followed your steps. I also found one easy way to edit the queries mentioned in those rdl files. I opened them in text editor and replaced TfsActivityLogging with my TFS project name (Tfs_DefaultCollection). Saved rdl file and opened
    it in report builder and then my job was only to modify the data source.
    I really appreciate your help for getting the reports worked on TFS 2013.
    However I am only stuck with one little issue pertained to Server Status - Source Control Request Queue.rdl file
    This report file doesn't have any queries and it also uses XML as connection to the data source. When I run this report on my TFS server I am getting error as URL "http://localhost:8080/versioncontrol/v1.0/administration.asmx" not found.
    Detailed information about the report file is given below.
    Report Name
    Server Status - Source Control Request Queue
    Connection type
    XML
    Connection string in data source 
    http://localhost:8080/versioncontrol/v1.0/administration.asmx
    Query Under data set
    <Query>
       <Method Name="QueryServerRequests" 
    Namespace="http://schemas.microsoft.com/TeamFoundation/2005/06/VersionControl/Admin/03">
       </Method>
       <ElementPath IgnoreNamespaces="true">*</ElementPath>
    </Query>
    -------END---------
    I don't know how to get it work. Your help and advice on this will be highly appreciated.
    Thanks again for helping me to get other reports worked with TFS 2013.
    Regards, Premal Acharya

  • Error Connecting to TFS 2013 from Oracle PL/SQL using MSSCCI

    Hi,
    previously we were able to connect to TFS 2008 through MSSCCI.
    we have MSSCCI 2013 provider, Teamexplorer 2013 andVersion Control Interface installed.
    While trying to connect to TFS 2013 from ORacle PL/SQL Developer 10.5 through MSSCCI ; there is an error coming up when we enter the server url ... it is allowing us only until <tfs home url> without collection...
    "The request failed with the error message
    <head><title>Document moved></title></head>
    <body><h1>Object Model</h1>This document may be found<aHREF=/<Collectionname>/Services/v1.0/ServerStatus.asmx>">http://<tfshome
    url>/<Collectionname>/Services/v1.0/ServerStatus.asmx> But the plugin picks it up automatically.. Am i correct?
    How to resolve the above error?
    Thank you
    Su

    Hi Su, 
    Thanks for your post.
    How do you manually build  your PL/SQL/Oracle projects?
    TFS Build invoke MSBuild command to build project/solution on build agent machine by default. If these projects can be built using MSBuild command line manually, then we can use TFS Build(default build process template) to build these projects.
    If these projects need be built using another complier, and this compiler support run the command line to invoke it, so you can add the InvokeProcess activity(execute the command line) to invoke this compiler to build these projects in build process template,
    then create build definition using this customized build process template.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to create an Epic level in TFS 2013

    Hi All,
    I am using TFS 2013 (Premise license) in my project. I can see PBI and Feature levels are displayed as default. I want to create additional levels for Epic and Themes. Could you please someone direct me how to do this in TFS 2013?
    Thanks in advance.
    Ilango

    Hi llango,
    For Epic level, you can check this blog for the details:
    http://blogs.msdn.com/b/visualstudioalm/archive/2014/09/11/scaled-agile-framework-using-tfs-to-support-epics-release-trains-and-multiple-backlogs-whitepaper.aspx
    If you want to use Agile portfolio management, then you can go through this link:
    https://msdn.microsoft.com/en-us/library/dn306083.aspx
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • TFS 2013 Update 4:Could not load file or assembly 'LibGit2Sharp, Version=0.13.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

    Issue: We have upgraded TFS 2013 App Server and Build Servers  from TFS 2013 RTM to TFS 2013 update 4. Everything looks good but we are receiving the below error:
    Could not load file or assembly 'LibGit2Sharp, Version=0.13.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
    Kindly share your thoughts/inputs to resolve the issue

    Hi John,
    Hope there is nothing wrong with the update.
    Yesterday, Our developers were troubleshooting the issue with the builds and found that
    Build Activities dll has the reference of LibGit2Sharp.dll
    version 01.12.0.3051.0.  After TFS upgrade, Build activities does not have a reference for the new version of
    LibGit2Sharp.dll [required] which has caused the issue in the build process.
    Error: Could not load file or assembly 'LibGit2Sharp, Version=0.13.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
    Resolution: New version of LibGit2Sharp.dll
    was added and referenced to Microsoft.TeamFoundation.Build.Activities.dll
    which has resolved the issue with the builds.
    I think this should be referenced somewhere regarding TFS Update 4 so that everyone will be able to spot the issue and fix the issue without any issues.

  • Package restore TFS 2013 where do I start?

    There seems to be a lot of confusion about NuGet Package restore on TFS. I have found many many pages about making sure Package restore is False and .targets must be removed and others that state exactly the opposite. 
    I have found references to Bcl settings, build definition updates, post NuGet 2.7 changes. Statements such as "You must add an extra project that runs a checked in version of nuget.exe", "you need an empty "packages" folder to be
    checked in".
    If I turn on package restore then the build log lists "This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them....". If I try the opposite then all the references are not found.
    I need to know where to start.
    ( I have read but perhaps do not understand the following).
    https://docs.nuget.org/consume/package-restore/migrating-to-automatic-package-restore
    http://blogs.msdn.com/b/dotnet/archive/2013/08/27/nuget-package-restore-with-team-foundation-build.aspx
    http://docs.nuget.org/consume/package-restore/team-build
    I have TFS 2013 and the developers are running VS2013 update 4 with nuget 2.8.
    How can I find what version of nuget is running on the server?
    What strategy should someone with this setup be following?
    and why is there such a polar opposite in recommendations, I assume I am missing something fundamental.

    Hi Rob,  
    Thanks for your reply.
    Team Build will build solution/project on build agent machine by default, so we need ensure Team Build can find the required references/package on build agent machine.
    Every project will created in/under a solution, and we need Enable NuGet Package Restore on solution. We suggest you build the solution in Team Build.  
    If issue happened on your Project based build, please share the detailed information here, I will follow your information and try to reproduce that issue on my TFS 2013 Update 4 Server environment.  
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Unable to determind the upgrade template on TFS 2013

    Hi,
    I get “Unable to determind the upgrade template” when I try to create a build from Team Explorer Everywhere although the old Upgrade template exist in the TFS Project under BuildProcessTemplates.
    The software I am using is
    IBM RSA 8.5 (with Eclipse)
    TFS 2013.3
    Team Explorer everywhere from: http://dl.microsoft.com/eclipse/tfs
    Anyone have any suggestions?
    /Magnus

    Hello again,
    It’s just in one of my TFS project I have this problem and it didn’t help to use older versions of the build process templates.
    /Magnus
    Magnus Timner

  • Importing modified Bug WIT does not refresh the template in TFS 2013 for the project created using Scrum Template.

    Hi,
    We have a TeamProjectA created in a collection using ScrumTemplate 2013.4. I have added a new State 'Duplicate' in the Bug WIT and modified the workflow. Also the ProcessConfiguration file is modified to match the metastate and imported using the ImportWit
    Commands which were successful. When I Export the modified WIT using Process Editor for TeamProjectA I can see the Bug.xml has my changes. However, when I try to create a new Bug through TWA, I do not see the new State'Duplicate' that I added.
    I dont see my changes are updated in the common configuration files Path ie C:\\Program Files\Microsoft Team Foundation Server 12.0\Tools\Deploy\ProcessTemplateManagerFiles
    Note: I have a different TeamProjectB created using the Agile template created under the same Collection as my other TeamProjectA. Not sure if this has anything to do with my problem.

    Hi NetLearuner15,  
    Thanks for your reply.
    If you want use witadmin command on your TFS Server machine, you need install VS 2013 on your TFS 2013 Server machine.
    Have you tried create new Bug using VS? The new added state value shows correctly in VS or cannot see it in VS too?
    You’re using TFS 2013 Update 4 and VS 2013 Update 4?
    Yes, you can restart your TFS Server and check the result.
    And we suggest you add a new custom field in your Bug_Test work item type(Fields and Layout) or only edit a default state value in it using Process Editor, then save this Bug_Test work item type and check if this new update shows correctly when you create
    a new Bug_Test work item from TFS Server. If the  new field or changed state value can be updated correctly in your TFS Server, I think your initial ‘Duplicate’ state value not defined correctly in your Bug WIT>>workflow.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to Find Actual Time Spent on a TASK in TFS 2013 by using the scrum template

    Hi! Currently we are using the TFS 2013 version with Scrum template this template contains only Remaining work measure for Task item and there is no
    other option for getting the Actual time spent on particular Task and Bug having the option called Effort. How to find the Actual Time spent or Actual effort hours on particular TASK is it possible? In the similar way the Agile Template having the These options
    like
    1 Original Estimate
    2 Completed Work
    3 Remaining Work 
    Can i use these 3 for Scrum Templete also?
    We require the feature similarly like Atlasian JIRA product (JIRA consist the Actual time, Estimation Time and Log).

    The Scrum template doesn't have these fields, tracking "spent time" is not really in line the philosophy of Scrum. it's tracking data that is not really useful anyway, unless you have to do some form of reporting. In which case you probably already
    have a system to track time in at a higher level. 
    The way TFS tracks time is very hard to use when you have a highly collaborative team, it would require you to create tasks for each person contributing to a task or constant re-asssigning of tasks to track the correct time spent. How else would you track
    two peopleworking together? Pair programming, for example is a practice we at scrum.org highly promote. As well as pairing a tester and a developer up on applying ATDD when working on a story together. When a story is taking "too long" to move off
    the board a technique called swarming is often applied, in which all team members help out to move the story along at a higher pace or to get it unstuck. These ways of workign are very, very, very hard to capture in TFS. But we think the threshold to use these
    techniques should be very low. People should default to these ways of working and not be punished by bad functioning tooling.
    As mentioned by Alexandr, you can extend the Scrum template with the same fields the MSF templates use, but I would not recommend it. Instead, if you need to track time, first consider doing it in different tool and at a different level than task. Maybe
    feature, activity or product backlog item.
    If you still want to track time, then a tool like
    Imaginet Time Sheet can extend TFS in ways that make it a lot easier to track time against any work item.
    As a last resort, consider
    adding the fields from the MSF template, but I beg you to reconsider.
    My blog: blog.jessehouwing.nl

  • What are the major differences between hana 2013 and 2014 release

    Hi Guys,
    I am planning to learn sap hana and write certification exam. As sap release new platform 2014, may I know what are the major deference between 2013 and 2014 release or its just enhancement pack on top of 2013.
    Please help me....thank you in advance.
    Regards,
    Tapas

    Hi,
    Good morning and greetings,
    Please use the following link
    http://solutionbrowser.erp.sap.fmpmedia.com
    Please reward points if found useful
    Thanking you
    With kindest regards
    Ramesh Padmanabhan

Maybe you are looking for

  • To calculate the 90th percentile in OBIEE

    Hi All, Can anyone help me how to calculate the 90th percentile in OBIEE. Thanks in advance; Rajeev.

  • AIR 2.0 application with 2.5 Runtime Installation Error

    Hi there, I'm getting an error while trying to install an AIR application. Basically, I just see the AIR installer dialog with an empty progress bar and an "Installing ..." message. Here's what the log file looks like: Nov 4 23:07:57 MM /Applications

  • Custom processing for Projects workflow

    Hi,   For Projects, we want to use custom notification functionality for workflow events. We cannot use agents assignment nor data from HR as we don't have HR data in SAP. What we want to do the following for all events related to projects.   1. User

  • DNS Zone Deleted

    I have an Active Directory Domain named corp.local, also 3 child domains named west.corp.local and east.corp.local and north.corp.local. I changed the SVR precedence level on corp.local to 0,and making the rest 10. suddenly i saw duplicates SVR recor

  • The reply number is ZERO in survey monitor

    Dear ,expert    I work in SRM 7.0 SP 10 and the supplier evaluation scenario.    The purchaser create one survey package and assign the new survey to it. The purchaser send to the evaluator. The evaluator receive one mail ,and open the attachment u20