locked
Select Build Definition in a Component or in a Release Template is not working

    Question

  • Hi,

    I am using InRelease 3.3.2.3762 and TFS 2012

    The TFS Connection is working and I already have a build definition for TFS 2012 InRelease. The InRelease User has all rights needed (the most important on Make requests on behalf of others for all my collections) and the minimum rights for the collection i am working with.

    The only thing is, I can not see any team project or build definitions when selecting build definition in a Component or in a Release Template.

    Do you have any ideea?

    Greetings,

    Ioana

    Thursday, August 8, 2013 10:07 AM

Answers

All replies

  • Hi Ioana,

    In order for InRelease to be able to display information from TFS, it performs the requests on your behalf (in fact, on behalf of the user logged into InRelease). The account identity you configure in a TFS Connection profile is the one used to connect to TFS, but it is not its data that is shown. It is the data for the user logged into InRelease. That is, all TFS security applies. So, the user who is trying to select a build definition must have permissions to view it.

    Does your user have all permissions to access those team projects and therefore the corresponding build definitions?


    Leo Vildosola [MSFT]
    Release Management for Visual Studio

    Thursday, August 8, 2013 12:56 PM
  • Hi Leo,

    yes the InRelease User has all rights on the BuildDefinition. Every time I try to set the team project or build definition the error comes in event viewer:

    Timestamp: 08.08.2013 17:19:05

    Message: Response is not well-formed XML.: \r\n\r\n   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)

       at RM.Data.ConfigurationServiceRef.ConfigurationService.ListTfsConnections(String filterXml)

       at (Object , String )

       at A.c804ec59cd26a66f502895498976b85c7.c4f90e813d39c00f3f9fbb1819f87954a(Object cbc4e49d9655d6ce67bffddc94313699c, String c52d4651b0282d646d8ff4a955ef66268)

       at RM.Data.Model.TfsConnection.LoadListXml(String filterXml)

       at RM.Data.Model.ModelFactory.LoadListElements[T](String filterXml)

       at InCycle.InRelease.TeamFoundation.TfsHelperBase.CacheCredential(String tfsUrl)

       at A.cbcf7246d173a1c9b8505f6b4946e4052.c514dd9cec6f2067befcfe94c8903ea04(String cd55f56cb46f8030b61fc0e120db9e02c)

       at InCycle.InRelease.TeamFoundation.TfsHelperBase.GetCacheCredentialOfTFSServiceAccount(String tfsUrl)

       at A.c4b6396d77559d99944e50513049ae5e6.c514dd9cec6f2067befcfe94c8903ea04(String cd55f56cb46f8030b61fc0e120db9e02c)

       at InCycle.InRelease.TeamFoundation.TfsHelperBase.GetDefaultTeamProjectCollectionForServiceUser(String tfsUrl)

       at A.c3860ad6919be3c62a1a1c8b18f59fb01.c514dd9cec6f2067befcfe94c8903ea04(String cd55f56cb46f8030b61fc0e120db9e02c)

       at InCycle.InRelease.TeamFoundation.TfsHelperBase.AddTfsTeamProjects(XElement teamFoundationServerXElement, String tfsUrl, XContainer projectsXml)

       at (Object , XElement , String , XContainer )

       at A.c43393888e1f948200ba81c8f09e54c71.c514dd9cec6f2067befcfe94c8903ea04(Object cbc4e49d9655d6ce67bffddc94313699c, XElement cdec043d7f40225260bb5531c9951c480, String cd55f56cb46f8030b61fc0e120db9e02c, XContainer cda215598f2979695038f71680ee64dc9)

       at InCycle.InRelease.TeamFoundation.TfsHelperBase.AddTeamProjects(XElement teamFoundationServer, String tfsUrl, XElement projectsXml, XElement lastTfs)

    Category: General

    Priority: -1

    EventId: 0

    Severity: Error

    Title:

    Machine: machine_name

    Application Domain: /LM/W3SVC/2/ROOT-3-130204446530948750

    Process Id: 4704

    Process Name: C:\Windows\SysWOW64\inetsrv\w3wp.exe

    Win32 Thread Id: 5728

    Thread Name:

    Extended Properties:

    I don't know if this is the problem. If you need more Information let me know. Thank you.

    Ioana

    Thursday, August 8, 2013 3:30 PM
  • Could you please submit a support ticket at http://support.inreleasesoftware.com? We can then take it offline and report back our resolution on the forum.

    Leo Vildosola [MSFT]
    Release Management for Visual Studio

    • Marked as answer by Cece Dong Tuesday, August 20, 2013 2:08 AM
    Thursday, August 8, 2013 6:00 PM
  • Hi,

    done on Aug 14

    http://support.inreleasesoftware.com/requests/228

    Regards,

    Ioana

    • Marked as answer by Cece Dong Tuesday, August 20, 2013 9:18 AM
    Tuesday, August 20, 2013 7:02 AM
  • Hello,

    I have the same problem now, I can not select any Build Definition. My User, which is loged in at Release Management is also TFS Admin. I can edit the build definitions and so on.

    All works at release management, only select the build definition is not working now.

    I hope somebody can help me !

    I can also not open the entry at user forum from inrelease!


    Thanks Horst MOSS 2007 Farm; MOSS 2010 Farm; TFS 2010; IIS 7.5

    Monday, March 3, 2014 10:58 AM
  • I am currently experiencing this same problem. Any new information on the problem or do I need to submit a ticket?
    Friday, April 11, 2014 5:45 PM
  • I have the exact same issue as well. The Build Definition edit window shows nothing for Team Project and Build Definition. This worked fine before applying the latest update 2. 

    Sorry for the hijack... i opened my own question. 

    while (!(succeed = try()));


    • Edited by MikeJRamsey Monday, April 21, 2014 3:11 PM added comment.
    Monday, April 21, 2014 2:25 PM