Release Management : Release template and deployment sequence per Server

Hello,
IS it possible to have a Deployment Sequence per Environment and not only per server ?
So if i add a new server on a same environnement , i don't have to copy and paste all the activities already configured .
Regards,
Issou
issou

Hi Issou,  
Thanks for your post.
Yes, you can use the Tag feature to do that in Release Management, please refer to the helpful information in this article:
http://www.incyclesoftware.com/2014/02/new-feature-release-management-visual-studio-update-2-server-tags/.
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

  • IIS Issue:when trying to download code from AWS S3 and deploy in IIS server using Power Shell script while Windows startup Default Application pool is not started.

    Hi,
    I am trying to launch Amazon EC2 windows server 2008 R2 instance using AWS Auto Scaling feature. I have used cusmized AMI in Autoscaling Launch configuration to launch an instance.I have placed Power Shell script in AMI. 
    The responsibility of script is to download code from AWS S3 and deploy in IIS server while windows startup first time.
    When i check status, IIS is started succesfully. But default Application pool is not started.
    To resolve this issue i have written one scheduled script. It helps to start the application pool if any application pool is in stopped state.
    After this Application pool is started but i am not able to communicate with IIS server through browser.  
    Please help any one to resolve this issue.
    Thanks in advance

    Hi Vchreddy,
    For the IIS issue, we recommend you can post in IIS forum for more effective support:
    http://forums.iis.net/
    Thanks for your understanding.

  • 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.

  • How to speed up frequent undeploy and deploy on weblogic server ?

    We have one web application deployed on a Weblogic Server (10.3).
    We use ANT and the wldeploy task ( http://download.oracle.com/docs/cd/E13222_01/wls/docs90/programming/wldeploy.html ) to UNDEPLOY and DEPLOY (frequently) the webapp.
    It seems to us that the entire process (RECOMPILE -> make WAR -> UNDEPLOY -> DEPLOY) , which is completely automatic (made by ANT), is too slow (about 1 minute) , especially the step of DEPLOY.
    Do exist some tricks to speed up the entire process ?
    We have 4/5 notebook (the developers PCs) and 1 remote Weblogic Server .
    (SORRY, some admin can move this thread on weblogic server forum ? Thanks)
    Edited by: user3873926 on 29-ott-2009 9.21

    Just a suggestion: Try using iWS6.0SP2, it has some performance improvements.

  • Oracle Identity Manager - automated builds and deployment/Best practice

    Is there a best practice as for directory structure for repository in version control system?
    Do you recommend to keep the whole xellerate folder + separate structure for xml files and java code? (Considering fact that multiple upgrades can occur over the time)
    How custom code is merged to the main application?
    How deployment to Weblogic application server occur? (Do you create your own script or there is an out of the box script that can be reused)
    I would appreciate any guidance regarding this matter.
    Thank you for your help.

    Hi,
    You can use any IDE (Eclipse, Netbeans) for development.
    For, Getting started with OIM API's using Eclipse, please follow these steps
    1. Creating the working folder structure
    2. Adding the jar/configuration files needed
    3. Creating a java project in Eclipse
    4. Writing a sample java class that will call the API's
    5. Debugging the code with Eclipse debugger
    6. API Reference
    1. Creating the working folder structure
    The following structure must be created in the home directory of your project (Separate project home for each project):
    <PROJECT_HOME>
    \ bin
    \ config
    \ ext
    \ lib
    \ log
    \ src
    The folders will store:
    src - source code of your project
    bin - compiled code of your project
    config - configuration files for the API and any of your custom configuration files
    ext - external libraries (3'rd party)
    lib - OIM API libraries
    log - local logging folder
    2. Adding the jar/configuration files needed
    The easiest way to perform this task is to copy all the files from the OIM Design Console
    folders respectively in the <PROJECT_HOME> folders.
    That is:
    <XEL_DESIGN_CONSOLE_HOME>/config -> <PROJECT_HOME>/config
    <XEL_DESIGN_CONSOLE_HOME>/ext -> <PROJECT_HOME>/ext
    <XEL_DESIGN_CONSOLE_HOME>/lib -> <PROJECT_HOME>/lib
    3. Creating a java project in Eclipse
    + Start Eclipse platform
    + Select File->New->Project from the menu on top
    + Select Java Project and click Next
    + Type in a project name (For example OIM_API_TEST)
    + In the Contents panel select "Create project from existing source",
    click Browse and select your <PROJECT_HOME> folder
    + Click Finish to exit the wizard
    At this point the project is created and you should be able to browse
    trough it in Package Explorer.
    Setting src in the build path:
    + In Package Explorer right click on project name and select Properties
    + Select Java Build Path in the left and Source tab in the right
    + Click Add Folder and select your src folder
    + Click OK
    4. Writing a sample Java class that will call the API's
    + In Package Explorer, right click on src and select New->Class.
    + Type the name of the class as FirstAPITest
    + Click Finish
    Put the following sample code in the class:
    import java.util.Hashtable;
    import com.thortech.xl.util.config.ConfigurationClient;
    import Thor.API.tcResultSet;
    import Thor.API.tcUtilityFactory;
    import Thor.API.Operations.tcUserOperationsIntf;
    public class FirstAPITest {
    public static void main(String[] args) {
    try{
    System.out.println("Startup...");
    System.out.println("Getting configuration...");
    ConfigurationClient.ComplexSetting config =
    ConfigurationClient.getComplexSettingByPath("Discovery.CoreServer");
    System.out.println("Login...");
    Hashtable env = config.getAllSettings();
    tcUtilityFactory ioUtilityFactory = new tcUtilityFactory(env,"xelsysadm","welcome1");
    System.out.println("Getting utility interfaces...");
    tcUserOperationsIntf moUserUtility =
    (tcUserOperationsIntf)ioUtilityFactory.getUtility("Thor.API.Operations.tcUserOperationsIntf");
    Hashtable mhSearchCriteria = new Hashtable();
    mhSearchCriteria.put("Users.First Name", "System");
    tcResultSet moResultSet = moUserUtility.findUsers(mhSearchCriteria);
    for (int i=0; i<moResultSet.getRowCount(); i++){
    moResultSet.goToRow(i);
    System.out.println(moResultSet.getStringValue("Users.Key"));
    System.out.println("Done");
    }catch (Exception e){
    e.printStackTrace();
    Replace the "welcome1" with your own password.
    + save the class
    To run the example class perform the following steps:
    + Click in the menu on top Run, and run "Create, Manage, and run Configurations" wizard. (In the menu, this can be either "run..." or "Open Run Dialog...", depending on the version of Eclipse used).
    + Right click on Java Application and select New
    + Click on arguments tab
    + Paste the following in VM arguments box:
    -Djava.security.manager -DXL.HomeDir=.
    -Djava.security.policy=config\xl.policy
    -Djava.security.auth.login.config=config\authwl.conf
    -DXL.ClientClassName=%CLIENT_CLASS%
    (please replace the URL, in ./config/xlconfig.xml, to your application server if not running on localhost or not using the default port)
    + Click Apply
    + Click Run
    At this point your class is executed. If everything is correct, you will see the following output in the Eclipse console:
    Startup...
    Getting configuration...
    Login...
    log4j:WARN No appenders could be found for logger (com.opensymphony.oscache.base.Config).
    log4j:WARN Please initialize the log4j system properly.
    Getting utility interfaces...
    1
    Done
    Regards,
    Sunny Ajmera

  • Problems between IDE and Deployment on App Server 8.2

    I have an application that I wrote last year using JSC-EA and converted it ti JSC2-1. I can run the application on my development environment SunAppServer 8.2 with no problems.
    When I attempt to deploy it to a standalone Sun App Server 8.2 I experience the following:
    1) Login page works fine
    2) Main menu selection page works fine
    3) Results page does not display information.
    More details:
    Main Menu page consists of:
    1) a page with a page fragment that contains a menu.
    2) 3 or 4 JSF components
    Results page consists of:
    1) 2-3 JSF text components (display OK)
    2) Same menu page fragment as above (displays OK)
    3) Second page fragment that contains a table with components added under program control (does not get displayed in deployment server, but displays fine in IDE server).
    Is there ANY possibility that this can be related to migration from JSC2-EA to JSC2-1? If so, what could cause this behavior?
    Is there ANY explanation as to why the application displays OK in the IDE (same app server version as deployment) but not in the deployment server?
    ANY help is appreciated.
    Thanks,

    For future references:
    this happens to me too and I found that the cause is that the AM server you are going to configure, is already registered into the directory server.
    Try running this command (with the obvious parameters substituted)
    ldapsearch -B -T -D 'cn=directory manager' -w YOUR_CREDENTIALS -b ou=1.0,ou=iPlanetAMPlatformService,ou=services,YOUR_BASEDN -s base objectclass=* | grep YOUR_SERVERNAMEIf you found that the server you are configuring is listed here try going to AMserver console (if you have another AMserver configured) and browse to Configuration->System Properties->Platforms. If the server is here, remove it, if not, just hit Save (very important).
    If this is your first AM and is a first installation you can just get rid of the Directory Server suffix and recreate it with the Top Entry alone.
    Edited by: flistello on Mar 27, 2008 4:30 PM

  • Managing users, groups and shares with Mavervicks server

    I recently upgraded from Snow Leopard Server to Mavericks.
    In Snow Leopard, WorkGroup manager was the primary way to create shares, users and groups. Now it would seem that it is optional and in fact, I do not even see how to create a share in WorkGroup except for perhaps a group share which I'm not quite sure how to do.
    For my setup, I have setup Open Directory and create a few Local Network users. DHCP is managed via my airport and the DNS is on but only for server and points to my Airport IP address.
    QUESTIONS:
    Should I be managing users with WorkGroup manager or server app, Whats the advantage? 
    I don't have user profiles (files) stored on the server they are local. That being the case, why does each user have a network folder on the server?
    Thanks!

    Workgroup Manager and MCX are deprecated.  These technologies should only be used if you can not accomplish your tasks with Server.app and Profile Manager.  If you have specific requirements that can not be satisfied in Server.app and Profile Manager you should send feedback to Apple.
    So to your questions:
    Should I be managing users with WorkGroup manager or server app, Whats the advantage?
    I don't have user profiles (files) stored on the server they are local. That being the case, why does each user have a network folder on the server?
    1:  Ideally, no.  Unless...  You are supporting machines prior to 10.8.5 or can not find an equivalent function in Server.app and Profile Manager.  There is no advantage to using it.  Apple will eventually stop distributing it.  It is available now for legacy support only.  If you have a need for MCX management then WGM remains viable.  But, ideally, you should be looking to Profile Manager.
    2:  This is because you created your accounts using Local Home Folder template instead of None - Services Only.  The Local Home Folder template has the unfortunate side-effect of creating a user home folder on the server.  I too dislike this.  If you only want to use the accounts for services, then you should create the accounts using None - Services Only.  By the way, it is safe to delete these home folders if you would like.
    Reid
    Apple Consultants Network
    Apple Professional Services
    Author "Mavericks Server – Foundation Services" :: Exclusively available in Apple's iBooks Store

  • Release Management Server/Client clarification

    Hi there,
    I am using TFS 2010 and i would like some assistance in regards to what i would like to do please.
    At my place of work we have a Build server, call it Server A which has a controller and 2 build agents. It builds my projects and outputs them in a drop folder on that server.
    Firstly, can i use my existing custom build template to allow others to trigger a build via the Release Management Client tool?
    The existing custom template i am using builds all the projects in the solution and then generates several *.MSI files at the end. I use this template in all of my Build Definitions.
    Secondly, Do i have to install the Release Management Client tool and Deployment Agent on the Build server as well?Correct me if i am wrong because i read that if you want to do automated deployment i have to do this.
    Thirdly, am i allowed to use custom scripts, executable side by side with the Deployment Agent. The reason i ask that is at some point i would like to extend the process so that once the build has finished, i can install it on Server B. Is this possible?
    Lastly, do i have to install Visual Studio 2013 on the build server for Release Management Server to work correctly?
    If you have any questions on the above please let me know.
    Thanks,

    Hi IndusKing,  
    Thanks for your reply.
    If your build definition using the ReleaseDefaultTemplate.xaml template, and you want only to build the solution(needn’t to trigger release template), you can set the
    Release Build = False in build definition>>Process>>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.
    So if i understand correctly i can either use the ReleaseDefaultTemplate.xaml in all my build definitions or i can modify my existing template to use the Release Template functionality e.g Release Build = False.
    As far as I know RM Client not support trigger TFS build definition. You can install the VS on your RM Client machine, then trigger build definition in Team Explorer, or trigger the build definition by execute TfsBuild
    Start command line.
    Are you saying that RM client can only deploy finished finished builds?

  • 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)

  • Unable to Create Website using "Create Web Site" action component in Release Management

    Hi Team,
    I am trying to use Release Management to Deploy my Website along with DB in staging servers.
    I have set-up 2 Staging Servers SIT & UAT Both 2012 Servers with IIS 8.5 Configured.
    Defined Release Path and Release template.
    Deployment Sequence is something like this : 
    Deployment Sequence - Server Name - Create Folder - XCopy - Create Website - Configure Website
    Build is successful, drops the output to Output folder and RM gets initiated with it's work.
    It creates folders as mentioned in the "Create Folder" activity.
    It copies the whole content from _PublishedWebsites to the mentioned location.
    It gets stuck with the "Create Website" step.
    Initially I have provided details as follows : 
    AppPoolName
    IsPreloadEnabled
    IsAutoStart
    SiteName FabrikamSIT
    PortNumber 80
    PhysicalPath c:\FabrikamRM\WebSite\SIT 
    Later, I tried providing 
    AppPoolName DefaultAppPool
    IsPreloadEnabled 1
    IsAutoStart 1
    SiteName FabrikamSIT
    PortNumber 80
    PhysicalPath c:\FabrikamRM\WebSite\SIT 
    Then also no luck.
    Deployment gets rejected and the error that you can see when you hover the mouse is : 
    Task failed with the exit code -2146232576".
    No much info available with this eror code in net also.
    Any help in getting this simple site created is highly appreciated.
    Thanking you in advance,
    Regards,
    TFS Queries

    Hi,
    For the deployment sequence, you might need add the action of "create application pool" before creating a website.
    Another method is check whether the build output can be deployed manually. If yes, then you can trobleshoot the problem in your deployment sequence and parameters. You can create the website manually and deploy your build output to the website. If you have
    any other concerns about the deployment, you can also open a new thread in IIS forum for a better response.
    If the issue persists, please elaborate more details about your scenario with sceenshots.
    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.

  • 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 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

  • Error in TFS Release Management Server after Upgrading to Update 3

    Some weird and unexplained error logged in InRelease aka (Release Management) server event log after upgrading Release Management Update 1 to update 3.
    Below error started getting logged only after upgrading to Update 3.
    Even though we started the Inrelease Server and all agents but no luck.
    Any immediate help would be much helpful.
    ----------------------------------- EVENT LOG ERROR ------------------------------------
    Timestamp: 12/15/2014 10:22:18 AM
    Message: 'LambdaValue>' is not of type 'ServerActivity'. When loading this instance you must ensure that the activity with name 'LambdaValue>' implements
    'ServerActivity'.: \r\n\r\n at
    System.Activities.ActivityInstance.System.Activities.Runtime.ActivityInstanceMap.IActivityReference.Load(Activity activity, ActivityInstanceMap instanceMap) at System.Activities.Runtime.ActivityInstanceMap.InstanceList.Load(Activity activity, ActivityInstanceMap
    instanceMap) at System.Activities.Runtime.ActivityInstanceMap.LoadActivityTree(Activity rootActivity, ActivityInstance rootInstance, List1
    secondaryRootInstances, ActivityExecutor executor) at System.Activities.Runtime.ActivityExecutor.OnDeserialized(Activity workflow, WorkflowInstance workflowInstance) at System.Activities.Hosting.WorkflowInstance.InitializeCore(IDictionary2 workflowArgumentValues,
    IList1
    workflowExecutionProperties) at System.Activities.Hosting.WorkflowInstance.Initialize(Object deserializedRuntimeState, DynamicUpdateMap updateMap) at System.Activities.WorkflowApplication.LoadCore(DynamicUpdateMap updateMap, TimeoutHelper timeoutHelper, Boolean
    loadAny, IDictionary2 values) at System.Activities.WorkflowApplication.Load(Guid instanceId, TimeSpan timeout) at System.Activities.WorkflowApplication.Load(Guid instanceId) at Microsoft.TeamFoundation.Release.ServiceProcessor.Processor.WorkflowInstance.WorkflowInstanceCacheSingleton.<.cctor>b__1(WorkflowApplication
    app, Guid id) at
    Microsoft.TeamFoundation.Release.ServiceProcessor.Processor.WorkflowInstance.WorkflowInstanceCache.CreateApplicationInCache(CreateParameters createParameters, Guid id) at Microsoft.TeamFoundation.Release.ServiceProcessor.Processor.WorkflowInstance.WorkflowInstanceCache.GetInstance(CreateParameters
    createParameters, Guid id) at Microsoft.TeamFoundation.Release.ServiceProcessor.Processor.WorkflowInstance.CachedWorkflowInstanceLoader.GetInstance(DeploymentLog log, CreateParameters createParams) at Microsoft.TeamFoundation.Release.ServiceProcessor.Processor.DeploymentControllerServiceProcessor.ContinueDeploymentWithFinalComponentState(DeploymentLog
    log) at Microsoft.TeamFoundation.Release.ServiceProcessor.Processor.DeploymentControllerServiceProcessor.ContinueDeployment(String log)
    Category: General
    Priority: -1
    EventId: 0
    Severity: Error
    Title:
    Machine: **********
    Application Domain: /LM/W3SVC/1/ROOT-1-130630102320068767
    Process Id: 6628
    Process Name: C:\Windows\SysWOW64\inetsrv\w3wp.exe
    Win32 Thread Id: 1344
    Thread Name:
    Extended Properties:

    Dear Charles-Li,
    Thank you so much for your reply.
    we started using  Release Management Update 1  and it was worked perfectly fine.  then we move to upgrade existing Release Management(server,
    Database and agent) with Update 3, which we did, and its working fine  except lots of error as mentioned in above thread, are getting logged in server event log at regular interval till now(3-4 errors every second).
    even though lots of error are getting logged but we are not facing any issue while using Release Management with update 3.
    But i am bit curious to know out reason for getting those error.
    <<clean
    the cache folder and restrat Release Management and try again>>
    already tried but no luck.
    Thanks!!

  • 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 Update 4-Errors while loading releases in Release Managment Client Interface.

    Hi Team,
    We are using Release Management from last 8 months and we upgraded to Release Management Update 4 and using it from last 4 months. Currently we are creating around 50-60 releases daily, but we are facing below issues from last few days with
    Releases tab and no issues with other tabs (Administration, Inventory, Configure Paths and Configure Apps)
    Release Management Client interface is taking long time when we are opening it.
    Throwing error when we are clicking on Releases link in Releases tab.
    Throwing error when we are creating new releases.
    Please find the error log below:
    Timestamp: 3/27/2015 6:49:44 PM
    Message: Error thrown while executing the stored procedure ReleaseV2_List with parameters , @FilterXml:<Filter StatusId="0" DateStatusId="1" ApplicationVersionId="0" StageId="0" IsDeferred="0" UserId="9002"
    />, @PartitionId:1.
    Timestamp: 3/27/2015 6:49:44 PM
    Message: Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.: \r\n\r\n   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
       at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
       at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
       at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
       at System.Data.SqlClient.SqlDataReader.get_MetaData()
       at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
       at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds)
       at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
       at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
       at System.Data.SqlClient.SqlCommand.ExecuteXmlReader()
       at Microsoft.TeamFoundation.Release.Sql.OnPrem.OnPremDbAccessor.ExecuteXmlStoredProcedure(String storedProcedureName, Hashtable xmlParameters, String rootElementName, Boolean addRequestorParameter)
    Timestamp: 3/27/2015 6:49:44 PM
    Message: The wait operation timed out: \r\n\r\n
    Timestamp: 3/27/2015 6:49:44 PM
    Message: Exception has been thrown by the target of an invocation.: \r\n\r\n   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean&
    bNeedSecurityCheck)
       at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
       at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
       at System.Activator.CreateInstance[T]()
       at Microsoft.VisualStudio.Release.ViewModel.ViewModels.WorkspaceTabViewModel`1.get_DefaultViewModel()
    Timestamp: 3/27/2015 6:49:44 PM
    Message: The remote server returned an error: (500) Internal Server Error.: \r\n\r\n   at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
       at Microsoft.TeamFoundation.Release.Data.WebRequest.PlatformHttpClient.EndGetResponse(IAsyncResult asyncResult)
       at Microsoft.TeamFoundation.Release.Data.WebRequest.RestClientResponseRetriever.EndGetAsyncMemoryStreamFromResponse(IAsyncResult asyncResult, IPlatformHttpClient platformHttpClient)
       at Microsoft.TeamFoundation.Release.Data.WebRequest.RestClientResponseRetriever.EndDownloadString(IAsyncResult asyncResult, IPlatformHttpClient platformHttpClient)
       at Microsoft.TeamFoundation.Release.Data.WebRequest.RestClient.EndPost(IAsyncResult asyncResult)
       at Microsoft.TeamFoundation.Release.Data.Proxy.RestProxy.HttpRequestor.<>c__DisplayClass1.<GetPostCaller>b__0(String url, String body)
       at Microsoft.TeamFoundation.Release.Data.Proxy.RestProxy.BaseReleaseV2ServiceProxy.ListReleases(String filterXml)
       at Microsoft.TeamFoundation.Release.Data.Model.ReleaseV2.LoadListXml(String filterXml)
       at Microsoft.TeamFoundation.Release.Data.Model.ModelFactory.LoadListElements[T](String filterXml)
       at Microsoft.VisualStudio.Release.ViewModel.ViewModels.ReleasesViewModel.LoadElements(String filterXml)
       at Microsoft.VisualStudio.Release.ViewModel.DataAccess.ElementRepository.LoadElements(String filterXml)
       at Microsoft.VisualStudio.Release.ViewModel.ViewModels.ListWorkspaceViewModel.Initialize()
       at Microsoft.VisualStudio.Release.ViewModel.ViewModels.ReleasesViewModel..ctor()
    Timestamp: 3/27/2015 6:49:44 PM
    Message: The remote server returned an error: (500) Internal Server Error.: \r\n\r\n   at Microsoft.TeamFoundation.Release.Common.Presentation.Binding.OnDatabindingException(Object bindingExpression, Exception exception)
       at System.Windows.Data.Binding.DoFilterException(Object bindExpr, Exception exception)
       at System.Windows.Data.BindingExpression.CallDoFilterException(Exception ex)
       at System.Windows.Data.BindingExpression.ProcessException(Exception ex, Boolean validate)
       at System.Windows.Data.BindingExpression.UpdateSource(Object value)
       at System.Windows.Data.BindingExpressionBase.UpdateValue()
       at System.Windows.Data.BindingExpression.UpdateOverride()
       at System.Windows.Data.BindingExpressionBase.Update()
       at System.Windows.Data.BindingExpressionBase.ProcessDirty()
       at System.Windows.Data.BindingExpressionBase.Dirty()
       at System.Windows.Data.BindingExpressionBase.SetValue(DependencyObject d, DependencyProperty dp, Object value)
       at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
       at System.Windows.DependencyObject.SetCurrentValueInternal(DependencyProperty dp, Object value)
       at System.Windows.Controls.Primitives.Selector.UpdatePublicSelectionProperties()
       at System.Windows.Controls.Primitives.Selector.SelectionChanger.End()
       at System.Windows.Controls.Primitives.Selector.SetSelectedHelper(Object item, FrameworkElement UI, Boolean selected)
       at System.Windows.Controls.Primitives.Selector.NotifyIsSelectedChanged(FrameworkElement container, Boolean selected, RoutedEventArgs e)
       at System.Windows.Controls.Primitives.Selector.OnSelected(Object sender, RoutedEventArgs e)
       at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
       at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
       at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
       at System.Windows.Controls.TabItem.OnSelected(RoutedEventArgs e)
       at System.Windows.Controls.TabItem.OnIsSelectedChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
       at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
       at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue,
    OperationType operationType)
       at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
       at System.Windows.DependencyObject.SetCurrentValueInternal(DependencyProperty dp, Object value)
       at System.Windows.Controls.TabItem.OnPreviewGotKeyboardFocus(KeyboardFocusChangedEventArgs e)
       at System.Windows.UIElement.OnPreviewGotKeyboardFocusThunk(Object sender, KeyboardFocusChangedEventArgs e)
       at System.Windows.Input.KeyboardFocusChangedEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
       at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
       at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
       at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
       at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
       at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
       at System.Windows.Input.InputManager.ProcessStagingArea()
       at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
       at System.Windows.Input.KeyboardDevice.TryChangeFocus(DependencyObject newFocus, IKeyboardInputProvider keyboardInputProvider, Boolean askOld, Boolean askNew, Boolean forceToNullIfFailed)
       at System.Windows.Input.KeyboardDevice.Focus(DependencyObject focus, Boolean askOld, Boolean askNew, Boolean forceToNullIfFailed)
       at System.Windows.Input.KeyboardDevice.Focus(IInputElement element)
       at System.Windows.UIElement.Focus()
       at System.Windows.Controls.TabItem.SetFocus()
       at System.Windows.Controls.TabItem.OnMouseLeftButtonDown(MouseButtonEventArgs e)
       at System.Windows.UIElement.OnMouseLeftButtonDownThunk(Object sender, MouseButtonEventArgs e)
       at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
       at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
       at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
       at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
       at System.Windows.UIElement.OnMouseDownThunk(Object sender, MouseButtonEventArgs e)
       at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
       at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
       at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
       at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
       at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
       at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
       at System.Windows.Input.InputManager.ProcessStagingArea()
       at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
       at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
       at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
       at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
       at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
    Please help us.
    Thanks & Regards,
    Ramakrushna Parupalli

    Hi Ramakrushna,
    For the situation, you can connect to the database of Release Management, and check whether you can execute stored procedure ReleaseV2_List manually.
    You can also try to clean some of releases records if possible to check if the timeout issue can be resolved. Or you can set the timeout configuration of Release Management to a larger value. Refer to this
    thread for more information.
    Another option is check event logs to see if there any useful informaiton, and repair Release Management on your server machine if possible. If the problem still exist after taking the methods I mentioned above, 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.

Maybe you are looking for

  • Inserting more data records at a time to a portaldatabase

    Dear SDN's, I am working with sql server on JAVA side i.e., as a portal web database. I want to insert a level of some 100 records at a time to a database. what is the best way of inserting other than entering all the values manually/using a insert p

  • "White Noise" at Start up

    Whyen I power on my imac, the screen is white and then the tiny apply appears with a progress bar circling around it. Then, the screenturns into "white noise" similar to what a TV loos like when the cable isn't working. Any ideas?

  • Transferring old photos from one iPhone to another.

    I've recently upgraded to an iPhone 4S from a 3GS. The 3GS has several problems including not charging and not syncing with my macbook/iTunes. I've backed up on iCloud and when i got the 4S I used that to transfer all my apps and stuff. Anyway, only

  • Events mistakenly updated

    Hi community. I have FCP version 10.0.6 on my MB Pro, and I edit off an external drive. I took the drive to school to edit a project on one of their workstations, which newly had been updated to version 10.0.8. With the external drive still unconnect

  • Multiple wagetypes upload for 14 Infotype

    How do I upload multiple wage types at a time for 14 infotype? For example An employee having 4 deduction wagetypes How do I upload 4 wagetypes at a time?? Iam confused ... Kindly let me know Experts....