Thursday, May 29, 2014

Sharepoint 2013 Workflow - something went wrong


When I try to run a worflow created using SharePoint 2013 designer, I get the following error:

"Something went wrong. To try again, reload the page and then start the workflow."





Resolution:

Restart these services:

  • Service Bus Gateway
  • Service Bus Message Broker


Edit the workflow in designer and republish.



ULS logs for reference:

Request ManagementHighReached maximum number of failed machines based on ping results for this routing group
Request ManagementMediumMapping URI from 'http://siteCollection:80/_vti_bin/client.svc/ProcessQuery' to 'http://<SPAppServer>_vti_bin/client.svc/ProcessQuery'
Logging Correlation DataMediumName=Request (POST:http://siteCollection/_vti_bin/client.svc/ProcessQuery)
Authentication AuthorizationMediumNon-OAuth request. IsAuthenticated=True, UserIdentityName=0#.w|<userLoginName>, ClaimsCount=25
CSOMMediumBegin CSOM Request ManagedThreadId=103, NativeThreadId=11660
Logging Correlation DataMediumSite=/
MicrofeedsHighserviceHost_RequestExecuting
Application AuthenticationHighToken request correlation id: '3982959c-aa59-0006-d6a0-f6602b29fb27'.
Claims AuthenticationMediumUsing UPN '<userEmail>domin.au' for SMTP claim
Workflow ServicesExceptionMicrosoft.Workflow.Client.InvalidRequestException: The scope '/SharePoint/default/5df325c9-a3f0-44c3-a5f4-3e45fc780429/05ce15dc-ef4c-4796-85a9-1d6ade911125' has no workflows under it. HTTP headers received from the server - ActivityId: b66b51cc-a3d5-4032-a3df-20b1fd353bb5. NodeId: <MachineName>. Scope: /SharePoint/default/5df325c9-a3f0-44c3-a5f4-3e45fc780429/05ce15dc-ef4c-4796-85a9-1d6ade911125. Client ActivityId : d485959c-3abe-0006-d6a0-fab859e8d823. ---> System.Net.WebException: The remote server returned an error: (400) Bad Request. at Microsoft.Workflow.Common.AsyncResult.End[TAsyncResult](IAsyncResult result) at Microsoft.Workflow.Client.HttpGetResponseAsyncResult`1.End(IAsyncResult result) at Microsoft.Workflow.Client.ClientHelpers.SendRequest[T](HttpWebRequest request, T content) --- End of inner exception stack trace --- at Microsoft.Workflow.Client.ClientHelpers.SendRequest[T](HttpWebRequest request, T content) at Microsoft.Workflow.Client.WorkflowManager.StartInternal(String workflowName, WorkflowStartParameters startParameters) at Microsoft.SharePoint.WorkflowServices.FabricWorkflowManagementClient.StartInstance(String serviceGroupName, String workflowName, String monitoringParam, String activationKey, IDictionary`2 payload) at Microsoft.SharePoint.WorkflowServices.FabricWorkflowInstanceProvider.StartWorkflow(WorkflowSubscription subscription, IDictionary`2 payload) StackTrace: at Microsoft.Office.Server.Native.dll: (sig=35339f9c-8871-4ef1-9118-9c1bd0cb6598|2|microsoft.office.server.native.pdb, offset=131CE) at Microsoft.Office.Server.Native.dll: (offset=21B4D)
Unified Logging ServiceMonitorableWatson bucket parameters: SharePoint Server 2013, ULSException14, 044806dd "sharepoint server", 0f001181 "15.0.4481.0", 09d02580 "microsoft.workflow.client", 01009cc3 "1.0.40131.0", 52ef34cc "mon feb 03 16:18:52 2014", 0000005e "0000005e", 00000076 "00000076", 2e474e4c "invalidrequestexception", 0021c2c4 "ai2le"
CSOMHighException occured in scope Microsoft.SharePoint.WorkflowServices.WorkflowInstanceService.StartWorkflowOnListItem. Exception=Microsoft.Workflow.Client.InvalidRequestException: The scope '/SharePoint/default/5df325c9-a3f0-44c3-a5f4-3e45fc780429/05ce15dc-ef4c-4796-85a9-1d6ade911125' has no workflows under it. HTTP headers received from the server - ActivityId: b66b51cc-a3d5-4032-a3df-20b1fd353bb5. NodeId: <MachineName>. Scope: /SharePoint/default/5df325c9-a3f0-44c3-a5f4-3e45fc780429/05ce15dc-ef4c-4796-85a9-1d6ade911125. Client ActivityId : d485959c-3abe-0006-d6a0-fab859e8d823. ---> System.Net.WebException: The remote server returned an error: (400) Bad Request. at Microsoft.Workflow.Common.AsyncResult.End[TAsyncResult](IAsyncResult result) at Microsoft.Workflow.Client.HttpGetResponseAsyncResult`1.End(IAsyncResult result) at Microsoft.Workflow.Client.ClientHelpers.SendRequest[T](HttpWebRequest request, T content) --- End of inner exception stack trace --- at Microsoft.Workflow.Client.ClientHelpers.SendRequest[T](HttpWebRequest request, T content) at Microsoft.Workflow.Client.WorkflowManager.StartInternal(String workflowName, WorkflowStartParameters startParameters) at Microsoft.SharePoint.WorkflowServices.FabricWorkflowManagementClient.StartInstance(String serviceGroupName, String workflowName, String monitoringParam, String activationKey, IDictionary`2 payload) at Microsoft.SharePoint.WorkflowServices.FabricWorkflowInstanceProvider.StartWorkflow(WorkflowSubscription subscription, IDictionary`2 payload) at Microsoft.SharePoint.WorkflowServices.FabricWorkflowInstanceProvider.StartWorkflowOnListItem(WorkflowSubscription subscription, Int32 itemId, IDictionary`2 payload) at Microsoft.SharePoint.WorkflowServices.WorkflowInstanceServiceServerStub.StartWorkflowOnListItem_MethodProxy(WorkflowInstanceService target, XmlNodeList xmlargs, ProxyContext proxyContext) at Microsoft.SharePoint.WorkflowServices.WorkflowInstanceServiceServerStub.InvokeMethod(Object target, String methodName, XmlNodeList xmlargs, ProxyContext proxyContext, Boolean& isVoid) at Microsoft.SharePoint.Client.ServerStub.InvokeMethodWithMonitoredScope(Object target, String methodName, XmlNodeList args, ProxyContext proxyContext, Boolean& isVoid)
CSOMHighOriginal error: Microsoft.Workflow.Client.InvalidRequestException: The scope '/SharePoint/default/5df325c9-a3f0-44c3-a5f4-3e45fc780429/05ce15dc-ef4c-4796-85a9-1d6ade911125' has no workflows under it. HTTP headers received from the server - ActivityId: b66b51cc-a3d5-4032-a3df-20b1fd353bb5. NodeId: <MachineName>. Scope: /SharePoint/default/5df325c9-a3f0-44c3-a5f4-3e45fc780429/05ce15dc-ef4c-4796-85a9-1d6ade911125. Client ActivityId : d485959c-3abe-0006-d6a0-fab859e8d823. ---> System.Net.WebException: The remote server returned an error: (400) Bad Request. at Microsoft.Workflow.Common.AsyncResult.End[TAsyncResult](IAsyncResult result) at Microsoft.Workflow.Client.HttpGetResponseAsyncResult`1.End(IAsyncResult result) at Microsoft.Workflow.Client.ClientHelpers.SendRequest[T](HttpWebRequest request, T content) --- End of inner exception stack trace --- at Microsoft.Workflow.Client.ClientHelpers.SendRequest[T](HttpWebRequest request, T content) at Microsoft.Workflow.Client.WorkflowManager.StartInternal(String workflowName, WorkflowStartParameters startParameters) at Microsoft.SharePoint.WorkflowServices.FabricWorkflowManagementClient.StartInstance(String serviceGroupName, String workflowName, String monitoringParam, String activationKey, IDictionary`2 payload) at Microsoft.SharePoint.WorkflowServices.FabricWorkflowInstanceProvider.StartWorkflow(WorkflowSubscription subscription, IDictionary`2 payload) at Microsoft.SharePoint.WorkflowServices.FabricWorkflowInstanceProvider.StartWorkflowOnListItem(WorkflowSubscription subscription, Int32 itemId, IDictionary`2 payload) at Microsoft.SharePoint.WorkflowServices.WorkflowInstanceServiceServerStub.StartWorkflowOnListItem_MethodProxy(WorkflowInstanceService target, XmlNodeList xmlargs, ProxyContext proxyContext) at Microsoft.SharePoint.WorkflowServices.WorkflowInstanceServiceServerStub.InvokeMethod(Object target, String methodName, XmlNodeList xmlargs, ProxyContext proxyContext, Boolean& isVoid) at Microsoft.SharePoint.Client.ServerStub.InvokeMethodWithMonitoredScope(Object target, String methodName, XmlNodeList args, ProxyContext proxyContext, Boolean& isVoid)
MicrofeedsMediumSocialRESTExceptionProcessingHandler.DoServerExceptionProcessing - SharePoint Server Exception [Microsoft.Workflow.Client.InvalidRequestException: The scope '/SharePoint/default/5df325c9-a3f0-44c3-a5f4-3e45fc780429/05ce15dc-ef4c-4796-85a9-1d6ade911125' has no workflows under it. HTTP headers received from the server - ActivityId: b66b51cc-a3d5-4032-a3df-20b1fd353bb5. NodeId: <MachineName>. Scope: /SharePoint/default/5df325c9-a3f0-44c3-a5f4-3e45fc780429/05ce15dc-ef4c-4796-85a9-1d6ade911125. Client ActivityId : d485959c-3abe-0006-d6a0-fab859e8d823. ---> System.Net.WebException: The remote server returned an error: (400) Bad Request. at Microsoft.Workflow.Common.AsyncResult.End[TAsyncResult](IAsyncResult result) at Microsoft.Workflow.Client.HttpGetResponseAsyncResult`1.End(IAsyncResult result) at Microsoft.Workflow.Client.ClientHelpers.SendRequest[T](HttpWebRequest request, T content) --- End of inner exception stack trace --- at Microsoft.Workflow.Client.ClientHelpers.SendRequest[T](HttpWebRequest request, T content) at Microsoft.Workflow.Client.WorkflowManager.StartInternal(String workflowName, WorkflowStartParameters startParameters) at Microsoft.SharePoint.WorkflowServices.FabricWorkflowManagementClient.StartInstance(String serviceGroupName, String workflowName, String monitoringParam, String activationKey, IDictionary`2 payload) at Microsoft.SharePoint.WorkflowServices.FabricWorkflowInstanceProvider.StartWorkflow(WorkflowSubscription subscription, IDictionary`2 payload) at Microsoft.SharePoint.WorkflowServices.FabricWorkflowInstanceProvider.StartWorkflowOnListItem(WorkflowSubscription subscription, Int32 itemId, IDictionary`2 payload) at Microsoft.SharePoint.WorkflowServices.WorkflowInstanceServiceServerStub.StartWorkflowOnListItem_MethodProxy(WorkflowInstanceService target, XmlNodeList xmlargs, ProxyContext proxyContext) at Microsoft.SharePoint.WorkflowServices.WorkflowInstanceServiceServerStub.InvokeMethod(Object target, String methodName, XmlNodeList xmlargs, ProxyContext proxyContext, Boolean& isVoid) at Microsoft.SharePoint.Client.ServerStub.InvokeMethodWithMonitoredScope(Object target, String methodName, XmlNodeList args, ProxyContext proxyContext, Boolean& isVoid)]
MonitoringHighLeaving Monitored Scope (Microsoft.SharePoint.WorkflowServices.WorkflowInstanceService.StartWorkflowOnListItem). Execution Time=66.6597
MicrofeedsHighserviceHost_RequestExecuted
CSOMHighOriginal error: Microsoft.Workflow.Client.InvalidRequestException: The scope '/SharePoint/default/5df325c9-a3f0-44c3-a5f4-3e45fc780429/05ce15dc-ef4c-4796-85a9-1d6ade911125' has no workflows under it. HTTP headers received from the server - ActivityId: b66b51cc-a3d5-4032-a3df-20b1fd353bb5. NodeId: <MachineName>. Scope: /SharePoint/default/5df325c9-a3f0-44c3-a5f4-3e45fc780429/05ce15dc-ef4c-4796-85a9-1d6ade911125. Client ActivityId : d485959c-3abe-0006-d6a0-fab859e8d823. ---> System.Net.WebException: The remote server returned an error: (400) Bad Request. at Microsoft.Workflow.Common.AsyncResult.End[TAsyncResult](IAsyncResult result) at Microsoft.Workflow.Client.HttpGetResponseAsyncResult`1.End(IAsyncResult result) at Microsoft.Workflow.Client.ClientHelpers.SendRequest[T](HttpWebRequest request, T content) --- End of inner exception stack trace --- at Microsoft.Workflow.Client.ClientHelpers.SendRequest[T](HttpWebRequest request, T content) at Microsoft.Workflow.Client.WorkflowManager.StartInternal(String workflowName, WorkflowStartParameters startParameters) at Microsoft.SharePoint.WorkflowServices.FabricWorkflowManagementClient.StartInstance(String serviceGroupName, String workflowName, String monitoringParam, String activationKey, IDictionary`2 payload) at Microsoft.SharePoint.WorkflowServices.FabricWorkflowInstanceProvider.StartWorkflow(WorkflowSubscription subscription, IDictionary`2 payload) at Microsoft.SharePoint.WorkflowServices.FabricWorkflowInstanceProvider.StartWorkflowOnListItem(WorkflowSubscription subscription, Int32 itemId, IDictionary`2 payload) at Microsoft.SharePoint.WorkflowServices.WorkflowInstanceServiceServerStub.StartWorkflowOnListItem_MethodProxy(WorkflowInstanceService target, XmlNodeList xmlargs, ProxyContext proxyContext) at Microsoft.SharePoint.WorkflowServices.WorkflowInstanceServiceServerStub.InvokeMethod(Object target, String methodName, XmlNodeList xmlargs, ProxyContext proxyContext, Boolean& isVoid) at Microsoft.SharePoint.Client.ServerStub.InvokeMethodWithMonitoredScope(Object target, String methodName, XmlNodeList args, ProxyContext proxyContext, Boolean& isVoid) at Microsoft.SharePoint.Client.ClientMethodsProcessor.InvokeMethod(Object obj, String methodName, XmlNodeList xmlargs, Boolean& isVoid) at Microsoft.SharePoint.Client.ClientMethodsProcessor.ProcessMethod(XmlElement xe) at Microsoft.SharePoint.Client.ClientMethodsProcessor.ProcessOne(XmlElement xe) at Microsoft.SharePoint.Client.ClientMethodsProcessor.ProcessStatements(XmlNode xe) at Microsoft.SharePoint.Client.ClientMethodsProcessor.Process()
MicrofeedsMediumSocialRESTExceptionProcessingHandler.DoServerExceptionProcessing - SharePoint Server Exception [Microsoft.Workflow.Client.InvalidRequestException: The scope '/SharePoint/default/5df325c9-a3f0-44c3-a5f4-3e45fc780429/05ce15dc-ef4c-4796-85a9-1d6ade911125' has no workflows under it. HTTP headers received from the server - ActivityId: b66b51cc-a3d5-4032-a3df-20b1fd353bb5. NodeId: <MachineName>. Scope: /SharePoint/default/5df325c9-a3f0-44c3-a5f4-3e45fc780429/05ce15dc-ef4c-4796-85a9-1d6ade911125. Client ActivityId : d485959c-3abe-0006-d6a0-fab859e8d823. ---> System.Net.WebException: The remote server returned an error: (400) Bad Request. at Microsoft.Workflow.Common.AsyncResult.End[TAsyncResult](IAsyncResult result) at Microsoft.Workflow.Client.HttpGetResponseAsyncResult`1.End(IAsyncResult result) at Microsoft.Workflow.Client.ClientHelpers.SendRequest[T](HttpWebRequest request, T content) --- End of inner exception stack trace --- at Microsoft.Workflow.Client.ClientHelpers.SendRequest[T](HttpWebRequest request, T content) at Microsoft.Workflow.Client.WorkflowManager.StartInternal(String workflowName, WorkflowStartParameters startParameters) at Microsoft.SharePoint.WorkflowServices.FabricWorkflowManagementClient.StartInstance(String serviceGroupName, String workflowName, String monitoringParam, String activationKey, IDictionary`2 payload) at Microsoft.SharePoint.WorkflowServices.FabricWorkflowInstanceProvider.StartWorkflow(WorkflowSubscription subscription, IDictionary`2 payload) at Microsoft.SharePoint.WorkflowServices.FabricWorkflowInstanceProvider.StartWorkflowOnListItem(WorkflowSubscription subscription, Int32 itemId, IDictionary`2 payload) at Microsoft.SharePoint.WorkflowServices.WorkflowInstanceServiceServerStub.StartWorkflowOnListItem_MethodProxy(WorkflowInstanceService target, XmlNodeList xmlargs, ProxyContext proxyContext) at Microsoft.SharePoint.WorkflowServices.WorkflowInstanceServiceServerStub.InvokeMethod(Object target, String methodName, XmlNodeList xmlargs, ProxyContext proxyContext, Boolean& isVoid) at Microsoft.SharePoint.Client.ServerStub.InvokeMethodWithMonitoredScope(Object target, String methodName, XmlNodeList args, ProxyContext proxyContext, Boolean& isVoid) at Microsoft.SharePoint.Client.ClientMethodsProcessor.InvokeMethod(Object obj, String methodName, XmlNodeList xmlargs, Boolean& isVoid) at Microsoft.SharePoint.Client.ClientMethodsProcessor.ProcessMethod(XmlElement xe) at Microsoft.SharePoint.Client.ClientMethodsProcessor.ProcessOne(XmlElement xe) at Microsoft.SharePoint.Client.ClientMethodsProcessor.ProcessStatements(XmlNode xe) at Microsoft.SharePoint.Client.ClientMethodsProcessor.Process()]
CSOMHighMicrosoft.Workflow.Client.InvalidRequestException: The scope '/SharePoint/default/5df325c9-a3f0-44c3-a5f4-3e45fc780429/05ce15dc-ef4c-4796-85a9-1d6ade911125' has no workflows under it. HTTP headers received from the server - ActivityId: b66b51cc-a3d5-4032-a3df-20b1fd353bb5. NodeId: <MachineName>. Scope: /SharePoint/default/5df325c9-a3f0-44c3-a5f4-3e45fc780429/05ce15dc-ef4c-4796-85a9-1d6ade911125. Client ActivityId : d485959c-3abe-0006-d6a0-fab859e8d823. ---> System.Net.WebException: The remote server returned an error: (400) Bad Request. at Microsoft.Workflow.Common.AsyncResult.End[TAsyncResult](IAsyncResult result) at Microsoft.Workflow.Client.HttpGetResponseAsyncResult`1.End(IAsyncResult result) at Microsoft.Workflow.Client.ClientHelpers.SendRequest[T](HttpWebRequest request, T content) --- End of inner exception stack trace --- at Microsoft.Workflow.Client.ClientHelpers.SendRequest[T](HttpWebRequest request, T content) at Microsoft.Workflow.Client.WorkflowManager.StartInternal(String workflowName, WorkflowStartParameters startParameters) at Microsoft.SharePoint.WorkflowServices.FabricWorkflowManagementClient.StartInstance(String serviceGroupName, String workflowName, String monitoringParam, String activationKey, IDictionary`2 payload) at Microsoft.SharePoint.WorkflowServices.FabricWorkflowInstanceProvider.StartWorkflow(WorkflowSubscription subscription, IDictionary`2 payload) at Microsoft.SharePoint.WorkflowServices.FabricWorkflowInstanceProvider.StartWorkflowOnListItem(WorkflowSubscription subscription, Int32 itemId, IDictionary`2 payload) at Microsoft.SharePoint.WorkflowServices.WorkflowInstanceServiceServerStub.StartWorkflowOnListItem_MethodProxy(WorkflowInstanceService target, XmlNodeList xmlargs, ProxyContext proxyContext) at Microsoft.SharePoint.WorkflowServices.WorkflowInstanceServiceServerStub.InvokeMethod(Object target, String methodName, XmlNodeList xmlargs, ProxyContext proxyContext, Boolean& isVoid) at Microsoft.SharePoint.Client.ServerStub.InvokeMethodWithMonitoredScope(Object target, String methodName, XmlNodeList args, ProxyContext proxyContext, Boolean& isVoid) at Microsoft.SharePoint.Client.ClientMethodsProcessor.InvokeMethod(Object obj, String methodName, XmlNodeList xmlargs, Boolean& isVoid) at Microsoft.SharePoint.Client.ClientMethodsProcessor.ProcessMethod(XmlElement xe) at Microsoft.SharePoint.Client.ClientMethodsProcessor.ProcessOne(XmlElement xe) at Microsoft.SharePoint.Client.ClientMethodsProcessor.ProcessStatements(XmlNode xe) at Microsoft.SharePoint.Client.ClientMethodsProcessor.Process()
CSOMHighRequestMessage: <Request xmlns="http://schemas.microsoft.com/sharepoint/clientquery/2009" SchemaVersion="15.0.0.0" LibraryVersion="15.0.0.0" ApplicationName="Javascript Library"><Actions><ObjectPath Id="13" ObjectPathId="12" /><Method Name="StartWorkflowOnListItem" Id="14" ObjectPathId="12"><Parameters><Parameter ObjectPathId="8" /><Parameter Type="String">2</Parameter><Parameter Type="Dictionary" /></Parameters></Method></Actions><ObjectPaths><Identity Id="8" Name="50e607f0-ceab-4a8c-90c5-81e2f2ba78d9:0fa6047a-6101-4aa8-8b7b-20e4e155fa4d" /><Method Id="12" ParentId="4" Name="GetWorkflowInstanceService" /><Constructor Id="4" TypeId="{4ccc7f0e-bf7e-4477-999c-6458a73d0039}"><Parameters><Parameter ObjectPathId="2" /></Parameters></Constructor><Property Id="2" ParentId="0" Name="Web" /><StaticProperty Id="0" TypeId="{3747adcd-a3c3-41b9-bfab-4a64dd2f1e0a}" Name="Current" /></ObjectPaths></Request>
CSOMHighOriginal error: Microsoft.Workflow.Client.InvalidRequestException: The scope '/SharePoint/default/5df325c9-a3f0-44c3-a5f4-3e45fc780429/05ce15dc-ef4c-4796-85a9-1d6ade911125' has no workflows under it. HTTP headers received from the server - ActivityId: b66b51cc-a3d5-4032-a3df-20b1fd353bb5. NodeId: <MachineName>. Scope: /SharePoint/default/5df325c9-a3f0-44c3-a5f4-3e45fc780429/05ce15dc-ef4c-4796-85a9-1d6ade911125. Client ActivityId : d485959c-3abe-0006-d6a0-fab859e8d823. ---> System.Net.WebException: The remote server returned an error: (400) Bad Request. at Microsoft.Workflow.Common.AsyncResult.End[TAsyncResult](IAsyncResult result) at Microsoft.Workflow.Client.HttpGetResponseAsyncResult`1.End(IAsyncResult result) at Microsoft.Workflow.Client.ClientHelpers.SendRequest[T](HttpWebRequest request, T content) --- End of inner exception stack trace --- at Microsoft.Workflow.Client.ClientHelpers.SendRequest[T](HttpWebRequest request, T content) at Microsoft.Workflow.Client.WorkflowManager.StartInternal(String workflowName, WorkflowStartParameters startParameters) at Microsoft.SharePoint.WorkflowServices.FabricWorkflowManagementClient.StartInstance(String serviceGroupName, String workflowName, String monitoringParam, String activationKey, IDictionary`2 payload) at Microsoft.SharePoint.WorkflowServices.FabricWorkflowInstanceProvider.StartWorkflow(WorkflowSubscription subscription, IDictionary`2 payload) at Microsoft.SharePoint.WorkflowServices.FabricWorkflowInstanceProvider.StartWorkflowOnListItem(WorkflowSubscription subscription, Int32 itemId, IDictionary`2 payload) at Microsoft.SharePoint.WorkflowServices.WorkflowInstanceServiceServerStub.StartWorkflowOnListItem_MethodProxy(WorkflowInstanceService target, XmlNodeList xmlargs, ProxyContext proxyContext) at Microsoft.SharePoint.WorkflowServices.WorkflowInstanceServiceServerStub.InvokeMethod(Object target, String methodName, XmlNodeList xmlargs, ProxyContext proxyContext, Boolean& isVoid) at Microsoft.SharePoint.Client.ServerStub.InvokeMethodWithMonitoredScope(Object target, String methodName, XmlNodeList args, ProxyContext proxyContext, Boolean& isVoid) at Microsoft.SharePoint.Client.ClientMethodsProcessor.InvokeMethod(Object obj, String methodName, XmlNodeList xmlargs, Boolean& isVoid) at Microsoft.SharePoint.Client.ClientMethodsProcessor.ProcessMethod(XmlElement xe) at Microsoft.SharePoint.Client.ClientMethodsProcessor.ProcessOne(XmlElement xe) at Microsoft.SharePoint.Client.ClientMethodsProcessor.ProcessStatements(XmlNode xe) at Microsoft.SharePoint.Client.ClientMethodsProcessor.Process()
MicrofeedsMediumSocialRESTExceptionProcessingHandler.DoServerExceptionProcessing - SharePoint Server Exception [Microsoft.Workflow.Client.InvalidRequestException: The scope '/SharePoint/default/5df325c9-a3f0-44c3-a5f4-3e45fc780429/05ce15dc-ef4c-4796-85a9-1d6ade911125' has no workflows under it. HTTP headers received from the server - ActivityId: b66b51cc-a3d5-4032-a3df-20b1fd353bb5. NodeId: <MachineName>. Scope: /SharePoint/default/5df325c9-a3f0-44c3-a5f4-3e45fc780429/05ce15dc-ef4c-4796-85a9-1d6ade911125. Client ActivityId : d485959c-3abe-0006-d6a0-fab859e8d823. ---> System.Net.WebException: The remote server returned an error: (400) Bad Request. at Microsoft.Workflow.Common.AsyncResult.End[TAsyncResult](IAsyncResult result) at Microsoft.Workflow.Client.HttpGetResponseAsyncResult`1.End(IAsyncResult result) at Microsoft.Workflow.Client.ClientHelpers.SendRequest[T](HttpWebRequest request, T content) --- End of inner exception stack trace --- at Microsoft.Workflow.Client.ClientHelpers.SendRequest[T](HttpWebRequest request, T content) at Microsoft.Workflow.Client.WorkflowManager.StartInternal(String workflowName, WorkflowStartParameters startParameters) at Microsoft.SharePoint.WorkflowServices.FabricWorkflowManagementClient.StartInstance(String serviceGroupName, String workflowName, String monitoringParam, String activationKey, IDictionary`2 payload) at Microsoft.SharePoint.WorkflowServices.FabricWorkflowInstanceProvider.StartWorkflow(WorkflowSubscription subscription, IDictionary`2 payload) at Microsoft.SharePoint.WorkflowServices.FabricWorkflowInstanceProvider.StartWorkflowOnListItem(WorkflowSubscription subscription, Int32 itemId, IDictionary`2 payload) at Microsoft.SharePoint.WorkflowServices.WorkflowInstanceServiceServerStub.StartWorkflowOnListItem_MethodProxy(WorkflowInstanceService target, XmlNodeList xmlargs, ProxyContext proxyContext) at Microsoft.SharePoint.WorkflowServices.WorkflowInstanceServiceServerStub.InvokeMethod(Object target, String methodName, XmlNodeList xmlargs, ProxyContext proxyContext, Boolean& isVoid) at Microsoft.SharePoint.Client.ServerStub.InvokeMethodWithMonitoredScope(Object target, String methodName, XmlNodeList args, ProxyContext proxyContext, Boolean& isVoid) at Microsoft.SharePoint.Client.ClientMethodsProcessor.InvokeMethod(Object obj, String methodName, XmlNodeList xmlargs, Boolean& isVoid) at Microsoft.SharePoint.Client.ClientMethodsProcessor.ProcessMethod(XmlElement xe) at Microsoft.SharePoint.Client.ClientMethodsProcessor.ProcessOne(XmlElement xe) at Microsoft.SharePoint.Client.ClientMethodsProcessor.ProcessStatements(XmlNode xe) at Microsoft.SharePoint.Client.ClientMethodsProcessor.Process()]
CSOMMediumEnd CSOM Request. Duration=73 milliseconds.
Request ManagementHigh[Forced due to logging gap, cached @ 05/29/2014 14:15:19.01, Original Level: Verbose] Size of data: '{0}' bytes
Request ManagementHigh[Forced due to logging gap, Original Level: Verbose] Proxy response duration: WFE '{0}', RM '{1}'
Micro TraceMediumMicro Trace Tags: 0 nasq,2 agb9s,0 agw10,5 aizmk,14 b4ly,13 b4ly,24 b4ly,3 aiv3l,0 airzh,10 ahjq1,0 agmjp,0 aizmo,0 b4ly,0 aizmj,0 agmjp,0 aizmo,0 afxv7,0 aiv4i,0 agmjp,0 aizmo,0 agw11
MonitoringMediumLeaving Monitored Scope (Request (POST:http://siteCollection/_vti_bin/client.svc/ProcessQuery)). Execution Time=78.6582
Micro TraceMediumMicro Trace Tags: 0 nasq,0 ai2q3,0 adc7u
MonitoringMediumLeaving Monitored Scope (Request (POST:http://siteCollection/_vti_bin/client.svc/ProcessQuery)). Execution Time=80.8053

Monday, May 26, 2014

SharePoint Incoming e-mail - show the sender as a column



Scenario: In a SharePoint email enabled list, receive emails from an external sender and display the from address as a column.

For email enabled lists, there is a column called e-mail sender as per extract from MSDN article below. The tricky part is that it does not show up as a column in the library settings. Just go to "Modify this view" and select these columns to be shown.

The following fields are mapped from an e-mail message to a list: E-Mail Sender, E-Mail To, E-Mail Cc, E-Mail Subject, Body of the message, and attachments.

http://office.microsoft.com/en-au/sharepoint-server-help/introduction-to-incoming-e-mail-HA010082306.aspx


Monday, May 12, 2014

SharePoint Survey - Deleting a question without deleting responses.


Unfortunately, while deleting a question in SharePoint 2010 Survey deletes all responses for the question too.


This question and Its responses will be permanently deleted. Are you   sure you want to delete this question?

How to preserve the responses for a question and still retire the question?

Add the new questions that you want to include in the survey.
Then using SPD, create new forms for new item, edit item and display item. In the "new item" and "edit item" pages, hide the retired questions by applying the style attribute style="display:none" to the row elements. Now in the view item page, either hide or mark the question as retired.