TF215097: An error occurred while initializing a build for build definition : Could not establish trust relationship for the SSL/TLS secure channel

Hello,
We are facing an issue when triggering a new build using TFS 2013 Update 4, VS2013 Update 4 using TFVCTemplate.12.XAML template. All our other older build definitions just work fine but not the TFVCTemplate.12.XAML.  It seems to me that some certificate
might be invalidated. Can anyone please point me in the right direction? 
Thanks, 
Mitul
TF215097: An error occurred while initializing a build for build definition :
Exception Message: One or more errors occurred. (type AggregateException)
Exception Stack Trace: at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at Microsoft.TeamFoundation.Build.Client.FileContainerHelper.GetFile(TfsTeamProjectCollection projectCollection, String itemPath, Stream outputStream)
at Microsoft.TeamFoundation.Build.Client.FileContainerHelper.GetFileAsString(TfsTeamProjectCollection projectCollection, String itemPath)
at Microsoft.TeamFoundation.Build.Client.ProcessTemplate.Download(String sourceGetVersion)
at Microsoft.TeamFoundation.Build.Hosting.BuildControllerWorkflowManager.PrepareRequestForBuild(WorkflowManagerActivity activity, IBuildDetail build, WorkflowRequest request, IDictionary`2 dataContext)
at Microsoft.TeamFoundation.Build.Hosting.BuildWorkflowManager.TryStartWorkflow(WorkflowRequest request, WorkflowManagerActivity activity, BuildWorkflowInstance& workflowInstance, Exception& error, Boolean& syncLockTaken)
Inner Exception Details:
Exception Message: An error occurred while sending the request. (type HttpRequestException)
Exception Stack Trace: at Microsoft.VisualStudio.Services.WebApi.VssHttpRetryMessageHandler.<SendAsync>d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
at Microsoft.VisualStudio.Services.WebApi.HttpClientExtensions.<DownloadFileFromTfsAsync>d__2.MoveNext()
Inner Exception Details:
Exception Message: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. (type WebException)Exception Stack Trace: at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
Inner Exception Details:
Exception Message: The remote certificate is invalid according to the validation procedure. (type AuthenticationException)
Exception Stack Trace: at System.Net.TlsStream.EndWrite(IAsyncResult asyncResult)
at System.Net.ConnectStream.WriteHeadersCallback(IAsyncResult ar)

Hi Mitul,
Thanks for your reply.
It’s strange, if your old build definitions can work using the same TFS Build Server, that indicate your TFS Server configuration is correct and can works. But only new build definition with default TfvcTemplate.12.xaml template cannot build successful.
Please share your TFS Server detailed environment information here. And share your
Build Service Properties dialog screenshot here.
Try to clean the Cache for TFS 2013 manually(delete the content of the folder only, not the cache folder itself):
Clean the Cache folder on Server machine. The folder path is:
C:\Program Files\Microsoft Team Foundation Server 12.0\Application Tier\Web Services\_tfs_data.  
After cleaned, on Server machine, click Start and select
Run… to open the dialog box, then input iisreset.exe and click OK, wait it run completely.
Additionally, you can run the TFS 2013 Power Tools BPA to scan the installation of your TFS Server.
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

  • Set-IRMConfiguration failed with error "Cou ld not establish trust relationship for the SSL/TLS secure channel."

    Hi, experts 
    I'm trying to configure a lab environment according tutorial http://www.msexchange.org/articles-tutorials/exchange-server-2010/compliance-policies-archiving/rights-management-server-exchange-2010-part3.html
    After completing configuration, I execute cmdlet Set-IRMConfiguration -InternalLicensingEnabled $true, but get error
    The remote certificate is invalid according to the validation procedure. ---> The underlying connection was closed: Cou
    ld not establish trust relationship for the SSL/TLS secure channel. ---> Failed to get Server Info from https://exhv-65
    94/_wmcs/certification/server.asmx.
        + CategoryInfo          : InvalidOperation: (:) [Set-IRMConfiguration], Exception
        + FullyQualifiedErrorId : C810E449,Microsoft.Exchange.Management.RightsManagement.SetIRMConfiguration
    Then I run cmdlet Test-IRMConfiguration -Sender [email protected] and get error
    Results : Checking Exchange Server ...
                  - PASS: Exchange Server is running in Enterprise.
              Loading IRM configuration ...
                  - PASS: IRM configuration loaded successfully.
              Retrieving RMS Certification Uri ...
                  - PASS: RMS Certification Uri: https://server1/_wmcs/certification.
              Verifying RMS version for https://server1/_wmcs/certification ...
                  - WARNING: Failed to verify RMS version. IRM features require AD RMS on Windows Server 2008 SP2 with the
              hotfixes specified in Knowledge Base article 973247 (http://go.microsoft.com/fwlink/?linkid=3052&kbid=973247)
               or AD RMS on Windows Server 2008 R2.
              Microsoft.Exchange.Security.RightsManagement.RightsManagementException: Failed to get Server Info from https:
              //server1/_wmcs/certification/server.asmx. ---> System.Net.WebException: The underlying connection was clos
              ed: Could not establish trust relationship for the SSL/TLS secure channel. ---> System.Security.Authenticatio
              n.AuthenticationException: The remote certificate is invalid according to the validation procedure.
                 at System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest async
              Request, Exception exception)
                 at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest async
              Request)
                 at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
                 at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest async
              Request)
                 at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
                 at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest async
              Request)
                 at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
                 at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequ
              est asyncRequest)
                 at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
                 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Obje
              ct state)
                 at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
                 at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
                 at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
                 at System.Net.ConnectStream.WriteHeaders(Boolean async)
                 --- End of inner exception stack trace ---
                 at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request)
                 at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request)
                 at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
                 at Microsoft.Exchange.Security.RightsManagement.SOAP.Server.ServerWS.GetServerInfo(ServerInfoRequest[] req
              uests)
                 at Microsoft.Exchange.Security.RightsManagement.ServerWSManager.ValidateServiceVersion(String featureXPath
                 --- End of inner exception stack trace ---
                 at Microsoft.Exchange.Security.RightsManagement.ServerWSManager.ValidateServiceVersion(String featureXPath
                 at Microsoft.Exchange.Management.RightsManagement.IRMConfigurationValidator.ValidateRmsVersion(Uri uri, Se
              rviceType serviceType)
                 at Microsoft.Exchange.Management.RightsManagement.IRMConfigurationValidator.TryGetRacAndClc()
              OVERALL RESULT: PASS with warnings on disabled features
    From the error message, this issue seem to related with SSL/TLS connection. So I go back to check configuration and find out a difference to tutorial. Current SCP url is https://server1/_wmcs/certification, but in tutorial it is https://server1:433/_wmcs/certification.
    On my opinion, I don't think it is the real reason.
    So, how can I resolve this error? Could you give me some suggestion? Thanks in advance.
    System Info:
    Windows Server 2008 R2 + Exchange Server 2010 SP3 RTM

    Hi
    Please have a try with the solution on this KB article
    “Error message when you try to test access from the Microsoft Dynamics CRM E-mail Router: "Incoming Status: Failure - The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel"”
    http://support.microsoft.com/kb/954584/en-us
    Cheers
    Zi Feng
    TechNet Community Support

  • Could not initialize variable. An error occurs while initializing BPEL .

    I have the following error:
    **Could not initialize variable. An error occurs while initializing BPEL variable inputVariable; the schema processor cannot find the element {http://xmlns.oracle.com/MRTApplicationWorkflow/Project1/BPELProcess1}processRequest in the following schemas: oracle.fabric.common.wsdl.SchemaManager@e92e05. The XSD element on which the variable was based was not properly defined in XSD or the WSDL. Ensure that the element named in the error message is valid in the XSD or the WSDL.**
    My process input xsd below:
    <?xml version="1.0" encoding="UTF-8"?>
    <schema attributeFormDefault="unqualified"
         elementFormDefault="qualified"
         targetNamespace="http://xmlns.oracle.com/MRTApplicationWorkflow/Project1/BPELProcess1"
         xmlns="http://www.w3.org/2001/XMLSchema"
    xmlns:q1="http://schemas.datacontract.org/2004/07/WM.Services.MRTPortfolioService.BusinessObjects">
    <import schemaLocation="MRTWorkflowService.svc_xsd_xsd2.xsd"
    namespace="http://schemas.datacontract.org/2004/07/WM.Services.MRTPortfolioService.BusinessObjects"/>
    <element name="processRequest">
              <complexType>
                   <sequence>
                        <element name="institutionid" type="int" />
    <element name="brokerid" type="long"/>
    <element name="accountid" type="string"/>
                   </sequence>
              </complexType>
         </element>
         <element name="processResponse">
              <complexType>
                   <sequence>
                        <element name="result" type="q1:ArrayOfMRTProposedOrder"
    />
                   </sequence>
              </complexType>
         </element>
    </schema>
    Please help me with this isssue.
    I am using BPEL 2.0.

    Please check your XSD and dependant XSD's whether it contains any special characters.
    I solved the same issue in my BPEL process by commenting the special characters included in <documentation> element of XSD.

  • Is anyone receiving this error (ALC-WKS-007-049 - An error occurred while initializing Workspace)?

    Hello,
    I'm have installed Adobe LiveCycle ES2 Server and Workbench on a server.  This is the trial version and has already expired on January 4th, 2010.  However, I was still able to create forms using Workbench ES2 on my local PC and connect and login to Workspace ES2 server, until a few days ago.  The error message whenever I try to login to the Workspace server is:
    ALC-WKS-007-049 - An error occurred while initializing Workspace.
    I can still login to the Administration console for LiveCycle ES2 Server, however.
    Is it because I'm using a trial version of ES2/Workbench?  I find it strange how I could still login even after the trial date.  I'm unable to login starting from a few days ago only.
    I've looked online to troubleshoot this issue, and the "LiveCycle ES Error Code Reference" document said I should refer to a log file.  Where is this log file on the server?  I looked into the root LiveCyle ES2 folder and there's no such log file for this issue, only installation log files.
    If anyone can shed some light on this, that would be much appreciated!
    Thank you.

    The shows that the LCDS license has expired.  You need to get a gm version.
    2010-02-09 09:21:42,332 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/workspace-server].[Mess ageBrokerServlet]] Allocate exception for servlet MessageBrokerServlet
    flex.messaging.license.InvalidLicenseException: Beta expired.

  • CFG0008: Error occured while processing. Possible Cause: URN_NOT_FOUND : urn "JRM" : Not

    Dears , Kindly advise
    I have a server running Ciscoworks LMS 4.2.3 version. Server has been working without any issues.
    Now when I try to go into Netconfig Jobs, I get the following popup:
    CFG0008: Error occured while processing.
    Possible Cause: URN_NOT_FOUND : urn "JRM" : Not found !!
    I've been looking at various threads similar to my situation and tried several, to no avail.

    It may be that the related services are down. Share the output of NMSROOT/bin/pdshow -brief from the server to share service status.
    Many times, it happens when the port required by service is being used by other. Try the following procedure and see it works :
    1.Stop daemon manager: net stop crmdmgtd
    2.Go the location: CSCOpx\MDC\tomcat\webapps\rme\WEB-INF\lib take a copy of the following
    file and them delete them: ctmregistery and ctmregistery.backup
    3.Restart the daemon manager: net start crmdmgtd (wait for 10 minutes)
    Check if everything works fine.
    -Thanks
    Vinod

  • Error occurred in deployment step 'Recycle IIS Application Pool': Could not load file or assembly 'Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specif

    Hi All,
    I am using Virtual box to connect to Sharepoint 2013 VPC. Due to an unexpected sutdown of my machine the VPC got some issue. Now I restored it using my bak up file. But after this when I deploy my sharepoint 2013 farm solution Iam getting the following error.
    Error occurred in deployment step 'Recycle IIS Application Pool': Could not load file or assembly 'Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified..
    Editing the web.config and adding dependentAssembly didnt worked for me.
    What could be the issue? Any suggestions ?
    Thanks in advance...
    Regards
    Nimisha
    [email protected]

    Hi,
    Please try to do as follows:
    1. Check your farm solution whether reference the Microsoft.SharePoint.dll. Or try to add the Microsoft.SharePoint.dll into the bin folder.
    2. Execute the iisreset command.
    3. Create a new farm solution and check whether the issue still occurs or not.
    Best Regards
    Dennis Guo
    TechNet Community Support

  • " Could not create SSL/TLS secure channel " error with Webtest of VS 2013

    hello !
    I want to test my mvc web project with webtest tools of VS 2013 and I Record a test with Internet Explorer
    but when I run test appear this error for me at result of test run : Could not create SSL/TLS secure channel
    for some requested url , but i watch requests in developer tools of chrome browser and I don't see this error.
    i have ssl certificate on the server.
    thanks 

    Hi ArashGhf,
    >>but when I run test appear this error for me at result of test run : Could not create SSL/TLS secure channel
    Based on the error message, it looks like it might be a problem with your certificate not being set up correctly for web performance test.
    Therefore, I suggest you could refer the autom8dTest's suggestion to convert the Web performance test to coded web performance test and then add the WebTestRequest ClientCertificates property to the ClientCertificates collection after the request
    is set up.
    For more information, please refer to it.
    https://social.msdn.microsoft.com/Forums/en-US/49e8d188-90c3-4d72-b387-10b1d1adc4a0/ssl-in-webtests-request-failed?forum=vstswebtest
    Hope it help you!
    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.

  • "error occurred while loading this content" ... ATV2 not even 24hrs old...

    I just bought this ATV2. I am using AT&T internet with an EDGE250AEW wireless router and a Motorola modem.
    I'm attempting to rent movies with my ATV2 and watch them. After a myriad of times of trying to just sign into my iTunes account via ATV2, I finally was able to rent a movie.
    When I click on the movie to rent, I'll press "PLAY" and it will give me the message "error occurred while loading this content".
    I realize my internet connection is slow (1.5M) so I am renting in SDef ... but that still shouldn't be preventing me from even being able to rent a movie.
    I attempt to watch a movie preview ... and a 2 minute movie preview takes over 5 minutes to load ... and it wont start playing until it's completely loaded. Bollocks!
    I have updated my software, I have rebooted, I have restarted, I have recycled ... no avail.
    Is this a PORT opening issue? I dont know what is going on but it's REALLY frustrating to have a 100 dollar paper weight.
    I AM able to use home sharing and watch movies from my Macbook iTunes to the ATV2 ... but rentals from the store via the ATV2 doesn't work.
    help please

    You are definitely NOT the only one here with this MAJOR issue: http://discussions.apple.com/thread.jspa?threadID=2615363
    I have the same issue, and I have a 6MB AT&T Elite Pro DSL service that I have always had since purchasing my ATV2 in October. Never have I had these issues until the 4.2 update. Horrible software bug and it keeps coming back up. TV shows, movies, etc. No rhyme or reason. Some shows new, some old. Some movies HD, some SD. It is almost as if the Apple TV rolls a die and if I get an odd number, I get the error message. Even number, it plays through...
    Why would Apple continue to release software updates that do not address these issues? We have to keep leaving Apple feedback on this issue that is big enough that over 13,000 views on their own message board confirm this problem since the 4.2 software update a few weeks ago...
    Tell your friends: http://www.apple.com/feedback/appletv.html

  • Error Occured while initializing 2LIS_03_BX datasource.

    Hi Experts,
    I have enhanced characteristics and key figures to 2LIS_03_BF datasource. Now i am getting Error:"Inactive enhancement for BW extraction. Extraction not possible"
    while initializing Stock for 2LIS_03_BX in T-Code:MCNB.
    Is there any settings do i need to do, before performing this action?
    Valuable answers will be rewarded with points.
    Thanks in advance,
    Rafi

    Hi Oscar,
    Thanks for quick response. I can see 2LIS_03_BX in RSA6. Also i have activated the extract structure again.
    Still i am getting the same error.
    (I have enhanced characteristics and key figures to 2LIS_03_BF and have found that the system by default appended those characteristics and key figures to 2LIS_03_BX). 
    Could anybody please provide me the valuable suggestion.
    Thanks in advance,
    Rafi

  • After the start of Lighroom I get the error message An error occurred while attempting to switch between modules. also uninstall and reinstall after a bvleibt the Fehlermedlung in lightroom receive

    ..can anybody help me ?....

    For what it is worth, I was unable to change to the Web and Print modules, and I was also unable to record new presets (though I had successfully done it many times before) though I could still use already created ones.  I was baffled, but found a workaround using hints from this and other forums.  Much thanks to those who provided me with a starting point as I never would have figured this out on my own.
    My wife is a separate user on the same computer, and I tried switching our catalogues and preference files, ... nada.  Looking at her folder structure under user/library/application support/adobe/lightroom, she had folders for Web Templates, Web Galleries, and Print Templates but I didn't.  So, simply copying her folders (not creating new ones of the same name, which may still have worked) into my own lightroom directory worked. 
    Where I screwed up initially was tryiong to use my own presets under her install of lightroom and then creating new ones (which worked) but then trying to import them back into mine.  I had the new presets working under my own install, but still couldn't create new ones under my own setup.  Finally, I realized that it was the "Develop Presets" folder under my own install that was in some way corrupted and copied her Develop Presets folder into my own install and every thing was fixed. I could even copy the subfolders from my own Develop Presets folder directly back in without issue.
    Hope this helps someone.

  • Has anyone experienced this error when syncing your iphone..."iphone could not be synced b/c the connection the iphone was lost"????

    i have been trying to sync my iphone and keep getting the following error: iphone could not be synced as the connection to the iphone has been lost"....suggestions please.

    Try one or more of the following troubleshooting steps:
    Connect the phone directly to a USB port on the computer, not to a USB hub.
    Disconnect all other USB devices except the iPhone, keyboard and mouse.
    If it's a desktop or tower computer use a port on the back of the computer rather than the front.

  • An error occurred while initializing Workspace. (ALC-WKS-007-049)

    What is this error? It just happens randomly - on the login screen - when I try to login or when I logout. This is a big preproduction error, please elaborate on this.
    Thanks

    Hi Andrej,
    Have you ever got this resolved? If so, can you please share the solution. I ave the same problem and try different solution but none of it works.
    Thanks,
    Han Dao

  • Get a critial error message when I login to my email stating an error occurred while initializing the zinlet "comcast_search."

    see above ?

    See this - https://support.mozilla.org/en-US/kb/fix-printing-problems-firefox
    Specifically see this paragraph - [https://support.mozilla.org/en-US/kb/fix-printing-problems-firefox?esab=a&s=reset+printer&r=5&as=s#w_reset-all-firefox-printer-settings Reset all Firefox printer settings]

  • Error: Master Copy for Type Definition Could Not Be Found

    See screenshot below please. The typedef is there (I navigated to it via windows explorer and it's not greyed out in the code), and my FPGA VI is not broken, which uses the exact same control. I also created these constants by right clicking and choosing create constant, so it's not as if I'm loading the wrong enum. Has anyone seen this before?
    CLA, LabVIEW Versions 2010-2013
    Solved!
    Go to Solution.
    Attachments:
    untitled.PNG ‏30 KB

    Because I am a bad scientist, I do not know exactly what fixed my problem because I changed more than one variable at once.
    Here's what I did:
    Removed auto-populating folder from project (doubt this mattered, still broken after this)
    Changed my open FPGA VI reference from using a bitfile to using a VI, selected my FPGA VI, NO MORE BROKEN RUN ARROW! YAY.
    The above finding led me to go look at my FPGA bitfiles on disk -- I had two of them (weird). Usually a compilation just overwrites the older file.
    Just in case the names give any insight, they are:
    Older:  NASATTRControlCo_FPGATarget_FPGAMain_25B3817B.lvbitx
    Newer: NASATTRControlCo_FPGATarget_FPGAMain_25AF817B.lvbitx
    I went back to my open FPGA VI reference, and selected the most recent bitfile that I compile this morning -- No more broken run arrow.
    I have a feeling this may be due to selecting an old bitfile, but usually if the bitfile doesn't include the control, it won't show up in the read/write control node. If anyone from NI would like to comment on this I'd appreciate the insight on what may have happened.
    I am wondering if it's because I installed 2010 SP 1? Who knows but it's fixed now.
    CLA, LabVIEW Versions 2010-2013

  • Error: "Could not find a part of the path '\\dc\UEVSETTINGS\westsalesuser9\SettingsPackages'.".

    So, some of UEV 2.0 clients are syncing.
    This one isn't.
    So I'm in the event logs, and the App Agent piece shows
    An exception has occurred while synchronizing settings packages. Exception message: "Could not find a part of the path '\\dc\UEVSETTINGS\westsalesuser9\SettingsPackages'.".
    Event 13000.
    But that location it totally writeable.
    So basically, this one client cannot read OR write.
    I've uninstalled, re-installed.
    I've verified that Get-UEVTemplate shows the templates A-OK.
    What else can I do / check?
    Thanks in advance.
    --Jeremy Moskowitz, Group Policy MVP

    Hi,
    For a better support about this kind of product, it is recommended to post in the following forum:
    http://social.technet.microsoft.com/Forums/en-US/home?forum=mdopuev
    Thanks for your understanding.
    If you have any feedback on our support, please click
    here
    Alex Zhao
    TechNet Community Support

Maybe you are looking for