Release Management 2013 Index was outside the bounds of the array

I am getting "Index was outside the bounds of the array." error when Release Management 2013 is in Deploy step .
Status: Rejected
Command Output show "3589 File(s) copied" at the end of file
The build of solution was Build succeeded completed.
i try run release again and it no show log file
Thanks for your help.
steve

Hi 
I follow the steps to tracking Release management log and i see the error, a component have in the field "File extension filter" the value "*.*", i change this value to "*.config" and deploy is done 
the complete error:
- Index was outside the bounds of the array.: \r\n\r\n   at Microsoft.TeamFoundation.Release.Common.Helpers.TextFileEncodingDetector.DetectSuspiciousUtf8SequenceLength(Byte[] sampleBytes, Int64 currentPos)
   at Microsoft.TeamFoundation.Release.Common.Helpers.TextFileEncodingDetector.DetectUnicodeInByteSampleByHeuristics(Byte[] sampleBytes)
   at Microsoft.TeamFoundation.Release.Common.Helpers.TextFileEncodingDetector.DetectTextFileEncoding(FileStream inputFileStream, Int64 heuristicSampleSize, Boolean& hasBom)
   at Microsoft.TeamFoundation.Release.Common.Helpers.TextFileEncodingDetector.DetectTextFileEncoding(String inputFilename)
   at Microsoft.TeamFoundation.Release.DeploymentAgent.Services.Deployer.ComponentProcessor.ReplaceConfigurationVariablesInFilesImplementation(String path, String searchPattern, Func`4 directoryFileRetriever, Func`2 readAllText, Func`2 detectTextFileEncoding,
Func`3 replaceConfigurationVariables, Action`3 writeAllTextWithEncoding, Action`2 writeAllText)
   at Microsoft.TeamFoundation.Release.DeploymentAgent.Services.Deployer.ComponentProcessor.ReplaceConfigurationVariablesInFiles(String path, String searchPattern)
   at Microsoft.TeamFoundation.Release.DeploymentAgent.Services.Deployer.ComponentProcessor.ReplaceConfigurationVariablesPostImplementation(Action`2 replaceConfigurationVariablesInFiles)
   at Microsoft.TeamFoundation.Release.DeploymentAgent.Services.Deployer.ComponentProcessor.DeployComponent()
THANKS FOR YOUR HELP
steve

Similar Messages

  • Claims authentication: "Server was unable to process request. --- Index was outside the bounds of the array"

    Hi there,
    I recently got a peculiar error when users tried to log-in into a SP 2010 portal using claims based authentication.
    The following error is logged in the event viewer of the SP server in question:
    Event ID 8306 - Claims authentication
    An exception occurred when trying to issue security token: Server was unable to process request. ---> Index was outside the bounds of the array.
    I also found an IIS warning entry with a similar message:
    Event ID 1309 - Web Event
    Exception type: FaultException
    Exception message: Server was unable to process request. ---> Index was outside the bounds of the array.
    I simply could not find an answer to why this happened, but an iisreset seemed to have fixed the issue. I was wondering if anyone here would know a possible root cause for this issue?
    Thanks in advance for your help.
    Regards,
    P.

    Hi,
    Thanks for posting your issue, Kindly browse below mentioned URLs to fix this issue
    http://underthehood.ironworks.com/2011/05/sharepoint-2010-an-exception-occurred-when-trying-to-issue-security-token-the-server-was-unable-to-p-1.html
    http://nearbaseline.com/blog/2011/01/claims-exception-occurred-issuing-a-security-token/
    I hope this is helpful to you, mark it as Helpful.
    If this works, Please mark it as Answered.
    Regards,
    Dharmendra Singh (MCPD-EA | MCTS)
    Blog : http://sharepoint-community.net/profile/DharmendraSingh

  • Call Bapi_Material_Availability Error : Index was outside the bounds ...

    I am coding .net 2003 (VB)  and  .NET connector 2.0  Call Bapi_Material_Availability . It Error  Exception Details: System.IndexOutOfRangeException: Index was outside the bounds of the array.
    This my code:
       Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
            Dim Batch As String
            Dim Check_Rule As String
            Dim Customer As String
            Dim Dec_For_Rounding As Short
            Dim Dec_For_Rounding_X As String
            Dim Doc_Number As String
            Dim Itm_Number As String
            Dim Material As String
            Dim Material_Evg As Test6.BAPIMGVMATNR
            Dim Plant As String
            Dim Read_Atp_Lock As String
            Dim Read_Atp_Lock_X As String
            Dim Stge_Loc As String
            Dim Stock_Ind As String
            Dim Unit As String
            Dim Wbs_Elem As String
            Dim Av_Qty_Plt As Decimal
            Dim Dialogflag As String
            Dim Endleadtme As String
            Dim Return0 As Test6.BAPIRETURN
            Dim Wmdvex As Test6.BAPIWMDVETable
            Dim Wmdvsx As Test6.BAPIWMDVSTable
            Material = "100-400"
            Plant = "1000"
            Unit = "ST"
            Try
                SapProxy11.Bapi_Material_Availability(Batch, _
                Check_Rule, _
                Customer, _
                Dec_For_Rounding, _
                Dec_For_Rounding_X, _
                Doc_Number, _
                Itm_Number, _
                Material, _
                Material_Evg, _
                Plant, _
                Read_Atp_Lock, _
                Read_Atp_Lock_X, _
                Stge_Loc, _
                Stock_Ind, _
                Unit, _
                Wbs_Elem, _
                Av_Qty_Plt, _
                Dialogflag, _
                Endleadtme, _
                Return0, _
                Wmdvex, _
                Wmdvsx)
                Me.TextBox1.Text = Av_Qty_Plt.ToString()
            Catch ex As SAP.Connector.RfcAbapException
                MsgBox(ex.Message.ToString)
            End Try
        End Sub
    ========
    <i>Source Error:
    Line 157:     ByRef Wmdvsx As BAPIWMDVSTable)
    Line 158:        Dim results As Object()
    Line 159:        results = SAPInvoke("Bapi_Material_Availability", new Object() { _
    Line 160:                            Batch,Check_Rule,Customer,Dec_For_Rounding,Dec_For_Rounding_X,Doc_Number,Itm_Number,Material,Material_Evg,Plant,Read_Atp_Lock,Read_Atp_Lock_X,Stge_Loc,Stock_Ind,Unit,Wbs_Elem,Wmdvex,Wmdvsx })
    Line 161:        Av_Qty_Plt = CType(results(0), Decimal)
    Source File: E:\SAP\BAPI\Test6\SAPProxy1.vb    Line: 159
    Stack Trace:
    [IndexOutOfRangeException: Index was outside the bounds of the array.]
       SAP.Connector.Rfc.RfcClient.RfcInvoke(SAPClient proxy, String method, Object[] methodParamsIn) +1229
       SAP.Connector.SAPClient.SAPInvoke(String method, Object[] methodParamsIn) +70
       Test6.SAPProxy1.Bapi_Material_Availability(String Batch, String Check_Rule, String Customer, Int16 Dec_For_Rounding, String Dec_For_Rounding_X, String Doc_Number, String Itm_Number, String Material, BAPIMGVMATNR Material_Evg, String Plant, String Read_Atp_Lock, String Read_Atp_Lock_X, String Stge_Loc, String Stock_Ind, String Unit, String Wbs_Elem, Decimal& Av_Qty_Plt, String& Dialogflag, String& Endleadtme, BAPIRETURN& Return0, BAPIWMDVETable& Wmdvex, BAPIWMDVSTable& Wmdvsx) in E:\SAP\BAPI\Test6\SAPProxy1.vb:159
       Test6.WebForm1.Button1_Click(Object sender, EventArgs e) in E:\SAP\BAPI\Test6\Default.aspx.vb:64
       System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108
       System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +57
       System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +18
       System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
       System.Web.UI.Page.ProcessRequestMain() +1292
    </i>
    Pls. help me.
    Thank you.

    Hi Kreangsak,
    It seems that you need to initialize you tables, parameters for rfc function
    Dim Wmdvex As Test6.BAPIWMDVETable
    Dim Wmdvsx As Test6.BAPIWMDVSTable
    Wmdvex = new Test6.BAPIWMDVETable()
    Wmdvsx = new Test6.BAPIWMDVSTable()
    If there is other table, you need to initialize them with new operator. Null tables does not accepted.
    If you problem goes set the call stack's "show non-user code" property and send the stack.
    Best Regards,
    Huseyin Akturk
    SW Engineer & SAP ABAP Consultant
    www.huseyinakturk.net

  • Error during Addon Installation Index was outside the bounds of array

    Hi  wen im trying to install addon on x64 2003 server its throwing me error
    Customer library
    "Error during Addon Installation Index was outside the bounds of array."
    "Error(-2) at EndInstallEx(False) at the end of the addon installation"
    Please provide me a solution for this.
    Thanks
    Rekha

    Hi Rekha,
    You may check this: Add-on Installer Issue
    Is this your add-on or SAP add-on? If it is 3rd party add-on, post it to the other forum
    Thanks,
    Gordon

  • Script component Fail: System.IndexOutOfRangeException: Index was outside the bounds of the array

    In SSIS package “script component” is failing due to the following exception. This exception is occurring sometimes only.  This
    script component contain Try/Catch, still it’s failing. What could be the reasons for this exception?
    Error Message
    5246793 User:OnError Package1 2015-01-16 03:40:45.000 2015-01-16 03:40:45.000 00:00:00 System.IndexOutOfRangeException: Index was outside the bounds of the array.
       at Microsoft.SqlServer.Dts.Pipeline.ScriptComponentHost.HandleUserException(Exception e)
       at Microsoft.SqlServer.Dts.Pipeline.ScriptComponentHost.ProcessInput(Int32 inputID, PipelineBuffer buffer)
       at Microsoft.SqlServer.Dts.Pipeline.ManagedComponentHost.HostProcessInput(IDTSManagedComponentWrapper100 wrapper, Int32 inputID, IDTSBuffer100 pDTSBuffer, IntPtr bufferWirePacket)
    5246800 OnError Package1 2015-01-16 03:40:45.000 2015-01-16 03:40:45.000 00:00:00 SSIS Error Code DTS_E_PROCESSINPUTFAILED.  The ProcessInput method on component "Script Component" (657) failed with error code 0x80131508 while processing input
    input "Input 0" (666). The identified component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running.  There may be error messages
    posted before this with more information about the failure.

    Thanks for your reply. Please consider the following points too.
    1. In this code I don't use any array or list
    2. This exception is not happening always, when running the package again some time success some time failing.
    3. More than 100 Million records flow through this script component.
    4. I applied Try/Catch for whole script component. In this case script component should ignore the recode and should continue but it is not.
    5. Same package running successfully in QA Environment with same data. This exception sometime only occurring in Production environment only.
    6. Similar error message appearing three time. Can it be a time out error?
    5246793 User:OnError Package1 2015-01-16 03:40:45.000 2015-01-16 03:40:45.000 00:00:00 System.IndexOutOfRangeException: Index was outside the bounds of the array.
       at Microsoft.SqlServer.Dts.Pipeline.ScriptComponentHost.HandleUserException(Exception e)
       at Microsoft.SqlServer.Dts.Pipeline.ScriptComponentHost.ProcessInput(Int32 inputID, PipelineBuffer buffer)
       at Microsoft.SqlServer.Dts.Pipeline.ManagedComponentHost.HostProcessInput(IDTSManagedComponentWrapper100 wrapper, Int32 inputID, IDTSBuffer100 pDTSBuffer, IntPtr bufferWirePacket)
    5246794 OnError Package1 2015-01-16 03:40:45.000 2015-01-16 03:40:45.000 00:00:00 System.IndexOutOfRangeException: Index was outside the bounds of the array.
       at Microsoft.SqlServer.Dts.Pipeline.ScriptComponentHost.HandleUserException(Exception e)
       at Microsoft.SqlServer.Dts.Pipeline.ScriptComponentHost.ProcessInput(Int32 inputID, PipelineBuffer buffer)
       at Microsoft.SqlServer.Dts.Pipeline.ManagedComponentHost.HostProcessInput(IDTSManagedComponentWrapper100 wrapper, Int32 inputID, IDTSBuffer100 pDTSBuffer, IntPtr bufferWirePacket)
    5246795 OnError Execute Package1 (R2OK) 2015-01-16 03:40:45.000 2015-01-16 03:40:45.000 00:00:00 System.IndexOutOfRangeException: Index was outside the bounds of the array.
       at Microsoft.SqlServer.Dts.Pipeline.ScriptComponentHost.HandleUserException(Exception e)
       at Microsoft.SqlServer.Dts.Pipeline.ScriptComponentHost.ProcessInput(Int32 inputID, PipelineBuffer buffer)
       at Microsoft.SqlServer.Dts.Pipeline.ManagedComponentHost.HostProcessInput(IDTSManagedComponentWrapper100 wrapper, Int32 inputID, IDTSBuffer100 pDTSBuffer, IntPtr bufferWirePacket)
    These are some of the questions that I have:
    1. Bug in SSIS script component in SQL Server 2008R2?
    2. Is there any place Script component by default using Array or List?
    3. Why Try/Catch is not success?
    I know this is mess but please try to help!

  • Release Management 2013 Server Web Site throwing "Data at the root level is invalid..." error after applying RM 2013 Update 4

    I upgraded our RM Server from 2013 Update 2 to Update 4. During smoke testing, I discovered that the RM approval website would get stuck and display a loading wheel when showing the list of releases. After rebooting the server and uninstalling and reinstalling,
    I eventually got it to load the web site just fine, however the windows event log is displaying thousands of instances of the same error (about once a second).
    Timestamp: 4/2/2015 2:25:05 PM
    Message: Data at the root level is invalid. Line 2, position 1.: \r\n\r\n   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
       at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
       at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
       at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
       at System.Xml.XmlTextReaderImpl.Read()
       at System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options)
       at System.Xml.Linq.XDocument.Parse(String text, LoadOptions options)
       at Microsoft.TeamFoundation.Release.Common.ExtensionMethods.XmlExtensionMethods.ToXDocument(String value, Boolean preserveWhitespace)
       at Microsoft.TeamFoundation.Release.Common.Helpers.WebServiceHelper.ExtractWebMethod(String pathInfo, Stream inputStream)
    Category: General
    Priority: -1
    EventId: 0
    Severity: Error
    Title:
    Machine: [Server Name]
    Application Domain: /LM/W3SVC/2/ROOT-1-130724725961138960
    Process Id: 3448
    Process Name: C:\Windows\SysWOW64\inetsrv\w3wp.exe
    Win32 Thread Id: 1136
    Thread Name:
    Extended Properties:
    This is quite concerning because it leads me to think something else is wrong.  I read somewhere else that .Net Framework 4.5.1 is required for RM, but the system requirements on MSDN don't mention that.  Any help greatly appreciated.
    Specs:
    RM Server: Windows 2012 R2
    Release Management 2013 Update 4
    Connect to TFS Server 2013 Update 2
    We are not using HTTPS:

    Hi Joe519,
    Thanks for your post.
    And thank you for sharing  the experience here. 
    All your participation and support are very important to build such harmonious/ pleasant / learning environment for MSDN community.
    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.

  • Release Management 2013 Update 3 doesn't display retry button

    When using Release management 2013 Update 3. I do not get a button to retry failed releases.  I am viewed one answer on here that states the release needs to be automatically created from a build.  I tried that solution and it still does not appear. 
    I am the Release Manager and I have every permission given to my account.  Can anyone help me with this.
    Thanks

    Hi Release Mgmt, 
    Thanks for your post.
    First, please upgrade your Release Management 2013 Update 3 to Release Management 2013 Update 4. Then run your TFS build to trigger the release template, if the release not be executed successfully, open the release in RM Client>>Releases tab, you
    will see that Retry Failed Deployment button. Please refer to the discussions and answer reply in this post:
    https://social.msdn.microsoft.com/Forums/en-US/e47c574b-adcc-4f58-8cd5-49c474adcbc8/how-to-repeate-a-release?forum=tfsbuild.
    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 index occurrences in the array

    Hi Is there a way how we can index each occurrence in the array?
    It seems that search ID Array  is once and I cannot figure out how to do it.
    Please advise
    Thanks in advance
     Clement
    Solved!
    Go to Solution.

    Do you need only the indexes that matches the search element like this?
    The best solution is the one you find it by yourself

  • I'm getting exception index was out of bound how should i fix it ?

    In a timer tick event i have:
    private void timer1_Tick(object sender, EventArgs e)
    if (htmlloaded == true)
    try
    uri = sourceUrlId + forumsIds[counter] + sourceUrlNumber + 1;
    filename = uri.Substring(49);
    webBrowser1.Navigate(uri);
    htmlloaded = false;
    timer1.Enabled = false;
    counter++;
    countpages++;
    catch (Exception err)
    string ttt = err.ToString();
    if (countpages == numberofpages)
    timer1.Stop();
    The problem is that in the end forumsIds and counter have the same number. forumsIds have 574 items and in the end counter is 574 too. And counter should be allways less then the forumsIds.

    Michael i solved it this way.
    First i changed in the top of the form the variable counter to value 0 instead 1 so it will start as 0.
    In the GetHtmls method where i used the index 0 first time i did:
    uri = sourceUrlId + forumsIds[counter] + sourceUrlNumber + 1;
    countpages ++;
    counter ++;
    So first time counter is 0 index 0 .
    Then i move it up by one so now counter value is 1.
    Now the timer tick event:
    private void timer1_Tick(object sender, EventArgs e)
    if (htmlloaded == true)
    try
    uri = sourceUrlId + forumsIds[counter] + sourceUrlNumber + 1;
    filename = uri.Substring(49);
    webBrowser1.Navigate(uri);
    htmlloaded = false;
    timer1.Enabled = false;
    counter ++;
    countpages ++;
    if (counter == numberofforums)
    timer1.Stop();
    catch (Exception err)
    string ttt = err.ToString();
    So now counter is 1 i'm navigating then counter is 2 now it will navigate again when counter is 2.
    Since i navigated first time once when it was 0 this is 3 times.
    So now counter will be 3 and the numberofforums is also 3.
    And in the document completed event i'm also checking if counter == numberofforums:
    if (counter == numberofforums)
    timer1.Stop();
    else
    timer1.Enabled = true;
    If counter is not equal to numberofforums keep navigating once they are equal stop the timer and finish the navigations.
    So in the end i started from index 0 (counter = 0 ) and navigated last time when counter was 2. That's 3 times navigations. And counter is now 3 and i navigated to 3 forums.
    I hope i did it right at least it's working like i wanted i think.
    Navigated 3 times and there are 3 forums so i think it's logic.

  • Management of apps purchased outside the App Store

    I really hope Apple eventually gives us a way to convert purchased licensed software to MAS licenses so that everything can be managed together. For example, I owned Acorn, Yojimbo, Coda, Keyboard Maestro, and 1Password prior to launch of the App Store.

    When the developer of those apps issues a major paid upgrade to those apps you will be able to purchase them through the MAS if they are available and then you can manage them from the MAS.

  • How to change the index(appearance) of the array

    Attachments:
    array.vi ‏7 KB

    Right click choose customize
    Switch to Customize mode
    Right click and choose edit items.
    I hope that is what you are asking.
    Ben
    Message Edited by Ben on 08-21-2008 07:31 AM
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction
    Attachments:
    Advaced_Customize.PNG ‏15 KB
    Switch_To_Customize.PNG ‏9 KB
    Edit_Items.PNG ‏6 KB

  • Release Management vNext deployment succeeds without deploying the DSC to the target.

    All of a sudden, a couple of weeks ago, our vNext releases stopped working.
    The log in the release management client says that the release has been deployed successfully, but nothing has actually happened on the target server. The log looks like this (which is bad)...
    Copying recursively from \\xxxxx.co.nz\Public\Share\Development\Builds\DispatchService_MAIN\DispatchService_MAIN_1.1.7.0\DispatchService\_PublishedWebsites\DispatchService to C:\Windows\DtlDownloads\DispatchService Component succeeded.
    That's all it says. No error, no nothing.
    It used to look like this (which was good)...
    Copying recursively from \\xxx.co.nz\Public\Share\Development\Builds\SosService_MAIN\SosService_MAIN_1.1.32.0\SOSWindowsService to C:\Windows\DtlDownloads\SosServices succeeded.
    Perform operation 'Invoke CimMethod' with following parameters, ''methodName' = SendConfigurationApply,'className' = MSFT_DSCLocalConfigurationManager,'namespaceName' = root/Microsoft/Windows/DesiredStateConfiguration'.
    An LCM method call arrived from computer BDWEB10 with user sid S-1-5-21-3667390900-813461161-666584507-16981.
    [BDWEB10]: LCM: [ Start Set ]
    [BDWEB10]: LCM: [ Start Resource ] [[bStopService]StopTheService]
    [BDWEB10]: LCM: [ Start Test ] [[bStopService]StopTheService]
    [BDWEB10]: LCM: [ End Test ] [[bStopService]StopTheService] in 0.0000 seconds.
    [BDWEB10]: LCM: [ Start Set ] [[bStopService]StopTheService]
    [BDWEB10]: [[bStopService]StopTheService] Stopping service SosServiceDevReviewPci
    [BDWEB10]: LCM: [ End Set ] [[bStopService]StopTheService] in 0.1400 seconds.
    [BDWEB10]: LCM: [ End Resource ] [[bStopService]StopTheService]
    [BDWEB10]: LCM: [ Start Resource ] [[File]CopyDeploymentBits]
    [BDWEB10]: LCM: [ Start Test ] [[File]CopyDeploymentBits]
    etc etc
    I have tried many things, and have discovered some clues, but have filed to find a solution.
    It seems that it is successfully creating the .mof file on the "Deploy using PS/DSC Server" but then it deletes the .mof file and does not try to do a Start-DscConfiguration with the .mof file.
    This is very frustrating, as we have sunk an awful lot of time and money into Microsoft Release Manager.
    Does anyone have any ideas?

    Hi Leighton,  
    Thanks for your post.
    You’re using TFS 2013 Update 4 and Release Management 2013 Update 4?
    Do you mean that the files be copied to C:\Windows\DtlDownloads\DispatchServices folder on target machine as expect, but no file be executed to perform the deploy?
    You said the release template works fine a  couple of weeks ago, do you know which changes happened on this release template after that week? 
    Only this current one release template cannot works? Or if you create a new release template to run DSC deploy, it will receive the same result too?
    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.

  • Release management with Azure and Visual Studio Online (Cloud TFS)

    What strategy would you use to manage the releasing of versioned software to Azure cloud services (web and worker roles)? We are not looking for continuous integration. We are using Visual Studio 2013 and Visual Studio Online (Cloud TFS).
    At one point, we were releasing straight from Visual Studio using the Azure Cloud Project Publish tool. This is really bad practice in my opinion as you can never be sure what you are really releasing. Additionally, there is no automated control on the labeling
    or branching of code, or the running of unit tests and code analysis checks.
    Next, we employed Release builds on Visual Studio Online. Before deployment, one would edit the appropriate Build Definition (whether it be for Test or Production by and filling in the code label (under the "Get Version" build property) that is to
    be released. This would then get the appropriate code (by the label specified), build it, and release it to whatever cloud service is specified in the targeted Cloud Project profile (this is using the AzureContinuousDeployment.11.xaml template).
    There is still a degree of manual intervention involved. Also, the fact that a version of code is built every time before it is released is not ideal (as far as I understand it would be better if it was packaged once).
    Microsoft Release Management tools
    look ideal for the job, but are not supported with Visual Studio Online.
    Is there a better way of handling our releases?

    /waves hand.. These are not the tools you seek. You are looking for continuous integration.
    Although CI has the word continuous in there, it does not mean "all the time, every checkin". It can easily refer only to those bits you want to release - -and the way to tell the system which bits you want released is to merge them to a Releases
    branch.
    If you do this, not only do you get all the joy of controlled CI, but you guarantee what you release is exactly what is controlled in your SCM - under the Releases branch, preferably tagged or otherwise noted as a particular release. That means you can also
    rollback to a previous release by simply reverting to a previous release in your SCM!
    Of course you don't have to let it happen automatically, you can set it up to build 'continually' and then remove the check on the SCM to see if any changes have been committed. You can replace this with the manual build button.

  • Release Management performance - Each step takes over a minute to complete

    We have set up a Release Management pipeline using vNext Release Templates with PS/DSC. We noticed that every release step takes about 1:47m to complete, whereas the actual tasks that are performed within each step (i.e. copying the component and executing
    the PowerShell script) take only a few seconds. We tested this by copying files and executing PowerShell scripts outside of Release Management.
    One of our deployments took about half an hour to complete (and should have taken only a few minutes). (I wanted to include a screenshot but got "Body text cannot contain images or links until we are able to verify your account." when trying to
    submit this question.)
    We also tested this with a minimal component, containing only one file (one PowerShell script), but even then the deployment took about 1:47m.
    Can you tell us what the reason is for this delay? What should be done in order to speed up this process?

    Hi Frank,
    Does this Release Management performance isssue occurred when you use it at first time? Do you have any setting on your TFS? Would you please tell us your TFS version? 
    If you have any repro steps, please share with us, thank you. 
    Best Regards,
    Dear Molly,
    Yes, this issue has occurred right from the beginning when we started using Release Management.
    Could you please clarify what you mean by "do you have any setting on your TFS"? As far as I know, our TFS installation is a straightforward and normal one.
    Our TFS version is TFS 2013.
    The steps to reproduce (in the simplest scenario) are as follows:
    Create a new project in Visual Studio 2013, containing one PowerShell script file. In the script file, perform a simple command such as "New-Item E:\Temp3 -itemtype directory -force".
    Perform a successful build of the project, making sure that the script file is copied to the drop folder.
    Create a vNext Component in the Release Management Client, that refers to the directory in the drop folder that contains the script file.
    Create a new vNext Release Template in the Release Management Client, containing one "Deploying using PS/DSC" action. In that action, set the PSScriptPath to the script file we created.
    Perform a new Release using the Release Template we just created. The Deploy action will take a long time, even though the script itself takes less than a second to run.
    Please let me know if you need any more information.

  • Release Management and Dsc - How to queue a build when a release is in progress?

    I have VSO and Release Management 2013.4 working and deploying to Azure vm's via DSC
    The build profile is set to trigger on commit to the Git repo and the release template is set to be triggered on successful build from TFS
    However if a developer commits in quick succession the resultant builds cause releases to overlap in RM? - this causes some of the releases to fail with a DSC error ("the consistency check or pull cmdlet is in progress....")
    Is there a way to force RM to prevent concurrent releases?  (based on the same release template and build profile)

    Thats correct - in this instance its VSO as source control and using the hosted release management to attempt to deploy to azure vms
    And yes build takes about 5 minutes but the release template can take up to 15 minutes to run - this means that a second build can cause the same release template to run again (its set to trigger on build)
    Error log from RM
    xception Message: New deployment is not allowed as an another deployment is in progress. Retry the deployment after sometime. (type OperationFailedException)
    Exception Stack Trace: at Microsoft.TeamFoundation.Release.EnvironmentProvider.Azure.Implementation.AzureDeploymentProvider.ReadDeploymentResponse(DeploymentResponse response)
    at Microsoft.TeamFoundation.Release.EnvironmentProvider.Azure.Implementation.AzureDeploymentProvider.DownloadBuilds(DeploymentMachineSpecification deploymentMachineSpecification, AzureStorageSpecification azureStorageSpecification)
    at Microsoft.TeamFoundation.Release.EnvironmentProvider.Azure.Implementation.AzureDeploymentProvider.RunScript(String scriptPath, String configurationPath, MachineSpecification machine, StorageSpecification storage, Dictionary`2 configurationVariables)
    at Microsoft.TeamFoundation.Release.Tasks.DeployDsc.Execute(DscComponentParametersV2 dscComponentParameters, AzureStorage azureStorage, String[] dnsNameAndUpdatedWinRmPort, String userName, String password, String dscScriptPath, String dscConfigurationPath, Boolean skipCACheck)
    at Microsoft.TeamFoundation.Release.Automation.Tasks.DeployDscTask.DscExecute(DscComponentParametersV2 dscComponentParameters, AzureStorage azureStorage, String[] dnsNameAndUpdatedWinRmPort, String userName, String password, String dscScriptPath, String dscConfigurationPath, Boolean skipCACheck)
    at Microsoft.TeamFoundation.Release.Automation.Tasks.DeployDscTask.DscDeploy(AzureStorage azureStorage, DscComponentParametersV2 dscComponentParameters, String userName, String password, String dscScriptPath, String dscConfigurationPath, String skipCACheck)
    at Microsoft.TeamFoundation.Release.Automation.Tasks.DeployDscTask.Execute(IAutomationContext context)
    at Microsoft.TeamFoundation.Release.DistributedTask.TaskProcessor.TaskExecutor.Execute(TaskExecutionContext context)

Maybe you are looking for

  • How can I install CS2 on my new Mac?

    I gave my ibook to a woman headed for an orphanage in Africa. Before I gave it to her, I asked the tech guy to take off all applications, which he did. I now want to intall CS2 on my new comptuer, a 10.5.7 laptop.  I put in the first disk and clicked

  • Upgraded to iOS6 and now charging cable doesn't work

    I just upgraded to iOS6 n my iPhone 4, and now my charging cable doesn't work.  No...it's not an "official" Apple charger, but even the usb cable doesn't work when I plug it into my computer.  If I plug my iPad charger into it, it works fine.  How ca

  • Illustrator CS5 drop shadow - blur not rendering correctly

    I just got a new computer and have installed Illustrator on it.  This is my first time using the program on this computer.  I created this file on my old computer in Illustrator.  When opening it today, in the newly installed version of CS5, the drop

  • ERS - MRRL - Not working Production Client

    Hi, While executing the transaction MRRL, it is generating a list of items, which are already posted. It is generating the list which does not have a status as postable. It is observed that some of the documents are already cleared and some are parti

  • Table views/sprocs not showing in Data Source Explorer

    i have a database connection and is in good health.  the tree node for the database lists all of the folders expected, but only the Tables folder is populated with actual tables in the database.  the views and stored procedures are not showing even w