[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Sharepoint 2013 -> Workflow Error logs

Posted on 2014-01-23
5
Medium Priority
?
3,580 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

There is one common problem that all we SharePoint developers share: custom solution deployment. This topic can't be covered fully in this short article, so all I want to do in this one is to review it from a development-to-operations perspectiv…
In case you ever have to remove a faulty web part from a page , add the following to the end of the page url ?contents=1
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

650 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