Bind workflow programmatically to list

How to bind workflow programmatically to list in an visual studio project?
In our project we have list templates and 2013 workflows designed. How to associate a workflow with a template?

Hi,
In the Visual studio under Workflow1->Elements.xml as shown in the below screenshot.
In the Elements.xml, you need to update the following section.
<File Url="WorkflowStartAssociation" Path="Workflow1\WorkflowStartAssociation" Type="GhostableInLibrary">
<Property Name="WSDisplayName" Value="Workflow1 - Workflow Start" />
<Property Name="ContentType" Value="WorkflowServiceSubscription" />
<Property Name="WSPublishState" Value="3" />
<Property Name="WSEventType" Value="WorkflowStart" />
<Property Name="WSEnabled" Value="true" />
<Property Name="WSGUID" Value="9afd9ce7-daa2-44c9-a9b0-3415177f6097" />
<Property Name="WSEventSourceGUID" Value="{$ListId:Shared Documents;}" />
<Property Name="Microsoft.SharePoint.ActivationProperties.ListId" Value="{$ListId:Shared Documents;}" />
<Property Name="HistoryListId" Value="{$ListId:Lists/WorkflowHistoryList;}" />
<Property Name="TaskListId" Value="{$ListId:Lists/WorkflowTaskList;}" />
</File>
From the above section, you have update the WSEventSourceGUID
<Property Name="Microsoft.SharePoint.ActivationProperties.ListId" Value="{$ListId:Shared Documents;}" />
http://msdn.microsoft.com/en-us/library/office/dn456545%28v=office.15%29.aspx
Please don't forget to mark it answered, if your problem resolved or helpful.

Similar Messages

  • SharePoint Online 2013 Workflows for one List stopped working after 07/08/2014

    Our client host application in Office 365 SharePoint Online 2013, and we just found that all workflows for one list stopped working after 7, Aug 2014. It kept displaying pop-up message "Something went wrong. To try again, reload the page and then start
    the workflow." when manually start a workflow for this List.
    Tested workflow for other list, there's no problem.
    Could anyone can help on this issue?

    Our client host application in Office 365 SharePoint Online 2013, and we just found that all workflows for one list stopped working after 7, Aug 2014. It kept displaying pop-up message "Something went wrong. To try again, reload the page and then start
    the workflow." when manually start a workflow for this List.
    Tested workflow for other list, there's no problem.
    Could anyone can help on this issue?

  • Deploying a Reusable Workflow to a List Content Type using PowerShell

    We have a situation where deployment of a reusable workflow for a site content type cannot be completed through the web interface due to the number of libraries where the content type is in use (time-out on deploy and update).
    It was hoped that this could be accomplished with PowerShell but the method of deploying to a list content type appears to be different than it is to a list (all content types).
    The below snippet works fine for a list / all content types:
    function AddWorkflowToLibraries ($SiteCollection, $ctName, $WfName, $WfAssociationName)
    $site = Get-SPSite $SiteCollection
    [Guid]$wfTemplateId = New-Object Guid
    #Step through each web in site collection
    $site | Get-SPWeb -limit all | ForEach-Object {
    $web = $_
    $_.Lists | ForEach-Object{
    if($_.AllowContentTypes -eq $true)
    if($_.ContentTypes.Item("$ctName") -ne $null)
    write-host "Enabling workflow on" $_.Title "in" $_.ParentWebUrl
    $ct = $_.ContentTypes[$ctName]
    $culture = New-Object System.Globalization.CultureInfo("en-US")
    $template = $site.RootWeb.WorkflowTemplates.GetTemplateByName($WfName, $culture)
    if($template -ne $null)
    $tasklist = "Tasks"
    $historylist = "Workflow History"
    if(!$web.Lists[$historylist])
    $web.Lists.Add($historylist, "A system library used to store workflow history information that is created in this site. It is created by the Publishing feature.",
    "WorkflowHistory", "00BFEA71-4EA5-48D4-A4AD-305CF7030140", 140, "100")
    if (!$web.Features["00BFEA71-4EA5-48D4-A4AD-305CF7030140"]) {
    Enable-SPFeature -Identity WorkflowHistoryList -Url $web.Url
    $wfHistory = $web.Lists[$historylist]
    $wfHistory.Hidden = $true
    $wfHistory.Update()
    if(!$web.Lists[$tasklist])
    $web.Lists.Add($tasklist, "This system library was created by the Publishing feature to store workflow tasks that are created in this site.", "WorkflowTasks", "00BFEA71-A83E-497E-9BA0-7A5C597D0107", 107, "100")
    $association = [Microsoft.SharePoint.Workflow.SPWorkflowAssociation]::CreateListAssociation($template, $wfName, $web.Lists[$tasklist], $web.Lists[$historylist])
    $association.AllowManual = $true
    $_.AddWorkflowAssociation($association)
    $_.Update()
    else
    Write-Error "Workflow Template not found"
    AddWorkflowToLibraries <Site Name> <Content Type Name> <Workflow Template Name> <Association Name>
    However changing the association as follows causes the script to still execute without a problem but the workflow doesn't appear for the content and the associations collection is empty:
    function AddWorkflowToLibraries ($SiteCollection, $ctName, $WfName, $WfAssociationName)
    $site = Get-SPSite $SiteCollection
    [Guid]$wfTemplateId = New-Object Guid
    #Step through each web in site collection
    $site | Get-SPWeb -limit all | ForEach-Object {
    $web = $_
    $_.Lists | ForEach-Object{
    if($_.AllowContentTypes -eq $true)
    if($_.ContentTypes.Item("$ctName") -ne $null)
    write-host "Enabling workflow on" $_.Title "in" $_.ParentWebUrl
    $ct = $_.ContentTypes[$ctName]
    $culture = New-Object System.Globalization.CultureInfo("en-US")
    $template = $site.RootWeb.WorkflowTemplates.GetTemplateByName($WfName, $culture)
    if($template -ne $null)
    $tasklist = "Tasks"
    $historylist = "Workflow History"
    if(!$web.Lists[$historylist])
    $web.Lists.Add($historylist, "A system library used to store workflow history information that is created in this site. It is created by the Publishing feature.",
    "WorkflowHistory", "00BFEA71-4EA5-48D4-A4AD-305CF7030140", 140, "100")
    if (!$web.Features["00BFEA71-4EA5-48D4-A4AD-305CF7030140"]) {
    Enable-SPFeature -Identity WorkflowHistoryList -Url $web.Url
    $wfHistory = $web.Lists[$historylist]
    $wfHistory.Hidden = $true
    $wfHistory.Update()
    if(!$web.Lists[$tasklist])
    $web.Lists.Add($tasklist, "This system library was created by the Publishing feature to store workflow tasks that are created in this site.", "WorkflowTasks", "00BFEA71-A83E-497E-9BA0-7A5C597D0107", 107, "100")
    $association = [Microsoft.SharePoint.Workflow.SPWorkflowAssociation]::CreateListContentTypeAssociation($template, $wfName, $web.Lists[$tasklist], $web.Lists[$historylist])
    $association.AllowManual = $true
    $_.ContentTypes[$ctname].AddWorkflowAssociation($association)
    $_.ContentTypes[$ctname].Update()
    else
    Write-Error "Workflow Template not found"
    AddWorkflowToLibraries <Site Name> <Content Type Name> <Workflow Template Name> <Association Name>
    The only change is:
    $association = [Microsoft.SharePoint.Workflow.SPWorkflowAssociation]::CreateListContentTypeAssociation($template, $wfName, $web.Lists[$tasklist], $web.Lists[$historylist])
    $association.AllowManual = $true
    $_.ContentTypes[$ctname].AddWorkflowAssociation($association)
    $_.ContentTypes[$ctname].Update()
    But unlike the list version, the association doesn't appear to be saved and no error is generated.
    Is anyone aware of what may cause this or have an example in C# that may explain something my script is missing?

    Hi Garry,
    After you associate the workflow to the content type, you should update the update the content type using
    $ct.UpdateWorkflowAssociationsOnChildren($true,$true,$true,$false)
     method.
    Here is the completed script:
    [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint")
    $site=Get-SPSite "http://serverName"
    $web=$site.OpenWeb()
    $list=$web.Lists["ListC"]
    $taskList=$web.Lists["Tasks"]
    $historyList=$web.Lists["Workflow History"]
    $ct=$list.ContentTypes["Link"]
    $culture=New-Object System.Globalization.CultureInfo("en-US")
    $wfTemplate=$web.WorkflowTemplates.GetTemplateByName("Three-State",$culture)
    $associationWF=[Microsoft.SharePoint.Workflow.SPWorkflowAssociation]::CreateListContentTypeAssociation($wfTemplate, "myThreeStateWF",$taskList,$historyList)
    $ct.WorkflowAssociations.Add($associationWF)
    $ct.UpdateWorkflowAssociationsOnChildren($true,$true,$true,$false)
    Here is a demo about how to update it using C#
    http://www.thorntontechnical.com/tech/sharepoint/sharepoint-2010-associate-workflow-to-content-type-in-a-feature
    Wayne Fan
    TechNet Community Support

  • Start a workflow for a list item that was created by someone else

    What settings do I need to change so that I can start a workflow for a list item created by another user?
    I have a SharePoint 2013 workflow (let's call it LSR Status Workflow) that is associated with a list (called
    LSR List). When a user creates an item in the LSR List, it automatically starts the
    LSR Status Workflow. That is what I wanted, but sometimes I make changes to the workflow (via SharePoint designer) and then I would want to terminate the existing workflows that are running and restart them.
    When I try to start a workflow for anyone other than a list item that I created, I get the following error:
    Retrying last request. Next attempt scheduled in less than one minute. Details of last request: HTTP NotFound to https://publishing.web.company.com/sites/mysite/_vti_bin/client.svc/web/lists/getbyid(guid'1f844b8f-19aa-4587-bcc2-dfb7085f36b5')/Items(31)
    Correlation Id: 8efc5304-f0a3-90f6-8ece-6875bf811869 Instance Id:
    60c83aae-5c25-4ee8-9c85-c64958ba701e
    Then when the workflow is finally suspended after it keeps retrying, it reports the following error:
    RequestorId: 8efc5304-f0a3-90f6-0000-000000000000. Details: An unhandled
    exception occurred during the execution of the workflow instance.
    Exception details: System.ApplicationException: HTTP 404
    {"Transfer-Encoding":["chunked"],"X-SharePointHealthScore":["0"],"SPClientServiceRequestDuration":["36"],"SPRequestGuid":["8efc5304-f0a3-90f6-9bbd-d18d4d90af1b"],"request-id":["8efc5304-f0a3-90f6-9bbd-d18d4d90af1b"],"X-FRAME-OPTIONS":["SAMEORIGIN"],"MicrosoftSharePointTeamServices":["15.0.0.4551"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1;
    RequireReadOnly"],"Cache-Control":["max-age=0, private"],"Date":["Tue,
    10 Feb 2015 22:36:44
    GMT"],"Set-Cookie":["BIGipServerpublishing-blv-80-pool=2825582466.20480.0000;
    path=/"],"Server":["Microsoft-IIS/7.5"],"X-AspNet-Version":["4.0.30319"],"X-Powered-By":["ASP.NET"]}
    at
    Microsoft.Activities.Hosting.Runtime.Subroutine.SubroutineChild.Execute(CodeActivityContext
    context) at
    System.Activities.CodeActivity.InternalExecute(ActivityInstance
    instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at
    System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor
    executor, BookmarkManager bookmarkManager, Location resultLocation)
    If I created the list item, I can stop it and restart it without any problems, but this is not the case for list items created by someone else.
    What settings do I need to change so that I can start a workflow for a list item created by another user? I am the owner of the SharePoint site and am able to make changes to permissions if needed.

    You don't need to re-do the fields. If you create a new version of the PDF
    file just open the old one and use the Replace Pages command to insert the
    pages from the new version over the old ones. This will give you a new
    version of the file, with the existing form fields still in tact. Of
    course, you might need to adjust their location and/or size, but at least
    you won't have to start all over again...
    On Thu, Jan 22, 2015 at 11:59 PM, Laura Holancin <[email protected]>

  • My workflow is not listed in the GOS (Services for object)

    Hello Experts,
    I developed a workflow and linked the BO ZBUS2081. This is sub type of standard BO BUS2081. I am using the custom event INVOICEBLOCKED to trigger the workflow. The workflow is triggered propely when the invoce is created (with block) thru MIRO and I can see the workflow in SWEL or SWI6 or SWI14.
    But, the workflow is not listed in the services for objects button of the invoice display using MIR4.
    If I use the standard event 'BLOCKEDQUANT' as starting event, the workflow is triggered and I can view it in services for object.
    In the table SWW_WI2OBJ has all entries about the workflow triggered using standard event or custom event.
    How can I make the services for object in invoice list my workflow that was triggered using custom evet?
    Appreciate your help.
    Regards
    Siva S

    Hi Siva
    Thanks for marking this thread answered.....We are glad that your issue was solved :-) ....... But I do agree with Rick Bakker, the first correct answer was by Paul Bakker and I had just elaborated on that.
    Please mark the first correct answer as the "green" one.
    Regards,
    Modak

  • ECMA script for checking active workflows for an list item

    Hi i am having more than 1 workflow associated with the list if there is any workflow that is active for an item then i need to prevent starting another workflow for the same item. I am using the following code to achieve the same. Can anyone please provide
    me the ECMA object model equivalent for achieving the same.
        //Check for any active workflows for the document
            private void CheckForActiveWorkflows()
                // Parameters 'List' and 'ID' will be null for site workflows.
                if (!String.IsNullOrEmpty(Request.Params["List"]) && !String.IsNullOrEmpty(Request.Params["ID"]))
                    this.workflowList = this.Web.Lists[new Guid(Request.Params["List"])];
                    this.workflowListItem = this.workflowList.GetItemById(Convert.ToInt32(Request.Params["ID"]));
                SPWorkflowManager manager = this.Site.WorkflowManager;
                SPWorkflowCollection workflowCollection = manager.GetItemActiveWorkflows(this.workflowListItem);
                if (workflowCollection.Count > 0)
                    SPUtility.TransferToErrorPage("An workflow is already running for the document. Kindly complete it before starting a new workflow");
            }

    Hi,
    According to your post, my understanding is that you wanted to use ECMA script to check active workflows for an list item.
    You can use the Workflow web service "/_vti_bin/workflow.asmx"
    - GetWorkflowDataForItem operation in particular.
    Here is a great blog for you to take a look at:
    http://jamestsai.net/Blog/post/Using-JavaScript-to-check-SharePoint-list-item-workflow-status-via-Web-Service.aspx
    In addition, you can use
    SPServices. For more information, please refer to:
    http://sharepoint.stackexchange.com/questions/72962/is-there-a-way-to-check-if-a-workflow-is-completed-using-javascript
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Early and late binding workflows in ICC based color management

    Hi all!
    I'm a graphic design student at Reading Uni in the UK, and I'm writing my BA dissertation on early and late binding workflows in ICC based color management for print production. I'm intending to write to a graphic designer audience from a designer's point of view. Please do comment here if you have anything to say on this topic, or you can point me to the right direction. I'm also looking for studios where I could conduct my case studies who employ early, medium or late binding workflows.
    Thank you.

    Will your paper have a title like  "Color Management is Fun and Easy" or "The Fiasco of Color Management"?
    Notice that in the past week you and I are the only posts on this forum! This is the Color Management forum on Adobe's website. Shouldn't it be really busy?
    It appears, that even after nearly ten years  I can't remember when color management first began to appear in prepress software), the industry has not embraced color management.
    The promise of color management since I can remember was  that we could make color documents and not need to know how they would be printed. In other words a late binding workflow; that latest possible, just before making the plates or screens or engravings, etc. After forty hours of reading on the net and testing I am almost positive this is impossible if Illustrator is in the workflow.
    Illustrator documents must be either RGB or CMYK not both. So if there are any colors that need to be preserved as CMYK (like 100 K black) you must work in CMYK meaning a mid binding color management workflow. The only thing I can think of is to find, or make, the widest gamut CMYK profile so that the fewest colors are hacked off.
    But really how can this all be so messed up? What good reason could Adobe have for doing this? (I can think of several but they all contridict themselves.)
    I preped some files the other day that were going to a printer I wasn't familiar with; one of the premium houses here in my area. I called them and asked how they wanted the files sent to them. I was hoping they had profiles for me or would spec some kind of PDF/x document that they would handle. No they wanted the source files and when I asked do you want the images in RGB then said, "No." So I asked which profile did they want me to use to convert to CMYK and the answer was, "What do you mean?" I said which CMYK do you want? The answer was, "The one everybody uses." I used SWOP and sighed.
    IF I'M WRONG I would love to hear about it.
    Good luck

  • How to re-associate a list workflow to the list???

    I have a list and had created a list workflow.  This workflow had appeared in the "Workflows" area of the list when the list is viewed in SharePoint Designer.  The workflow reference was accidentally deleted from the list.  The workflow
    itself was not deleted, just the reference that is listed in the list definition.  How can I re-associate that list workflow to the list??? If I am at the site in the browser and go to the "Add a workflow" area, it only lists some default template
    workflows and any reusable workflows.  It does not list my list workflow.  So now I have a list and a list workflow, but they are no longer joined.
    Any thoughts- Peter

    Should be an issue of changing some ID values. I've not tried this yet but hopefully this will help to get you started.
    http://itrathnasekara.blogspot.mx/2012/11/how-to-re-associate-list-workflows-with.html
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • Email:  Workflow and Task List Notification

    Hi,
    I am wondering whether the setting 'Workflow and Task List Notification' in application settings is functionality that I can use: I would like to setup the e-mail notifications for planning. One of the tasks on a standard task list that we would like end users to be able to do is to inform a particular user/group that a particular task has been completed. I would not like this task to be a workflow task, can e-mail notifications be sent for standard task list items?
    Options that I have reviewed:
    - Custom button on a dataform - not sure whether I can send parameters through to this, however I could use the form name as a description.
    - A *.jsp page that accepts two parameters 'Description / form name' and 'e-mail address' and the page then sends off an e-mail (Lotus Notes from WebLogic 9)
    - Workflow - although this inform task is not entity driven. Also the notifications are across plan types i.e. one cube enters in Information and then informs users of the second cube that figures are required - which we then import using xref.
    Any advice would be much appreciated. I know it can be done, I am just looking for the easiest way to implement this using standard planning functionality where possible.
    Kind Regards,
    FC
    Edited by: user11212320 on Sep 21, 2010 10:32 AM
    Edited by: user11212320 on Sep 21, 2010 10:36 AM

    The default email solutions in planning are using workflow or task lists, though the task lists are based on due dates.
    If you wanted a solution where an email is sent out when a task list is complete, then one route could be to have a business rule attached to a task list and then the business rule uses a custom CDF to send out email notication.
    If you are interested in sending emails from business rules then I did write a blog on the subject a while back.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Workflow Timeline/Check-list app

    Been searching high and low for some info on creating a Workflow Timeline/Check-list app, but have had no joy as of yet. Is this even possible with Siena?
    Thanks
    Naim

    Hi Naim,
    Could you please shed some more light on the high level scenario and the things you would be able to do in the app? This way we can pipe the appropriate suggestions to you.
    Thanks.

  • Getting an error, Unable to properly connect to the workflow service while attaching workflow to the list manually

    Hello Experts,
    I am facing an issue on test server while attaching workflow manually to the list. 
    On dev environment I am deploying workflow through visual studio and here everything works fine.
    Please suggest if anyone has faced this issue earlier.
    Regards,
    Uday G
    Line 3874: 04/27/2015 02:02:15.72 w3wp.exe (0x1708)                      
    0x15E0
    SharePoint Foundation         Logging Correlation Data      
    xmnv Medium  
    Name=Request (POST:http://spwfte800-001:80/_layouts/15/AssocWrkfl.aspx?AssociatedList=0b6b6303-d8ac-4007-94d0-5cf5502df0f6&WF4=1)
    9ac4009d-b5ca-c010-44e2-238aad763833
    Line 3875: 04/27/2015 02:02:15.73
    w3wp.exe (0x1708)                      
    0x15E0
    SharePoint Foundation         Authentication Authorization  
    agb9s Medium  
    Non-OAuth request. IsAuthenticated=True, UserIdentityName=0#.w|usykgw\sp_farm_te, ClaimsCount=30
    9ac4009d-b5ca-c010-44e2-238aad763833
    Line 3876: 04/27/2015 02:02:15.73
    w3wp.exe (0x1708)                      
    0x15E0
    SharePoint Foundation         Logging Correlation Data      
    xmnv Medium  
    Site=/ 9ac4009d-b5ca-c010-44e2-238aad763833
    Line 3877: 04/27/2015 02:02:15.80
    w3wp.exe (0x1708)                      
    0x15E0
    SharePoint Foundation         Database                      
    ahjqp High    
    [Forced due to logging gap, cached @ 04/27/2015 02:02:15.78, Original Level: Verbose] SQL connection time: 0.093 for Data Source=SPDBTE800-001\MYNET_SQL;Initial Catalog=WSS_Content_80;Integrated Security=True;Enlist=False;Pooling=True;Min Pool Size=0;Max
    Pool Size=100;Connect Timeout=15;Application Name=SharePoint[w3wp][2][WSS_Content_80]
    9ac4009d-b5ca-c010-44e2-238aad763833
    Line 3878: 04/27/2015 02:02:15.80
    w3wp.exe (0x1708)                      
    0x15E0
    SharePoint Foundation         Files                        
    ak8dj High    
    UserAgent not available, file operations may not be optimized.    at Microsoft.SharePoint.SPFileStreamManager.CreateCobaltStreamContainer(SPFileStreamStore spfs, ILockBytes ilb, Boolean copyOnFirstWrite, Boolean disposeIlb)     at
    Microsoft.SharePoint.SPFileStreamManager.SetInputLockBytes(SPFileInfo& fileInfo, SqlSession session, PrefetchResult prefetchResult)     at Microsoft.SharePoint.CoordinatedStreamBuffer.SPCoordinatedStreamBufferFactory.CreateFromDocumentRowset(Guid
    databaseId, SqlSession session, SPFileStreamManager spfstm, Object[] metadataRow, SPRowset contentRowset, SPDocumentBindRequest& dbreq, SPDocumentBindResults& dbres)     at Microsoft.SharePoint.SPSqlClient.GetDocumentContentRow(Int32 rowOrd,
    Object ospFileStmMgr, SPDocumentBindRequest& dbreq, SPDocumentBindResults& dbres...
    9ac4009d-b5ca-c010-44e2-238aad763833
    Line 3879: 04/27/2015 02:02:15.80*
    w3wp.exe (0x1708)                      
    0x15E0
    SharePoint Foundation         Files                        
    ak8dj High    
    ...)     at Microsoft.SharePoint.Library.SPRequestInternalClass.GetFileAndMetaInfo(String bstrUrl, Byte bPageView, Byte bPageMode, Byte bGetBuildDependencySet, String bstrCurrentFolderUrl, Int32 iRequestVersion, Byte bMainFileRequest, Boolean&
    pbCanCustomizePages, Boolean& pbCanPersonalizeWebParts, Boolean& pbCanAddDeleteWebParts, Boolean& pbGhostedDocument, Boolean& pbDefaultToPersonal, Boolean& pbIsWebWelcomePage, String& pbstrSiteRoot, Guid& pgSiteId, UInt32& pdwVersion,
    String& pbstrTimeLastModified, String& pbstrContent, UInt32& pdwPartCount, Object& pvarMetaData, Object& pvarMultipleMeetingDoclibRootFolders, String& pbstrRedirectUrl, Boolean& pbObjectIsList, Guid& pgListId, UInt32& pdwItemId,
    Int64& pllListFlags, Boolean& pbAccessDenied, Guid& pgDocid, Byte& piLevel, UInt64& ppermMask, ...
    9ac4009d-b5ca-c010-44e2-238aad763833
    Line 3880: 04/27/2015 02:02:15.80*
    w3wp.exe (0x1708)                      
    0x15E0
    SharePoint Foundation         Files                        
    ak8dj High    
    ...Object& pvarBuildDependencySet, UInt32& pdwNumBuildDependencies, Object& pvarBuildDependencies, String& pbstrFolderUrl, String& pbstrContentTypeOrder, Guid& pgDocScopeId)     at Microsoft.SharePoint.Library.SPRequestInternalClass.GetFileAndMetaInfo(String
    bstrUrl, Byte bPageView, Byte bPageMode, Byte bGetBuildDependencySet, String bstrCurrentFolderUrl, Int32 iRequestVersion, Byte bMainFileRequest, Boolean& pbCanCustomizePages, Boolean& pbCanPersonalizeWebParts, Boolean& pbCanAddDeleteWebParts, Boolean&
    pbGhostedDocument, Boolean& pbDefaultToPersonal, Boolean& pbIsWebWelcomePage, String& pbstrSiteRoot, Guid& pgSiteId, UInt32& pdwVersion, String& pbstrTimeLastModified, String& pbstrContent, UInt32& pdwPartCount, Object&
    pvarMetaData, Object& pvarMultipleMeetingDoclibRootFolders, String& pbst...
    9ac4009d-b5ca-c010-44e2-238aad763833
    Line 3881: 04/27/2015 02:02:15.80*
    w3wp.exe (0x1708)                      
    0x15E0
    SharePoint Foundation         Files                        
    ak8dj High    
    ...rRedirectUrl, Boolean& pbObjectIsList, Guid& pgListId, UInt32& pdwItemId, Int64& pllListFlags, Boolean& pbAccessDenied, Guid& pgDocid, Byte& piLevel, UInt64& ppermMask, Object& pvarBuildDependencySet, UInt32&
    pdwNumBuildDependencies, Object& pvarBuildDependencies, String& pbstrFolderUrl, String& pbstrContentTypeOrder, Guid& pgDocScopeId)     at Microsoft.SharePoint.Library.SPRequest.GetFileAndMetaInfo(String bstrUrl, Byte bPageView, Byte
    bPageMode, Byte bGetBuildDependencySet, String bstrCurrentFolderUrl, Int32 iRequestVersion, Byte bMainFileRequest, Boolean& pbCanCustomizePages, Boolean& pbCanPersonalizeWebParts, Boolean& pbCanAddDeleteWebParts, Boolean& pbGhostedDocument,
    Boolean& pbDefaultToPersonal, Boolean& pbIsWebWelcomePage, String& pbstrSiteRoot, Guid& pgSiteId, UInt32& pdwVersion,...
    9ac4009d-b5ca-c010-44e2-238aad763833
    Line 3882: 04/27/2015 02:02:15.80*
    w3wp.exe (0x1708)                      
    0x15E0
    SharePoint Foundation         Files                        
    ak8dj High    
    ... String& pbstrTimeLastModified, String& pbstrContent, UInt32& pdwPartCount, Object& pvarMetaData, Object& pvarMultipleMeetingDoclibRootFolders, String& pbstrRedirectUrl, Boolean& pbObjectIsList, Guid& pgListId, UInt32&
    pdwItemId, Int64& pllListFlags, Boolean& pbAccessDenied, Guid& pgDocid, Byte& piLevel, UInt64& ppermMask, Object& pvarBuildDependencySet, UInt32& pdwNumBuildDependencies, Object& pvarBuildDependencies, String& pbstrFolderUrl,
    String& pbstrContentTypeOrder, Guid& pgDocScopeId)     at Microsoft.SharePoint.SPWeb.GetWebPartPageContent(Uri pageUrl, Int32 pageVersion, PageView requestedView, HttpContext context, Boolean forRender, Boolean includeHidden, Boolean mainFileRequest,
    Boolean fetchDependencyInformation, Boolean& ghostedPage, String& siteRoot, Guid& siteId, Int64& bytes, ...
    9ac4009d-b5ca-c010-44e2-238aad763833
    Line 3883: 04/27/2015 02:02:15.80*
    w3wp.exe (0x1708)                      
    0x15E0
    SharePoint Foundation         Files                        
    ak8dj High    
    ...Guid& docId, UInt32& docVersion, String& timeLastModified, Byte& level, Object& buildDependencySetData, UInt32& dependencyCount, Object& buildDependencies, SPWebPartCollectionInitialState& initialState, Object&
    oMultipleMeetingDoclibRootFolders, String& redirectUrl, Boolean& ObjectIsList, Guid& listId)     at Microsoft.SharePoint.ApplicationRuntime.SPRequestModuleData.FetchWebPartPageInformationForInit(HttpContext context, SPWeb spweb, Boolean
    mainFileRequest, String path, Boolean impersonate, Boolean& isAppWeb, Boolean& fGhostedPage, Guid& docId, UInt32& docVersion, String& timeLastModified, SPFileLevel& spLevel, String& masterPageUrl, String& customMasterPageUrl,
    String& webUrl, String& siteUrl, Guid& siteId, Object& buildDependencySetData, SPWebPartCollectionInitialState& initialState, ...
    9ac4009d-b5ca-c010-44e2-238aad763833
    Line 3884: 04/27/2015 02:02:15.80*
    w3wp.exe (0x1708)                      
    0x15E0
    SharePoint Foundation         Files                        
    ak8dj High    
    ...String& siteRoot, String& redirectUrl, Object& oMultipleMeetingDoclibRootFolders, Boolean& objectIsList, Guid& listId, Int64& bytes)     at Microsoft.SharePoint.ApplicationRuntime.SPRequestModuleData.GetWebPartPageData(HttpContext
    context, String path, Boolean throwIfFileNotFound)     at Microsoft.SharePoint.ApplicationRuntime.SPVirtualPathProvider.GetCacheKey(String virtualPath)     at System.Web.Compilation.BuildManager.GetVPathBuildResultFromCacheInternal(VirtualPath
    virtualPath, Boolean ensureIsUpToDate)     at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
        at System.Web.Compilation.BuildManager.GetVPathBuildResultWithN...
    9ac4009d-b5ca-c010-44e2-238aad763833
    Line 3885: 04/27/2015 02:02:15.80*
    w3wp.exe (0x1708)                      
    0x15E0
    SharePoint Foundation         Files                        
    ak8dj High    
    ...oAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)     at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext
    context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean ensureIsUpToDate)     at System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile,
    IDictionary contentTemplateCollection)     at System.Web.UI.Page.ApplyMasterPage()     at System.Web.UI.Page.PerformPreInit()     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
        at System.Web.UI.Page.ProcessRequest(Boolean in...
    9ac4009d-b5ca-c010-44e2-238aad763833
    Line 3886: 04/27/2015 02:02:15.80*
    w3wp.exe (0x1708)                      
    0x15E0
    SharePoint Foundation         Files                        
    ak8dj High    
    ...cludeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest()     at System.Web.UI.Page.ProcessRequest(HttpContext context)     at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
        at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)     at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error)     at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext
    context, AsyncCallback cb)     at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer,
    IntPtr nativeReque... 9ac4009d-b5ca-c010-44e2-238aad763833
    Line 3887: 04/27/2015 02:02:15.80*
    w3wp.exe (0x1708)                      
    0x15E0
    SharePoint Foundation         Files                        
    ak8dj High    
    ...stContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr
    pHandler, RequestNotificationStatus& notificationStatus)     at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr
    rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)  
    9ac4009d-b5ca-c010-44e2-238aad763833
    Line 3888: 04/27/2015 02:02:15.80
    w3wp.exe (0x1708)                      
    0x15E0
    SharePoint Foundation         Files                        
    aiv4w Medium  
    Spent 0 ms to bind 44035 byte file stream
    9ac4009d-b5ca-c010-44e2-238aad763833
    Line 3889: 04/27/2015 02:02:15.86
    w3wp.exe (0x1708)                      
    0x15E0
    0x119005                      
    adjzs High    
    [Forced due to logging gap, cached @ 04/27/2015 02:02:15.83, Original Level: VerboseEx] SwitchableSiteMapProvider "{0}" mapped to target provider "{1}"
    9ac4009d-b5ca-c010-44e2-238aad763833
    Line 3890: 04/27/2015 02:02:15.86
    w3wp.exe (0x1708)                      
    0x15E0
    SharePoint Foundation         Database                      
    8acb High    
    [Forced due to logging gap, Original Level: VerboseEx] Reverting to process identity
    9ac4009d-b5ca-c010-44e2-238aad763833
    Line 3891: 04/27/2015 02:02:15.92
    w3wp.exe (0x1708)                      
    0x15E0
    SharePoint Foundation         Database                      
    ahjqp High    
    [Forced due to logging gap, cached @ 04/27/2015 02:02:15.91, Original Level: Verbose] SQL connection time: 0.0963 for Data Source=SPDBTE800-001\MYNET_SQL;Initial Catalog=WSS_Content_80;Integrated Security=True;Enlist=False;Pooling=True;Min Pool Size=0;Max
    Pool Size=100;Connect Timeout=15;Application Name=SharePoint[w3wp][2][WSS_Content_80]
    9ac4009d-b5ca-c010-44e2-238aad763833
    Line 3892: 04/27/2015 02:02:15.92
    w3wp.exe (0x1708)                      
    0x15E0
    SharePoint Foundation         Monitoring                    
    b4ly High    
    Leaving Monitored Scope (EnsureListItemsData). Execution Time=15.9063
    9ac4009d-b5ca-c010-44e2-238aad763833
    Line 3893: 04/27/2015 02:02:15.98
    w3wp.exe (0x1708)                      
    0x15E0
    SharePoint Foundation         Database                      
    ahjqp High    
    [Forced due to logging gap, cached @ 04/27/2015 02:02:15.92, Original Level: Verbose] SQL connection time: 0.0662 for Data Source=SPDBTE800-001\MYNET_SQL;Initial Catalog=WSS_Content_80;Integrated Security=True;Enlist=False;Pooling=True;Min Pool Size=0;Max
    Pool Size=100;Connect Timeout=15;Application Name=SharePoint[w3wp][2][WSS_Content_80]
    9ac4009d-b5ca-c010-44e2-238aad763833
    Line 3894: 04/27/2015 02:02:15.98
    w3wp.exe (0x1708)                      
    0x15E0
    SharePoint Foundation         Database                      
    8acb High    
    [Forced due to logging gap, Original Level: VerboseEx] Reverting to process identity
    9ac4009d-b5ca-c010-44e2-238aad763833
    Line 3895: 04/27/2015 02:02:16.05
    w3wp.exe (0x1708)                      
    0x15E0
    SharePoint Foundation         Database                      
    ahjqp High    
    [Forced due to logging gap, cached @ 04/27/2015 02:02:16.03, Original Level: Verbose] SQL connection time: 0.0856 for Data Source=SPDBTE800-001\MYNET_SQL;Initial Catalog=WSS_Content_80;Integrated Security=True;Enlist=False;Pooling=True;Min Pool Size=0;Max
    Pool Size=100;Connect Timeout=15;Application Name=SharePoint[w3wp][2][WSS_Content_80]
    9ac4009d-b5ca-c010-44e2-238aad763833
    Line 3896: 04/27/2015 02:02:16.05
    w3wp.exe (0x1708)                      
    0x15E0
    SharePoint Foundation         Database                      
    8acb High    
    [Forced due to logging gap, Original Level: VerboseEx] Reverting to process identity
    9ac4009d-b5ca-c010-44e2-238aad763833
    Line 3897: 04/27/2015 02:02:16.05
    w3wp.exe (0x1708)                      
    0x15E0
    SharePoint Foundation         Monitoring                    
    b4ly High    
    Leaving Monitored Scope (EnsureListItemsData). Execution Time=20.7631
    9ac4009d-b5ca-c010-44e2-238aad763833
    Line 3901: 04/27/2015 02:02:16.19
    w3wp.exe (0x1708)                      
    0x15E0
    0xC33B01F                    
    ahv8s High    
    [Forced due to logging gap, cached @ 04/27/2015 02:02:16.06, Original Level: Verbose] Ending StoreWorkflowDeploymentProvider.GetDefinition
    9ac4009d-b5ca-c010-44e2-238aad763833
    Line 3902: 04/27/2015 02:02:16.19
    w3wp.exe (0x1708)                      
    0x15E0
    SharePoint Foundation         Database                      
    8acb High    
    [Forced due to logging gap, Original Level: VerboseEx] Reverting to process identity
    9ac4009d-b5ca-c010-44e2-238aad763833
    Line 3903: 04/27/2015 02:02:16.23
    w3wp.exe (0x1708)                      
    0x15E0
    SharePoint Foundation         General                      
    8kh7 High    
    Cannot complete this action.  Please try again.
    9ac4009d-b5ca-c010-44e2-238aad763833
    Line 3904: 04/27/2015 02:02:16.25
    w3wp.exe (0x1708)                      
    0x15E0
    SharePoint Foundation         Database                      
    ahjqp High    
    [Forced due to logging gap, cached @ 04/27/2015 02:02:16.20, Original Level: Verbose] SQL connection time: 0.0671 for Data Source=SPDBTE800-001\MYNET_SQL;Initial Catalog=WSS_Content_80;Integrated Security=True;Enlist=False;Pooling=True;Min Pool Size=0;Max
    Pool Size=100;Connect Timeout=15;Application Name=SharePoint[w3wp][2][WSS_Content_80]
    9ac4009d-b5ca-c010-44e2-238aad763833
    Line 3905: 04/27/2015 02:02:16.25
    w3wp.exe (0x1708)                      
    0x15E0
    SharePoint Foundation         General                      
    aix9j High    
    SPRequest.UpdateField: UserPrincipalName=i:0).w|s-1-5-21-515020923-1814085151-1527837076-26682, AppPrincipalName= ,bstrUrl=http://spwfte800-001 ,bstrListName={0B6B6303-D8AC-4007-94D0-5CF5502DF0F6} ,bstrXML=<Field DisplayName="PublishNewsItemWF-ItemAdded"
    Type="URL" Required="FALSE" ID="{36f69f6b-98df-44f7-b0bd-041265b4b402}" SourceID="{0b6b6303-d8ac-4007-94d0-5cf5502df0f6}" StaticName="PublishNewsItemWF_x002d_ItemAdde" Name="PublishNewsItemWF_x002d_ItemAdde"
    ColName="nvarchar22" RowOrdinal="0" ColName
    9ac4009d-b5ca-c010-44e2-238aad763833
    Line 3906: 04/27/2015 02:02:16.25
    w3wp.exe (0x1708)                      
    0x15E0
    SharePoint Foundation         General                      
    ai1wu Medium  
    System.Runtime.InteropServices.COMException: Cannot complete this action.  Please try again., StackTrace:    at Microsoft.SharePoint.SPField.UpdateCore(Boolean bToggleSealed)     at Microsoft.SharePoint.SPFieldCollection.AddFieldAsXmlInternal(String
    schemaXml, Boolean addToDefaultView, SPAddFieldOptions op, Boolean isMigration, Boolean fResetCTCol)     at Microsoft.SharePoint.SPFieldCollection.AddInternal(String strDisplayName, SPFieldType type, Boolean bRequired, Boolean bCompactName, Guid
    lookupListId, Guid lookupWebId, StringCollection choices)     at Microsoft.SharePoint.SPFieldCollection.Add(String strDisplayName, SPFieldType type, Boolean bRequired, Boolean bCompactName, StringCollection choices)     at Microsoft.SharePoint.SPFieldCollection.Add(String
    strDisplayName, SPFieldType typ... 9ac4009d-b5ca-c010-44e2-238aad763833
    Line 3907: 04/27/2015 02:02:16.25*
    w3wp.exe (0x1708)                      
    0x15E0
    SharePoint Foundation         General                      
    ai1wu Medium  
    ...e, Boolean bRequired)     at Microsoft.SharePoint.WorkflowServices.StoreSubscriptionService.CreateStatusColumn(String subscriptionName, SPWeb web, Guid listId)     at Microsoft.SharePoint.WorkflowServices.StoreSubscriptionService.PublishSubscriptionForList(WorkflowSubscription
    subscription, Guid listId)     at Microsoft.SharePoint.WorkflowServices.ApplicationPages.AssocWrkflPage.OnLoad(EventArgs ea)     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint,
    Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest()     at System.Web.UI.Page.ProcessRequest(HttpContext
    context)     at ... 9ac4009d-b5ca-c010-44e2-238aad763833
    Line 3908: 04/27/2015 02:02:16.25*
    w3wp.exe (0x1708)                      
    0x15E0
    SharePoint Foundation         General                      
    ai1wu Medium  
    ...System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()     at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)     at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception
    error)     at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb)     at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)     at
    System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer,
    IntPtr nativeRequestContext, IntPtr mo... 9ac4009d-b5ca-c010-44e2-238aad763833
    Line 3909: 04/27/2015 02:02:16.25*
    w3wp.exe (0x1708)                      
    0x15E0
    SharePoint Foundation         General                      
    ai1wu Medium  
    ...duleData, Int32 flags)     at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)     at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr
    pHandler, RequestNotificationStatus& notificationStatus)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr
    rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)  
    9ac4009d-b5ca-c010-44e2-238aad763833
    Line 3910: 04/27/2015 02:02:16.25
    w3wp.exe (0x1708)                      
    0x15E0
    SharePoint Foundation         General                      
    8nca Medium  
    Application error when access /_layouts/15/AssocWrkfl.aspx, Error=Unable to properly communicate with the workflow service.   at Microsoft.SharePoint.WorkflowServices.ApplicationPages.AssocWrkflPage.OnLoad(EventArgs ea)     at System.Web.UI.Control.LoadRecursive()
        at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    9ac4009d-b5ca-c010-44e2-238aad763833
    Line 3911: 04/27/2015 02:02:16.25
    w3wp.exe (0x1708)                      
    0x15E0
    SharePoint Foundation         Runtime                      
    tkau Unexpected
    Microsoft.SharePoint.SPException: Unable to properly communicate with the workflow service.    at Microsoft.SharePoint.WorkflowServices.ApplicationPages.AssocWrkflPage.OnLoad(EventArgs ea)     at System.Web.UI.Control.LoadRecursive()
        at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    9ac4009d-b5ca-c010-44e2-238aad763833
    Line 3912: 04/27/2015 02:02:16.25
    w3wp.exe (0x1708)                      
    0x15E0
    SharePoint Foundation         General                      
    ajlz0 High    
    Getting Error Message for Exception System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> Microsoft.SharePoint.SPException: Unable to properly communicate with the workflow service.
        at Microsoft.SharePoint.WorkflowServices.ApplicationPages.AssocWrkflPage.OnLoad(EventArgs ea)     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint,
    Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.HandleError(Exception e)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest(Boolean
    includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoin...
    9ac4009d-b5ca-c010-44e2-238aad763833
    Line 3913: 04/27/2015 02:02:16.25*
    w3wp.exe (0x1708)                      
    0x15E0
    SharePoint Foundation         General                      
    ajlz0 High    
    ...t)     at System.Web.UI.Page.ProcessRequest()     at System.Web.UI.Page.ProcessRequest(HttpContext context)     at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
        at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    9ac4009d-b5ca-c010-44e2-238aad763833
    Line 3914: 04/27/2015 02:02:16.25
    w3wp.exe (0x1708)                      
    0x15E0
    SharePoint Foundation         General                      
    aat87 Monitorable
    9ac4009d-b5ca-c010-44e2-238aad763833
    Line 3915: 04/27/2015 02:02:16.28
    w3wp.exe (0x1708)                      
    0x15E0
    SharePoint Foundation         DistributedCache              
    agyfq Medium  
    Unexpected error occurred in method 'Put' , usage 'SPViewStateCache' - Exception 'Microsoft.ApplicationServer.Caching.DataCacheException: ErrorCode<ERRCA0017>:SubStatus<ES0006>:There is a temporary failure. Please retry later. (One or more
    specified cache servers are unavailable, which could be caused by busy network or servers. For on-premises cache clusters, also verify the following conditions. Ensure that security permission has been granted for this client account, and check that the AppFabric
    Caching Service is allowed through the firewall on all cache hosts. Also the MaxBufferSize on the server must be greater than or equal to the serialized object size sent from the client.) ---> System.ServiceModel.CommunicationException: The socket connection
    was aborted. This could be caused by ... 9ac4009d-b5ca-c010-44e2-238aad763833
    Line 3916: 04/27/2015 02:02:16.28*
    w3wp.exe (0x1708)                      
    0x15E0
    SharePoint Foundation         DistributedCache              
    agyfq Medium  
    ...an error processing your message or a receive timeout being exceeded by the remote host, or an underlying network resource issue. Local socket timeout was '10675199.02:48:05.4775807'. ---> System.IO.IOException: The read operation failed, see inner
    exception. ---> System.ServiceModel.CommunicationException: The socket connection was aborted. This could be caused by an error processing your message or a receive timeout being exceeded by the remote host, or an underlying network resource issue. Local
    socket timeout was '10675199.02:48:05.4775807'. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host     at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags
    socketFlags)     at System.ServiceModel.Channels.So...
    9ac4009d-b5ca-c010-44e2-238aad763833
    Line 3917: 04/27/2015 02:02:16.28*
    w3wp.exe (0x1708)                      
    0x15E0
    SharePoint Foundation         DistributedCache              
    agyfq Medium  
    ...cketConnection.ReadCore(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout, Boolean closing)     --- End of inner exception stack trace ---     at System.ServiceModel.Channels.SocketConnection.ReadCore(Byte[] buffer, Int32
    offset, Int32 size, TimeSpan timeout, Boolean closing)     at System.ServiceModel.Channels.SocketConnection.Read(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout)     at System.ServiceModel.Channels.ConnectionStream.Read(Byte[]
    buffer, Int32 offset, Int32 count)     at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)     at System.Net.Security.NegotiateStream.StartFrameHeader(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest
    asyncRequest)     at System.Net.Security.NegotiateStream.StartReading(Byte[] buffer, Int...
    9ac4009d-b5ca-c010-44e2-238aad763833
    Line 3918: 04/27/2015 02:02:16.28*
    w3wp.exe (0x1708)                      
    0x15E0
    SharePoint Foundation         DistributedCache              
    agyfq Medium  
    ...32 offset, Int32 count, AsyncProtocolRequest asyncRequest)     at System.Net.Security.NegotiateStream.ProcessRead(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)     --- End of inner exception stack
    trace ---     at System.Net.Security.NegotiateStream.ProcessRead(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)     at System.Net.Security.NegotiateStream.Read(Byte[] buffer, Int32 offset, Int32 count)  
      at System.ServiceModel.Channels.StreamConnection.Read(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout)     --- End of inner exception stack trace ---    Server stack trace:      at System.ServiceModel.Channels.StreamConnection.Read(Byte[]
    buffer, Int32 offset, Int32 size, TimeSpan timeout)     at System.ServiceModel.Channels...
    9ac4009d-b5ca-c010-44e2-238aad763833
    Line 3919: 04/27/2015 02:02:16.28*
    w3wp.exe (0x1708)                      
    0x15E0
    SharePoint Foundation         DistributedCache              
    agyfq Medium  
    ....ClientFramingDuplexSessionChannel.SendPreamble(IConnection connection, ArraySegment`1 preamble, TimeoutHelper& timeoutHelper)     at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.DuplexConnectionPoolHelper.AcceptPooledConnection(IConnection
    connection, TimeoutHelper& timeoutHelper)     at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout)     at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout)
        at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)     at Microsoft.ApplicationServer.Caching.CacheResolverChannel.Open(TimeSpan timeout)     at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr
    md, Object[] args, Object server, Object[]& outArgs)   ...
    9ac4009d-b5ca-c010-44e2-238aad763833
    Line 3920: 04/27/2015 02:02:16.28*
    w3wp.exe (0x1708)                      
    0x15E0
    SharePoint Foundation         DistributedCache              
    agyfq Medium  
    ...  at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)    Exception rethrown at [0]:      at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message
    reqMsg, Boolean bProxyCase)     at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData)     at Microsoft.ApplicationServer.Caching.CacheResolverChannel.OpenDelegate.EndInvoke(IAsyncResult result)
        at Microsoft.ApplicationServer.Caching.ChannelContainer.Opened(IAsyncResult ar)     --- End of inner exception stack trace ---     at Microsoft.ApplicationServer.Caching.DataCache.ThrowException(ResponseBody respBody, RequestBody
    reqBody)     at Microsoft.ApplicationServer.Caching.DataCache.InternalPut(String key, Object value, DataCacheItemV...
    9ac4009d-b5ca-c010-44e2-238aad763833
    Line 3921: 04/27/2015 02:02:16.28*
    w3wp.exe (0x1708)                      
    0x15E0
    SharePoint Foundation         DistributedCache              
    agyfq Medium  
    ...ersion oldVersion, TimeSpan timeout, DataCacheTag[] tags, String region, IMonitoringListener listener)     at Microsoft.ApplicationServer.Caching.DataCache.<>c__DisplayClass25.<Put>b__24()     at Microsoft.ApplicationServer.Caching.DataCache.Put(String
    key, Object value, TimeSpan timeout)     at Microsoft.SharePoint.DistributedCaching.SPDistributedCache.Put(String key, Object value)'.
    9ac4009d-b5ca-c010-44e2-238aad763833
    Line 3922: 04/27/2015 02:02:16.28
    w3wp.exe (0x1708)                      
    0x15E0
    SharePoint Foundation         General                      
    ajb4s Monitorable
    ViewStateLog: Failed to write to the velocity cache: http://spwfte800-001/_layouts/15/AssocWrkfl.aspx?AssociatedList=0b6b6303-d8ac-4007-94d0-5cf5502df0f6&WF4=1
    9ac4009d-b5ca-c010-44e2-238aad763833
    Line 3923: 04/27/2015 02:02:16.28
    w3wp.exe (0x1708)                      
    0x15E0
    SharePoint Foundation         Micro Trace                  
    uls4 Medium  
    Micro Trace Tags: 0 nasq,4 agb9s,66 ak8dj,123 b4ly,132 b4ly,198 aix9j,1 ai1wu,6 8nca,0 tkau,0 ajlz0,1 aat87,20 agyfq,0 ajb4s
    9ac4009d-b5ca-c010-44e2-238aad763833
    Line 3924: 04/27/2015 02:02:16.28
    w3wp.exe (0x1708)                      
    0x15E0
    SharePoint Foundation         Monitoring                    
    b4ly Medium  
    Leaving Monitored Scope (Request (POST:http://spwfte800-001:80/_layouts/15/AssocWrkfl.aspx?AssociatedList=0b6b6303-d8ac-4007-94d0-5cf5502df0f6&WF4=1)). Execution Time=560.4965
    9ac4009d-b5ca-c010-44e2-238aad763833

    Hi Amit,
    Please try using the below cmdlet format to register workflow service to your SharePoint QA server again per the following post with similar error, then check results again. 
    Register-SPWorkflowService -SPSite 'https://myhost/mysite' -WorkflowHostUri 'https://workflowhost' -AllowOAuthHttp -Force
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/46a868eb-a012-4148-8319-088d55671ae7/errors-were-found-when-compiling-the-workflow-the-workflow-files-were-saved-but-cannot-run?forum=sharepointadminprevious
    Thanks
    Daniel Yang
    TechNet Community Support

  • Enumerating and Starting SP-2013 Designer Workflows Programmatically

    Hello,
    I'm currently working with Office-365 Site-collections. I have a requirement of developing a
    Sandbox Solution for Enumerating and Starting
    all Designer Workflows Associated to a Given List. The list contains workflows of both SP-2010 and SP-2013 templates. They have to be started programmatically on select Items on a Button Click event.
    I have tried using the property - SPList.WorkflowAssociations,
    but the collection of WorkflowAssociations returned by this property consists of SP-2010 workflows only. The ones of SP-2013 are not listed.
    I went through online blogs that suggested to use the APIs of 'Microsoft.SharePoint.WorkflowServicesBase.dll' (WorkflowServicesManager,
    WorkflowSubscriptionService, etc..), in order to enumerate SP-2013 Workflows as well.
    I'm not able to find the Api-package that installs the dll to GAC. Morever, I'm not sure if the APIs from this DLL can be used
    in Sandbox Solutions. (I have installed SP-2013 SDK as well as
    Workflow Manager package, but the above DLL is not found anywhere in my Dev-box). 
    It would be helpful if I get appropriate guidance on which APIs to use in Sandbox Solution for the above requirement.
    Thanks
    Abhijith R Shastry

    Hi,
    According to your post, my understanding is that you wanted to start workflow using Sandbox solution.
    It is not supported to use the “Microsoft.SharePoint.WorkflowServicesBase.dll” API in sandbox solution(office 365/SharePoint online).
    Also, it is not a good recommend to use the sandbox solution in SharePoint 2013 or SharePoint online.
    As a workaround, we can use the Client Object Model to achieve the same scenario.
    http://www.vrdmn.com/2014/05/managing-sharepoint-2013-workflows-with.html
    http://www.codeproject.com/Articles/607127/Using-SharePoint-Workflow-Services-JS-API
    What’s more, you also use the SharePoint APP to achieve it.
    http://sharepoint.stackexchange.com/questions/87015/solved-start-a-workflow-of-the-host-web-via-sharepoint-app-and-jsom
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • How to binding incoming xml node list to the tree control as dataProvider

    Recently, I faced into one issue: I want to binding incoming xml node (it's not avaliable at start) list to the tree control as a dataProvider.
    Since the incoming xml node list is not avaliable at beginning but I needs to bind it to the tree, so I create one virtual one in the xml, and prepare to remove it before the tree is shown. (ready for the actual node adding). But It did not work.
    Please see the presudo-code here:
    1.  Model layer(CsModel.as)
    public class CsModel
            [Bindable]
            public var treeXML:XML=<nodes><car label="virtualOne" id="1">
                                   </car></nodes>;
            (Here, I want to build binding relationship on the <car/> node,
             one 'virtual/stub' node is set here with lable="virtualOne".
             But this node will be deleted after IdTree
             control is created completely.)      
            [Bindable]
            public var treeData:XMLList =new XMLListCollection(treeXML.car);
    2. view layer(treePage.mxml)
            private var _model:CsModel = new CsModel();
            private function addNode():void
                    var newNode:XML=<car/>;
                    newNode.@label="newOne";
                    newNode.@id=1;
                    _model.treeXML.appendChild(newNode);
                             private function cleanData():void
                                     delete _model.treeXML.car;
            <mx:VBox height="100%" width="100%">
            <mx:Button label="AddNode" click="addNode()" />
            <mx:Tree id="IdTree"  labelField="@label"
              creationComplete="cleanData()"
              dataProvider="{_model}"/>
        </mx:VBox>
    3. Top view layer (App.Mxml)
    <mx:application>
        <treePage />
    </mx:application>
    For method: cleanData(),It's expected that when the treePage is shown, we first delete the virutalOne to provide one 'clear' tree since we don't want show virtualOne to the user. The virutalOne node just for building the relationship between treeData and treeXML at beginning. But the side effect of this method, I found, is that the relationship between treeXML and treeData was cut off. And this leads to that when I added new node (by click the 'addNode' button) to the xmlXML, the xmlData was not affected at all !
    So Is there any other way to solve this issue or bind the incoming xml node list to the xmlListCollection which will be used as Tree control's dataProvider ?

    If u want to display the name : value then u can do like this
    <xsl:eval>this.selectSingleNode("name").nodeName</xsl:eval> : <xsl:value-of select="name" />

  • Not able to start out of the box approval workflow programmatically

    We have a requirement to start an out of the box workflow from a .NET web service.
    We are using the StartWorfklow method:
    wfManager.StartWorkflow(item, association, association.AssociationData
    we are getting the below error message at the above line of code: Attempted to perform an unauthorized operation.. Data: System.Collections.ListDictionaryInternal
    Then, we tried:
    SPSecurity.RunWithElevatedPrivileges(delegate()
            wfManager.StartWorkflow(item, association, association.AssociationData,
    SPWorkflowRunOptions.Synchronous);
    Now, the workflow got canceled automatically with "Failed on Start" status. In the "Workflow History", it is showing 2 records with "was canceled by System Account." & "failed to start" in the description
    column.
    Please advise.

    Hi Zhengyu,
    1. I've already done that:
    a) when "SPSecurity.RunWithElevatedPrivileges(delegate()"
    is used, there are no errors showing up and code gets executed. However, the workflow failed to start.
    b) When I don't use elevated privileges, the code is showing an error (Attempted to perform an unauthorized operation.. Data: System.Collections.ListDictionaryInternal) when
    it tries to start the workflow (StartWorkflow method).
    2. The workflow starts with no issues through UI. I tried it using "System Account" and another account.
    3. I tried also "Collect Feedback" workflow template. Same results...
    You can find the code below:
    public
    stringStartItemWorkflow(stringsitePath,
    stringlibraryName,
    stringfileName)
    stringreturnVal =
    String.Empty;
    stringwfName =
    "VPApprovalWF";
    SPUserTokentoken = GetSecurityToken(sitePath);
    try
    using(Microsoft.SharePoint.SPSiteportalSite
    = newMicrosoft.SharePoint.SPSite(sitePath,
    token))
    using(SPWebportalWeb
    = portalSite.OpenWeb())
                        portalWeb.AllowUnsafeUpdates =
    true;
    SPListlist = portalWeb.Lists[libraryName];
    SPQueryfileQuery =
    newSPQuery();
                        fileQuery.Query =
    String.Format("<Where><Contains><FieldRef
    Name='FileLeafRef' /><Value Type=\"User\">{0}</Value></Contains></Where>", fileName);
                        fileQuery.ViewAttributes =
    "Scope='RecursiveAll'";
    SPListItemCollectionlistItemCol = list.GetItems(fileQuery);
    SPWorkflowManagerwfManager = portalSite.WorkflowManager;
    SPWorkflowAssociationCollectionassociationCollection
    = list.WorkflowAssociations;
    if(listItemCol.Count > 0)
    foreach(SPListItemitem
    inlistItemCol)
    if(associationCollection.Count > 0)
    foreach(SPWorkflowAssociationassociation
    inassociationCollection)
    if(association.Name == wfName)
                                            item.Update();
                                            association.AutoStartChange
    =
    true;
                                            association.AutoStartCreate
    =
    false;
                                            association.AssociationData
    =
    String.Empty;
                                            StartWF(wfManager,
    item, association);
                                            returnVal +=
    "Workflow Started";
    break;
    else
                                    returnVal +=
    "No workflows are attached to the library.";
    else
                            returnVal +=
    "A file with the name provided doesn't exist";
                        portalWeb.AllowUnsafeUpdates =
    false;
    catch(Exceptionex)
                returnVal +=
    "Workflow not started, reason: "+
    String.Format("Source:
    {0}. Stack Trace: {1}. Inner Exception:{2}. Message: {3}. Data: {4}", ex.Source, ex.StackTrace, ex.InnerException, ex.Message, ex.Data);
    returnreturnVal;
    SPUserTokenGetSecurityToken(stringsitePath)
    SPUserTokentoken =
    null;
    SPSecurity.RunWithElevatedPrivileges(delegate()
                Microsoft.SharePoint.
    SPSiteportalSite =
    newMicrosoft.SharePoint.SPSite(sitePath);
                token = portalSite.RootWeb.EnsureUser(
    "DOMAIN\\ADMIN-USER").UserToken;
                portalSite.Dispose();
    returntoken;
    privatestaticvoidStartWF(SPWorkflowManagerwfManager,
    SPListItemitem,
    SPWorkflowAssociationassociation)
    SPSecurity.RunWithElevatedPrivileges(delegate()
                wfManager.StartWorkflow(item, association, association.AssociationData,
    SPWorkflowRunOptions.Synchronous);
    Thank you all for your help.
    Regards,

  • How to use bind variale to create list of values? show date range?

    Hi,
    Dose anybode have a way to get around "bind variables are not allowed in Select statement" when create list of values from select? I have to create this based on who the user (one parameter passed into report) is.
    Another Question:
    I like to current date and current date-30 days on my report, how to achieve this?
    Any help wil be greately appreciated.
    Thanks

    Hi LC...
    Your approach is good...
    but i said to change the column formula not in criteria...
    but i wanted to done this change in fx of Dashboard prompt (presentation variable) column...
    Of course i appreciate your approach... it was simple ...
    Thanks & Regards
    Kishore Guggilla
    KUSHALINC

Maybe you are looking for

  • CS4 Install DVD does not mount on Macbook Pro after Maverick upgrade

    I upgraded a Macbook Pro to Maverick from Snow Leopard. I want to install CS4 but when I put the DVD in the Superdrive, it spins and spins and eventually says that the DVD is blank. I have successfully mounted other DVD's so I don't think it is a dri

  • How to Use getDBTransaction() in Controller Class

    I am using the below code.      OADBTransaction tx = (OADBTransaction)getDBTransaction();                          java.sql.Connection pConncection = tx.getJdbcConnection();                ConcurrentRequest cr = new ConcurrentRequest(pConncection); B

  • Printing xml spreadsheet file from java

    Does anyone know if it is possible to print an xml spreadsheet file directly from java. I'm quite new to java and any help would be greatly appreciated. Thanks in advance.

  • Conversion functions in Oracle 11g Express;HEXTORAW &RAWTOHEX

    hi everybody ! hextoraw ('0041') must return A but it doesn't return this value ,,it returns 0041 I'm using Oracle 11g Express select hextoraw('0041') from dual; --> 0041 ? but must return A why is that ? please help me thank you

  • New Qosmio F10-101. Where is OneNote?

    Just purchased a new Qosmio F10-101 in Greece with Greek Windows XP, but I don't seem to find Microsoft OneNote installed in my machine. In the european site in "Discontinued Models" the specs say clearly that OneNote is included with this model. So,