Solved

Sharepoint 2013 -> Workflow Error logs

Posted on 2014-01-23
5
3,271 Views
Last Modified: 2014-02-09
Hello, Wondering if someone can help with SharePoint Workflow Manager installation.

I have followed the instructions from the Microsoft website and all seemed to go well.

When I check SharePoint Manage applications and lookup the workflow services status it reports back Workflow is connected, and in SPD2013 I am able to select 2013 workflows.

 If I browse to the local on IIS I get this page returned:

 <ScopeInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/workflow/2012/xaml/activities">
  <ChildScopeCount>1</ChildScopeCount>
  <DefaultWorkflowConfiguration />
  <Description>Root Scope</Description>
  <LastModified>2014-01-18T13:41:38.14</LastModified>
  <LastRevised>2014-01-18T13:41:38.14</LastRevised>
  <Path>/</Path>
- <SecurityConfigurations>
- <ScopedSecurityConfiguration i:type="WindowsSecurityConfiguration">
  <Name>Microsoft.Workflow.Management.Security.WindowsSecurityConfiguration</Name>
  <WorkflowAdminGroupName>BUILTIN\Administrators</WorkflowAdminGroupName>
  </ScopedSecurityConfiguration>
  </SecurityConfigurations>
  <Status>Active</Status>
  </ScopeInfo>

If I create a workflow on SPD2013 and try to publish it, it says there has been an error.

In the workflow operation logs I get this message, can anyone help me with fixing the workflows 2013?

Service Bus exception swallowed at location NamespaceSender.SendMessageRetryAsyncResult.HandleException. System.OperationCanceledException: The token provider was unable to provide a security token while accessing 'https://sharepointserver:9355/WorkflowDefaultNamespace/$STS/Windows/'. Token provider returned message: 'Unable to connect to the remote server'. ---> System.UnauthorizedAccessException: The token provider was unable to provide a security token while accessing 'https://sharepointserver:9355/WorkflowDefaultNamespace/$STS/Windows/'. Token provider returned message: 'Unable to connect to the remote server'. ---> System.IdentityModel.Tokens.SecurityTokenException: The token provider was unable to provide a security token while accessing 'https://sharepointserver:9355/WorkflowDefaultNamespace/$STS/Windows/'. Token provider returned message: 'Unable to connect to the remote server'. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 192.168.1.37:9355
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
   at System.Net.HttpWebRequest.GetRequestStream()
   at Microsoft.ServiceBus.TokenProviderHelper.GetWindowsAccessTokenCore(IEnumerator`1 stsUris, Func`2 uriBuilder, String requestToken, TimeSpan timeout, DateTime& expiresIn)
   --- End of inner exception stack trace ---
   at Microsoft.ServiceBus.TokenProviderHelper.ThrowException(Uri requestUri, WebException exception)
   at Microsoft.ServiceBus.TokenProviderHelper.GetWindowsAccessTokenCore(IEnumerator`1 stsUris, Func`2 uriBuilder, String requestToken, TimeSpan timeout, DateTime& expiresIn)
   at Microsoft.ServiceBus.WindowsTokenProvider.OnBeginGetToken(String appliesTo, String action, TimeSpan timeout, AsyncCallback callback, Object state)
   at Microsoft.ServiceBus.TokenProvider.GetTokenAsyncResult..ctor(TokenProvider tokenProvider, String appliesTo, String action, Boolean bypassCache, TimeSpan timeout, AsyncCallback callback, Object state)
   at Microsoft.ServiceBus.TokenProvider.BeginGetToken(String appliesTo, String action, Boolean bypassCache, TimeSpan timeout, AsyncCallback callback, Object state)
   at Microsoft.ServiceBus.TokenProviderUtility.GetMessagingToken(ITokenProvider tokenProvider, Uri baseAddress, String appliesTo, String action, Boolean bypassCache, TimeSpan timeout)
   --- End of inner exception stack trace ---

Server stack trace:
   at Microsoft.ServiceBus.TokenProviderUtility.GetMessagingToken(ITokenProvider tokenProvider, Uri baseAddress, String appliesTo, String action, Boolean bypassCache, TimeSpan timeout)
   at Microsoft.ServiceBus.Messaging.Sbmp.SbmpMessageCreator.GetAuthorizationHeader(String action)
   at Microsoft.ServiceBus.Messaging.Sbmp.SbmpMessageCreator.CreateWcfMessageInternal(String action, Object body, Boolean includeToken)
   at Microsoft.ServiceBus.Messaging.Sbmp.SbmpMessageSender.GetOverheadSize()
   at Microsoft.ServiceBus.Messaging.Sbmp.SbmpMessageSender..ctor(String path, SbmpMessagingFactory messagingFactory, SbmpMessageCreator messageCreator, LinkInfo linkInfo)
   at Microsoft.ServiceBus.Messaging.Sbmp.CreateSenderLinkSettings..ctor(SbmpMessagingFactory messagingFactory, String entityName, Nullable`1 entityType, String transferDestinationEntityName)
   at Microsoft.ServiceBus.Messaging.Sbmp.SbmpMessagingFactory.OnBeginCreateMessageSender(String transferDestinationEntityName, String viaEntityName, TimeSpan timeout, AsyncCallback callback, Object state)
   at Microsoft.ServiceBus.Messaging.MessagingFactory.CreateMessageSenderAsyncResult.<GetAsyncSteps>b__19(CreateMessageSenderAsyncResult thisPtr, TimeSpan t, AsyncCallback c, Object s)
   at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.EnumerateSteps(CurrentThreadType state)
   at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.Start()

Exception rethrown at [0]:
   at Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
   at Microsoft.ServiceBus.Messaging.MessagingFactory.EndCreateMessageSender(IAsyncResult result)
   at Microsoft.Activities.Hosting.ServiceBusUtilities.Isolate[TResult](Func`1 callback, Boolean preserveExceptionMessage)
   --- End of inner exception stack trace ---
   at Microsoft.Activities.Hosting.ServiceBusUtilities.Isolate[TResult](Func`1 callback, Boolean preserveExceptionMessage)
   at Microsoft.Workflow.Management.ServiceBusNamespaceSender.CreateMessageSenderAsyncResult.OnMessageSenderCreated(IAsyncResult result)
   at Microsoft.Workflow.Common.AsyncResult.SyncContinue(IAsyncResult result)
   at Microsoft.Workflow.Management.ServiceBusNamespaceSender.CreateMessageSenderAsyncResult..ctor(ServiceBusNamespaceSender owner, String topicPath, EventTraceActivity traceId, AsyncCallback callback, Object state)
   at Microsoft.Workflow.Management.ServiceBusNamespaceSender.OnBeginCreateBatch(String scopePath, EventTraceActivity traceId, AsyncCallback callback, Object state)
   at Microsoft.Activities.Hosting.NamespaceSender.SendMessageRetryAsyncResult.CreateAsyncResult(AsyncCallback callback, Object state)
   at Microsoft.Workflow.Common.BackoffRetryAsyncResult.IsolateWithRetry(IAsyncResult result)


Thank you in advance.

Regards

Darren
0
Comment
Question by:DarrenEley
  • 4
5 Comments
 
LVL 38

Expert Comment

by:Justin Smith
ID: 39803101
What is the topology?  Single server?  You may need to disable Loopback check.

Click Start, click Run, type regedit, and then click OK.
In Registry Editor, locate and then click the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
Right-click Lsa, point to New, and then click DWORD Value.
Type DisableLoopbackCheck, and then press ENTER.
Right-click DisableLoopbackCheck, and then click Modify.
In the Value data box, type 1, and then click OK.
0
 

Author Comment

by:DarrenEley
ID: 39803128
Hello, Yes it is a single server. I will give it a try now.

Thank you, I will post the results asap.

Regards

Darren
0
 

Author Comment

by:DarrenEley
ID: 39803143
I had a sneaky suspicion that I had already done, it, and confirmed. Its already there. :(

Regards

Darren
0
 

Accepted Solution

by:
DarrenEley earned 0 total points
ID: 39832825
I uninstalled it all, and then followed the steps in this guide, and it all worked perfectly.

http://lennytech.wordpress.com/2013/06/02/configuring-sharepoint-2013-to-use-workflow-manager-1-0/

Darren
0
 

Author Closing Comment

by:DarrenEley
ID: 39845115
Reading a lot of articles on installing Workflow manager, I found that this solution was the best to get the service up and running.

Was not my solution.

Darren
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For SharePoint sites, particularly public-facing ones, there are times when adding JavaScript, Meta Tags, CSS Styles or other content to the page <head> section is more practical than modifying master pages.  For instance, you could add the jQuery l…
Microsoft SharePoint Foundation 2010 and Microsoft SharePoint Server 2010 do not offer the option to configure the location of the SharePoint diagnostic trace log files during installation.  This can, however, be configured through Central Administr…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question