- Register Spworkflowservice Unable To Connect To The Remote Service At A
- Register-spworkflowservice Unable To Connect To The Remote Service At Http
I am unable to get workflow manager to register in my farm, I have installed the workflow manager on the application server and the client on the 2 WFE's.
The Workflow mgt app pool is running, workflow mgt site is running, the service application proxy is started, the workflow timer service is started, the workflow manager backend service is running in the service msc, the sercurity token service application
is running, but I am unable to get the service to register.
I am also able to open the URL for the service in a browser running as an admin http://server:12291/ and see the XML.
when I run Get-WFFarmstatus it shows the frontend and backend service status as running.
the error I get is
Register-SPWorkflowService : Failed to query the OAuth S2S metadata endpoint at URI 'http://site collection URL/_layouts/15/metadata/json/1'. Error details: 'An error occurred while sending the request.' HTTP headers received from the server - ActivityID:
51f844c9-a6b7-40a1-a381-9972506beb0c. NodeId: 20sp7. Scope: /SharePoint. Client ActivityId: 32ea0817-17b8-46a2-8418-bba5438b1a20.
The service account is a local admin, it has full control over the web application.
I also ran the
$config = (Get-SpSecurityTokenServiceConfig)
$config.AllowOAuthOverHttp = $true
$config.AllowMetadataOverHtto = $true
$config.Update()
before running the register command still getting the same error.
I have disconnected the workflowmanager from the farm and reconnected it, even uninstalled it, the service bus and workflow client and deleted all the DB's and reinstalled it. Everything seems to be running just will not allow me to register it.
Please try to browse the following URL and see if it gives you option to download 1.json
http://siteurl/_layouts/15/metadata/json/1
Please share entries found in ULS Logs while running the command.
Also try using -Force switch while running the command and check the behavior.
Check below link:
http://consulting.risualblogs.com/blog/2013/05/24/sharepoint-2013-and-workflow-manager-farms/
http://sharepointdeal.wordpress.com/2013/07/08/register-spworkflowservice-failed-to-query-the-oauth-s2s-metadata-error/
Thanks, Bravo
Similar Messages
I have successfully installed Workflow Manager (and latest updates) and all required components on the same dev server as sharepoint 2013 sp1 on a server 2008 r2. SharePoint is functioning properly with no errors, When I run get-wffarmstatus everything
shows as running with no errors in the logs. I can browse to both workflow management sites (http://localhost:12991 and
https://localhost:12990 and receive the expected xml, however, when I run the cmd in the sharepoint shell
Register-SPWorkflowService -spsite http://devsites01 -workflowhosturi
http://spdevserver01:12991 -allowoauthhttp
I get the following error:
Register-SPWorkflowService -spsite http://devsites01 -
workflowhosturi http://spdevserver01:12991 -allowoauthhttp
Register-SPWorkflowService : Unable to connect to the remote service at
http://spdevserver01:12991/SharePoint/. See InnerException for more details.
Client ActivityId : eaedfcf9-9172-4756-a285-22dbaf929ab9.
At line:1 char:1
+ Register-SPWorkflowService -spsite http://devsites01 -workflowhosturi
http:/ ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
+ CategoryInfo : InvalidData: (Microsoft.Share...WorkflowService:
RegisterSPWorkflowService) [Register-SPWorkflowService], WorkflowEndpointN
otFoundException
+ FullyQualifiedErrorId : Microsoft.SharePoint.WorkflowServices.PowerShell
.RegisterSPWorkflowService
Here is the error from the ULS log:
Microsoft.Workflow.Client.WorkflowEndpointNotFoundException: Unable to connect to the remote service
at http://spdevserver01:12991/SharePoint/. See InnerException for more details. Client ActivityId : eaedfcf9-9172-4756-a285-22dbaf929ab9. ---> 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 [::1]:12991
at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
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 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.WorkflowManagementClient.SendRequest[T](HttpWebRequest request, T content)
at Microsoft.Workflow.Client.ScopeManager.Get()
at Microsoft.SharePoint.WorkflowServices.WorkflowServerPairingContext.RegisterFarm()
at Microsoft.SharePoint.WorkflowServices.PowerShell.RegisterSPWorkflowService.InternalProcessRecord()
at Microsoft.SharePoint.PowerShell.SPCmdlet.ProcessRecord()
If browse to http://localhost:12291/sharepoint I get a 404 page not found error. I have compared the configuration with this dev server vs my functioning lab server and can't seem to determine what the
difference is that is causing this error, nor have I found much in bing/google searches for this specific error. Has anyone encountered this or have any suggestions on resolving this issue?http://sharepoint.stackexchange.com/questions/90933/no-connection-between-sp2013-and-workflow-manger
do you have SharePoint Developer tools Preview for VS 12 installed on the server, if yes? you have to uninstall it, reboot it and run the register command again.
SharePoint 2013 Workflow Manager error when I register workflow service
Also make sure ports are not blocked by firewall. and try to browse the endpoint URI url in the browser.
If this helped you resolve your issue, please mark it AnsweredHi,
Please suggest the ways to configure Workflow manger in Project server 2013 where PWA using FBA
we have tried for below situation, but no luck!!
The workflow manager configured using windows login account, we are associating a FBA site with workflow manager which is
Register-SPWorkflowService -SPSite 'http://FBAsite' -WorkflowHostUri 'http://workflowmanagerapplication:12291'
Following steps are taken care while creating workflow.
We have added users to the user service profile services
User profile synchronization is started
The user by whom we are logged is available in User Profile list
we are not running workflow with share point system account
Final step full synchronization of User Profile Application
Below the error we are getting when workflow run
Resume this workflow
RequestorId: 879e36f9-9db0-3c16-0000-000000000000. Details: An unhandled exception occurred during the execution of the workflow instance. Exception details: System.ApplicationException: HTTP 401 {'Transfer-Encoding':['chunked'],'X-SharePointHealthScore':['0'],'SPClientServiceRequestDuration':['440'],'SPRequestGuid':['879e36f9-9db0-3c16-a91c-356d29becb34'],'request-id':['879e36f9-9db0-3c16-a91c-356d29becb34'],'X-FRAME-OPTIONS':['SAMEORIGIN'],'MicrosoftSharePointTeamServices':['15.0.0.4605'],'X-Content-Type-Options':['nosniff'],'X-MS-InvokeApp':['1;
RequireReadOnly'],'Cache-Control':['max-age=0, private'],'Date':['Sun, 15 Jun 2014 12:44:03 GMT'],'Server':['Microsoft-IIS/7.5'],'WWW-Authenticate':['NTLM'],'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)Hi Mafeer,
Since this issue is related to Project Server, I would like to recommend you to post there for more effective support:
Project Server General Questions and Answers
Thanks for your understanding.Hi
I have SharePoint 2013 farm and installed Workflow Manager 1.0 and configured it and have been runing fine for several months. I upgraded this farm to SP 1 and then started having some issue with publish WF 2013 with task in SPD.
I re-Registered using Register-SPWorkflowService command and that fixed the problem and WorkFlow Manager running again OK. It has been couple of monthle and now I am having the problem again but with a different error on SPD
So doing what I did before, I tried to re-Registered WFM but this time getting the error below
Register-SPWorkflowService : The data or messaging layer is unavailable. Please retry
after 300 seconds.
The only possible resolution that I found is to add the -AllowOAuthHttp in my Register-SPWorkflowService cmdlet but that didnot not resolve the problem. I tried that anyway eventhough we do not allow http.
I did some checking for status and configuration and Get-SBFarmstatus showing all WFM services are running OK
I browsed to the WFM server https://servername:12290 and get the same error
- <Errorxmlns:i='http://www.w3.org/2001/XMLSchema-instance'>
<Code>UnexpectedError</Code>
<Message>The data or messaging layer is unavailable. Please retry after 300
seconds.</Message>
</Error>
If anyone have advise / suggestion to resolve this issue, please share
Thanks in advance for all comments
SwanlHi Swanl,
Please refer to the article below for troubleshooting actions for workflow manager:
http://blogs.msdn.com/b/vincent_runge/archive/2014/01/07/troubleshooting-actions-for-sharepoint-2013-workflows.aspx
Moreover, activate workflow manager logs and see if there is any error message that could be help.
Regards,
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected] .
Rebecca Tu
TechNet Community SupportI have installed the workflow manager successfully. However, when I try to run Register-SPWorkflowService I get a 401 Unauthorized error. I am running SharePoint 2013 Management Shell as administrator.
When I use internet explorer to browse to https://FQDNofServer:12290 I get prompted for my password 3 times and then get the Not Authorized Error here as well. I have tried this from the local host as well as remote machines with the same result therefore,
I don't think I need to disable loopback check.
My user is a member of the Workflow AdminGroup as well as a local admin, farm administrator and I also added my account as an administrator for the Workflow Service Application in Central Administration. I also tried giving the workflow service account full
read on the web application.
I cannot find anything in the ULS logs or windows event viewer logs when the login fails. Any help would be appreciated.
Thank You.Hi,
Glad to hear that you solve this issue, thanks for your sharing.
Thanks,
Linda Li
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Linda Li
TechNet Community SupportI am trying to install Workflow Manager 1.0 on our SharePoint Server 2013 which is On-Prem installation. The SharePoint Server 2013 is functioning correctly. During the installation of Workflow Manager 1.0 on the same SharePoint 2013 server, I receive the
following message: 'Port number 9355 specified for HTTPS Port is blocked' I have checked our firewall Inbound rules and this port is not blocked.
Any reason why this could be happening or did I miss anything?
Thanks Snehal H.Rana SharePoint ConsultantI am happy to inform you that I was able to resolve this error. I configured this on different ports other than 9355. We need to modify 2 files called 'ClusterManifest.1.0.xml' and 'ClusterManifest.current.xml' in c:Program
FilesWindows FabricBin. They were pointing to older FQDN under following node:
<NodeList>
<Node NodeName='yourserverfqdn' IPAddressOrFQDN='yourserverfqdn' IsSeedNode='true' NodeTypeRef='DefaultNodeType' />
</NodeList>
These files won't let you edit directly in notepad so you will need to make a copy of these files (just in case). Open up the notepad as 'Run As Administrator'. Drag these files to the notepad. After you are done editing, save these as original
names but make sure that the extension is .xml
You will also need to do IISReset
That did the trick for me.
Thanks Snehal H.Rana SharePoint ConsultantHello everyone,
I
have successfully installed Workflow Manager 1.0 (and its prerequisites) on my Server 2008 R2 SP1 machine that is hosting Sharepoint 2013. I attempt to go into the Workflow Manager Configuration. That comes up and asks me if I want to Create
new farm with Default Settings, New Farm with custom settings, or existing farm. I've tried both Default settings AND Custom settings.
When
the configuration wizard comes up, I attempt to fill out the necessary information. It seems to connect to the SQL server without a problem. I only run into an issue when setting the USER ID. The program totally freezes up and force closes.
I
have verified that the USERID is in the correct format and tried multiple different formats. The problem is that the moment I move the cursor from the USERID field to ANY other field, the program force closes. I'm not able to hit submit, I'm not
able to change any other options. The moment USERID is manipulated or the cursor LEAVES the USERID field, the program force closes. It won't even allow me to put in a password before it force closes.
Customer
domain is running in Windows Server 2003 Enterprise Edittion SP2.
Any
ideas?
I have installed also cumulative update to avoid crash but still I am getting force to close workflow wizard. I have used users which are already added in administrator groups.
We are using 3 tier architecture for Sharepoint 2013.
Also we have made Alias of Domain controller. Eg:-Alias is 'labs' for domain 'xyz.ab.com'.
And we are using labsspadmin and labsspservice for Workflow Manager Configuration 1.0
Is there any issue with Domain Alias 'labs' as Workflow gives error 'Specified RunAs account is invalid' or 'Force close the application'.
I
have copied the errors from event viewer below:
APPLICATION
ERROR
Faulting
application name: Microsoft.Workflow.Deployment.ConfigWizard.exe, version: 1.0.20922.0, time stamp: 0x505e1b30
Faulting module name: KERNELBASE.dll, version: 6.1.7601.17965,
time stamp: 0x506dcae6
Exception code: 0xe0434352
Fault offset: 0x000000000000bccd
Faulting process id: 0x17f8
Faulting application start time: 0x01cddee198ece72e
Faulting application path: C:Program FilesWorkflow Manager1.0Microsoft.Workflow.Deployment.ConfigWizard.exe
Faulting module path: C:Windowssystem32KERNELBASE.dll
Report Id: 22ab8b69-4ad5-11e2-af8f-005056965915
.NET
Runtime Error
Application: Microsoft.Workflow.Deployment.ConfigWizard.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Runtime.InteropServices.COMException
Stack:
at System.DirectoryServices.AccountManagement.PrincipalContext.DoLDAPDirectoryInitNoContainer()
at System.DirectoryServices.AccountManagement.PrincipalContext.DoDomainInit()
at System.DirectoryServices.AccountManagement.PrincipalContext.Initialize()
at System.DirectoryServices.AccountManagement.PrincipalContext.get_QueryCtx()
at System.DirectoryServices.AccountManagement.Principal.FindByIdentityWithTypeHelper(System.DirectoryServices.AccountManagement.PrincipalContext, System.Type, System.Nullable`1<System.DirectoryServices.AccountManagement.IdentityType>, System.String,
System.DateTime)
at System.DirectoryServices.AccountManagement.UserPrincipal.FindByIdentity(System.DirectoryServices.AccountManagement.PrincipalContext, System.String)
at Microsoft.ServiceBus.Commands.Common.SecurityHelper.IsUserValid(System.DirectoryServices.AccountManagement.PrincipalContext, System.String)
at Microsoft.ServiceBus.Commands.Common.SecurityHelper.IsDomainUserValid(System.String, System.String)
at Microsoft.ServiceBus.Commands.Common.ValidateUserAttribute.Validate(System.String)
at Microsoft.Deployment.ConfigWizard.UICommon.AccountDetailsViewModel.ValidateDomainUser()
at Microsoft.Deployment.ConfigWizard.UICommon.AccountDetailsControl.UserIdTextBox_LostFocus(System.Object, System.Windows.RoutedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean)
at System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject, System.Windows.RoutedEventArgs)
at System.Windows.Controls.Primitives.TextBoxBase.OnLostFocus(System.Windows.RoutedEventArgs)
at System.Windows.UIElement.IsFocused_Changed(System.Windows.DependencyObject, System.Windows.DependencyPropertyChangedEventArgs)
at System.Windows.DependencyObject.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs)
at System.Windows.FrameworkElement.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs)
at System.Windows.Controls.TextBox.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs)
at System.Windows.DependencyObject.NotifyPropertyChange(System.Windows.DependencyPropertyChangedEventArgs)
at System.Windows.DependencyObject.UpdateEffectiveValue(System.Windows.EntryIndex, System.Windows.DependencyProperty, System.Windows.PropertyMetadata, System.Windows.EffectiveValueEntry, System.Windows.EffectiveValueEntry ByRef, Boolean, Boolean,
System.Windows.OperationType)
at System.Windows.DependencyObject.ClearValueCommon(System.Windows.EntryIndex, System.Windows.DependencyProperty, System.Windows.PropertyMetadata)
at System.Windows.DependencyObject.ClearValue(System.Windows.DependencyPropertyKey)
at System.Windows.Input.FocusManager.OnFocusedElementChanged(System.Windows.DependencyObject, System.Windows.DependencyPropertyChangedEventArgs)
at System.Windows.DependencyObject.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs)
at System.Windows.FrameworkElement.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs)
at System.Windows.DependencyObject.NotifyPropertyChange(System.Windows.DependencyPropertyChangedEventArgs)
at System.Windows.DependencyObject.UpdateEffectiveValue(System.Windows.EntryIndex, System.Windows.DependencyProperty, System.Windows.PropertyMetadata, System.Windows.EffectiveValueEntry, System.Windows.EffectiveValueEntry ByRef, Boolean, Boolean,
System.Windows.OperationType)
at System.Windows.DependencyObject.SetValueCommon(System.Windows.DependencyProperty, System.Object, System.Windows.PropertyMetadata, Boolean, Boolean, System.Windows.OperationType, Boolean)
at System.Windows.DependencyObject.SetValue(System.Windows.DependencyProperty, System.Object)
at System.Windows.FrameworkElement.OnGotKeyboardFocus(System.Object, System.Windows.Input.KeyboardFocusChangedEventArgs)
at System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate, System.Object)
at System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean)
at System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject, System.Windows.RoutedEventArgs)
at System.Windows.UIElement.RaiseTrustedEvent(System.Windows.RoutedEventArgs)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.KeyboardDevice.ChangeFocus(System.Windows.DependencyObject, Int32)
at System.Windows.Input.KeyboardDevice.Focus(System.Windows.DependencyObject, Boolean, Boolean, Boolean)
at System.Windows.Input.KeyboardDevice.Focus(System.Windows.IInputElement)
at System.Windows.UIElement.Focus()
at System.Windows.Input.KeyboardNavigation.Navigate(System.Windows.DependencyObject, System.Windows.Input.TraversalRequest, System.Windows.Input.ModifierKeys, System.Windows.DependencyObject)
at System.Windows.Input.KeyboardNavigation.Navigate(System.Windows.DependencyObject, System.Windows.Input.Key, System.Windows.Input.ModifierKeys)
at System.Windows.Input.KeyboardNavigation.ProcessInput(System.Windows.Input.InputEventArgs)
at System.Windows.Input.InputManager.RaiseProcessInputEventHandlers(System.Windows.Input.ProcessInputEventHandler, System.Windows.Input.ProcessInputEventArgs)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputManager.ProcessInput(System.Windows.Input.InputEventArgs)
at System.Windows.Interop.HwndKeyboardInputProvider.ReportInput(IntPtr, System.Windows.Input.InputMode, Int32, System.Windows.Input.RawKeyboardActions, Int32, Boolean, Boolean, Int32)
at System.Windows.Interop.HwndKeyboardInputProvider.ProcessKeyAction(System.Windows.Interop.MSG ByRef, Boolean ByRef)
at System.Windows.Interop.HwndSource.CriticalTranslateAccelerator(System.Windows.Interop.MSG ByRef, System.Windows.Input.ModifierKeys)
at System.Windows.Interop.HwndSource.OnPreprocessMessage(System.Object)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
at System.Windows.Threading.Dispatcher.Invoke(System.Windows.Threading.DispatcherPriority, System.Delegate, System.Object)
at System.Windows.Interop.HwndSource.OnPreprocessMessageThunk(System.Windows.Interop.MSG ByRef, Boolean ByRef)
at System.Windows.Interop.ComponentDispatcherThread.RaiseThreadMessage(System.Windows.Interop.MSG ByRef)
at System.Windows.Threading.Dispatcher.TranslateAndDispatchMessage(System.Windows.Interop.MSG ByRef)
at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)
at System.Windows.Application.RunInternal(System.Windows.Window)
at System.Windows.Application.Run()
at Microsoft.Workflow.Deployment.ConfigWizard.App.Main()
Thanks
Hansraj RathvaCheck to ensure that the user you're running the wizard as has access to the Users and Computers folders in Active Directory. I had trouble with the 'specified RunAs account is invalid' message, and when I granted the AD rights, I was able to proceed.
The issue would be that the user executing the wizard isn't able to query AD to look up the specified user. The RunAs account you're specifying is probably fine.Hello all,
I'm hoping for some help in fixing this issue.
I've been trying to publish a workflow using SharePoint Designer only to find that I get this error:
'Errors were found when compilint the workflow. The workflow files were saved but cannot be run.'
After clicking on the advanced button it shows error:
System.InvalidOperationException: Operation failed with error Microsoft.Workflow.Client.WorkflowCommunicationException: The request was aborted: The request was canceled. Client ActivityId : 6a78ad9c-6ac6-f03a-0680-003bd46e5f68. ---> System.Net.WebException:
The request was aborted: The request was canceled. ---> Microsoft.SharePoint.SPException: The requested operation requires an HTTPS (SSL) channel.
Ensure that the target endpoint address supports SSL and try again.
Target endpoint address:
Note: the message cuts off after the 'Target endpoint address'.
Looking on the SharePoint server, when I try and pull up the Workflow Manager site (https://localhost:12290/) I get this response:
<?xml version='1.0'?>
xmlns:i='http://www.w3.org/2001/XMLSchema-instance'>
<Code>AuthorizationError</Code><message><Message>The caller does not have the necessary
permissions required for this operation. Permissions granted: None. Required permissions: ReadScope.</Message></message></Error>
I am running this farm with HTTPS and I have registered the SP workflow service with the appropriate application. I have also set the Workflow Management Site bindings in IIS to utilize the same certificate as the default SharePoint site.
At this point, I don't know if the error that I received from Designer is related to the Site error, although I do know that I also have a Development environment that is able to publish workflows just fine. However, this farm uses HTTP rather than HTTPS
so I can only assume that the differences are what's causing the issue. I would appreciate any help that anyone can offer. Thanks!Hi,
As I understand, you encountered the issue when you published a workflow on SharePoint 2013 workflow platform.
I wonder does it work well before when using 2013 workflow platform? If it works before, did you install any updates or change the configuration to the workflow related settings?
If this is the first time after you installed workflow manager 2013, then I’d recommend you try re-registering workflow service per the link below and post the result:
http://technet.microsoft.com/en-us/library/jj663115(v=office.15).aspx
http://technet.microsoft.com/en-us/library/jj658588(v=office.15).aspx
From the message you accessed workflow host uri, please make sure the account to wfsetup and wfservice account are both in wfadmins group.
http://blogs.msdn.com/b/briangre/archive/2013/02/20/least-privilege-configuration-for-windows-azure-workflow-with-sharepoint-2013.aspx
Regards,
Rebecca Tu
TechNet Community SupportHi,
I am not sure this topic to this forum, since this might be installation issue.
But I am hitting a big wall.
I had Windows 2000 SP4.
I have already installed Oracle Database 10gR1, Oracle Developer 10gR2, and Oracle Workflow 2.6.3 Standalone previously.
Including :
- Oracle Workflow Server 2.6.3
- Oracle Workflow Builder 2.6.3.5
- Apache HTTP Server 9.0.4
- Workflow Middle Tier
Anything seems to right, including the Notification Mailer and the Business Event.
And I had also made backup of them surely.
Now,
I'd like to change into Oracle Database 10gR2 because :
1. Some errors I found when I tried to call a Report from Oracle Form.
Unable to connect to Report Server ...
I thought Oracle Database 10gR1 is not suitable for Oracle Developer 10gR2.
2. And in the OWF 2.6.3 Workflow Home Page, there was no Logout button (which I found in OWF 2.6.4)
I removed my previous installation including Oracle Workflow.
After strugglineg in the installation of Oracle Database 10gR2, now I am facing another problem with Oracle Workflow.
I succesfully installed Oracle Workflow 2.6.4 Server and Oracle Workflow Manager (standalone version),
and the Oracle Workflow Middle Tier.
After I launch Oracle Workflow Configuration Assisstant, everthing seems to be normal.
I succed to open the Oracle Workflow Home Page (and found the Logout button there)
Next, I tried to navigate to the Oracle Workflow Manager.
1. I start the OC4J_Workflow_Management_Container --> initialized
2. OC4J_Workflow_Component_Container
The following error line appeared in the OC4J command prompt
06/05/26 10:31:40 LOG_ID_UNKNOWN : oracle.apps.fnd.cp.gsc.Logger.Logger(String,
int) : Logging to System.out until necessary parameters are retrieved for Logger
to be properly started.
06/05/26 10:31:40 LOG_ID_UNKNOWN : oracle.apps.fnd.cp.gsc.SvcComponentContainer.
initializeStateMachine() : BEGIN [default implementation]
06/05/26 10:31:40 LOG_ID_UNKNOWN : oracle.apps.fnd.cp.gsc.SvcComponentContainer.
getNewWorkflowContext() : BEGIN
06/05/26 10:31:45 LOG_ID_UNKNOWN : oracle.apps.fnd.cp.gsc.SvcComponentContainer.
loadGlobalParameters() : BEGIN
06/05/26 10:31:48 oracle.apps.fnd.wf.common.ContextFactoryException: Unable to g
et connection from data source because the following Exception occurred -> java.
sql.SQLException: ORA-28000: the account is locked
06/05/26 10:33:57 Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)
initialized
3. finally it initialized
Next I tried to go to Oracle Workflow Manager from related link of Enterprise Manager
It is said that the OWF_MGR is locked
(I surprised since I had UNLOCKED the OWF_MGR after the installation and succeed to login at the Workflow Home Page)
And the following error line appeared in the commaned prompt after that
06/05/26 10:35:03 OrionCMTConnection not closed, check your code!
06/05/26 10:35:03 Logical connection not closed, check your code!
06/05/26 10:35:03 (Use -Djdbc.connection.debug=true to find out where the leaked
connection was created)
4. I re-UNLOCK the OWF_MGR and login to Oracle Workflow Manager
I noticed that the Agent Listener and Notification Service is Unavailable
(In OWF 2.6.3, The Agent Listener was started and Notification Service was waiting to be configured)
I tried to start one of the Agent Listener, but the following error appeared
ERROR: The Service Component Container is not running
Well, I had the same problem when installing the OWF 2.6.3
I tried to uninstall (remove) and re-install it like I had done before in OWF 2.6.3
(based on someone's post in Oracle's forum)
But this time, the re-installation won't fix this problem. (It was succeed in the OWF 2.6.3)
Everytime I start the OC4J, using wfmgrstart.bat and wfsvcstart.bat
the OWF_MGR is re-LOCKED(TIME) automatically.
And the servlet (WFALSNRSVC and WFMLRSVC) are not running.
I am worry, since I cannot use the Notification Mailer if this problem had not fixed yet.
(In OWF 2.6.3, the mailer was not available until those servlet is Started)
Sorry for the long post.
Any help would be grateful.
Many thanks,
BuntoroHi,
Finally, I have found the solution.
Step :
1. Start all of the Oracle Service, except for the OC4J
If you have already started OC4J, then stop them
Unlocked the <wf_manager_user>
2. Search in your Oracle Home :
with
password='<your_wf_manager_password>',
should be look like this
password='a'
5. Now start the OC4J using wfmgrstart.bat and wfsvcstart.bat
6. Next, login to the Oracle Workflow Manager
This worked for me.
Hope this will help someone who has the same problem.
BuntoroHello everyone,
I have successfully installed Workflow Manager 1.0 (and its prerequisites) on my Server 2008 R2 SP1 machine
that is hosting Sharepoint 2013. I attempt to go into the Workflow Manager Configuration. That comes up and asks me if I want to Create new farm with Default Settings, New Farm with custom settings, or existing farm. I've tried both Default
settings AND Custom settings.
When the configuration wizard comes up, I attempt to fill out the necessary information. It seems to connect
to the SQL server without a problem. I only run into an issue when setting the USER ID. The program totally freezes up and force closes.
I have verified that the USERID is in the correct format and tried multiple different formats. The problem
is that the moment I move the cursor from the USERID field to ANY other field, the program force closes. I'm not able to hit submit, I'm not able to change any other options. The moment USERID is manipulated or the cursor LEAVES the USERID field,
the program force closes. It won't even allow me to put in a password before it force closes.
Customer domain is running in Windows Server 2003 Enterprise Edittion SP2.
Any ideas?
Thank you very much!
I have copied the errors from event viewer below:
APPLICATION ERROR
Faulting application name: Microsoft.Workflow.Deployment.ConfigWizard.exe, version: 1.0.20922.0, time stamp: 0x505e1b30
Faulting module name: KERNELBASE.dll, version: 6.1.7601.17965, time stamp: 0x506dcae6
Exception code: 0xe0434352
Fault offset: 0x000000000000bccd
Faulting process id: 0x17f8
Faulting application start time: 0x01cddee198ece72e
Faulting application path: C:Program FilesWorkflow Manager1.0Microsoft.Workflow.Deployment.ConfigWizard.exe
Faulting module path: C:Windowssystem32KERNELBASE.dll
Report Id: 22ab8b69-4ad5-11e2-af8f-005056965915
.NET Runtime Error
Application: Microsoft.Workflow.Deployment.ConfigWizard.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Runtime.InteropServices.COMException
Stack:
at System.DirectoryServices.AccountManagement.PrincipalContext.DoLDAPDirectoryInitNoContainer()
at System.DirectoryServices.AccountManagement.PrincipalContext.DoDomainInit()
at System.DirectoryServices.AccountManagement.PrincipalContext.Initialize()
at System.DirectoryServices.AccountManagement.PrincipalContext.get_QueryCtx()
at System.DirectoryServices.AccountManagement.Principal.FindByIdentityWithTypeHelper(System.DirectoryServices.AccountManagement.PrincipalContext, System.Type, System.Nullable`1<System.DirectoryServices.AccountManagement.IdentityType>, System.String,
System.DateTime)
at System.DirectoryServices.AccountManagement.UserPrincipal.FindByIdentity(System.DirectoryServices.AccountManagement.PrincipalContext, System.String)
at Microsoft.ServiceBus.Commands.Common.SecurityHelper.IsUserValid(System.DirectoryServices.AccountManagement.PrincipalContext, System.String)
at Microsoft.ServiceBus.Commands.Common.SecurityHelper.IsDomainUserValid(System.String, System.String)
at Microsoft.ServiceBus.Commands.Common.ValidateUserAttribute.Validate(System.String)
at Microsoft.Deployment.ConfigWizard.UICommon.AccountDetailsViewModel.ValidateDomainUser()
at Microsoft.Deployment.ConfigWizard.UICommon.AccountDetailsControl.UserIdTextBox_LostFocus(System.Object, System.Windows.RoutedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean)
at System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject, System.Windows.RoutedEventArgs)
at System.Windows.Controls.Primitives.TextBoxBase.OnLostFocus(System.Windows.RoutedEventArgs)
at System.Windows.UIElement.IsFocused_Changed(System.Windows.DependencyObject, System.Windows.DependencyPropertyChangedEventArgs)
at System.Windows.DependencyObject.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs)
at System.Windows.FrameworkElement.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs)
at System.Windows.Controls.TextBox.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs)
at System.Windows.DependencyObject.NotifyPropertyChange(System.Windows.DependencyPropertyChangedEventArgs)
at System.Windows.DependencyObject.UpdateEffectiveValue(System.Windows.EntryIndex, System.Windows.DependencyProperty, System.Windows.PropertyMetadata, System.Windows.EffectiveValueEntry, System.Windows.EffectiveValueEntry ByRef, Boolean, Boolean,
System.Windows.OperationType)
at System.Windows.DependencyObject.ClearValueCommon(System.Windows.EntryIndex, System.Windows.DependencyProperty, System.Windows.PropertyMetadata)
at System.Windows.DependencyObject.ClearValue(System.Windows.DependencyPropertyKey)
at System.Windows.Input.FocusManager.OnFocusedElementChanged(System.Windows.DependencyObject, System.Windows.DependencyPropertyChangedEventArgs)
at System.Windows.DependencyObject.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs)
at System.Windows.FrameworkElement.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs)
at System.Windows.DependencyObject.NotifyPropertyChange(System.Windows.DependencyPropertyChangedEventArgs)
at System.Windows.DependencyObject.UpdateEffectiveValue(System.Windows.EntryIndex, System.Windows.DependencyProperty, System.Windows.PropertyMetadata, System.Windows.EffectiveValueEntry, System.Windows.EffectiveValueEntry ByRef, Boolean, Boolean,
System.Windows.OperationType)
at System.Windows.DependencyObject.SetValueCommon(System.Windows.DependencyProperty, System.Object, System.Windows.PropertyMetadata, Boolean, Boolean, System.Windows.OperationType, Boolean)
at System.Windows.DependencyObject.SetValue(System.Windows.DependencyProperty, System.Object)
at System.Windows.FrameworkElement.OnGotKeyboardFocus(System.Object, System.Windows.Input.KeyboardFocusChangedEventArgs)
at System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate, System.Object)
at System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean)
at System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject, System.Windows.RoutedEventArgs)
at System.Windows.UIElement.RaiseTrustedEvent(System.Windows.RoutedEventArgs)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.KeyboardDevice.ChangeFocus(System.Windows.DependencyObject, Int32)
at System.Windows.Input.KeyboardDevice.Focus(System.Windows.DependencyObject, Boolean, Boolean, Boolean)
at System.Windows.Input.KeyboardDevice.Focus(System.Windows.IInputElement)
at System.Windows.UIElement.Focus()
at System.Windows.Input.KeyboardNavigation.Navigate(System.Windows.DependencyObject, System.Windows.Input.TraversalRequest, System.Windows.Input.ModifierKeys, System.Windows.DependencyObject)
at System.Windows.Input.KeyboardNavigation.Navigate(System.Windows.DependencyObject, System.Windows.Input.Key, System.Windows.Input.ModifierKeys)
at System.Windows.Input.KeyboardNavigation.ProcessInput(System.Windows.Input.InputEventArgs)
at System.Windows.Input.InputManager.RaiseProcessInputEventHandlers(System.Windows.Input.ProcessInputEventHandler, System.Windows.Input.ProcessInputEventArgs)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputManager.ProcessInput(System.Windows.Input.InputEventArgs)
at System.Windows.Interop.HwndKeyboardInputProvider.ReportInput(IntPtr, System.Windows.Input.InputMode, Int32, System.Windows.Input.RawKeyboardActions, Int32, Boolean, Boolean, Int32)
at System.Windows.Interop.HwndKeyboardInputProvider.ProcessKeyAction(System.Windows.Interop.MSG ByRef, Boolean ByRef)
at System.Windows.Interop.HwndSource.CriticalTranslateAccelerator(System.Windows.Interop.MSG ByRef, System.Windows.Input.ModifierKeys)
at System.Windows.Interop.HwndSource.OnPreprocessMessage(System.Object)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
at System.Windows.Threading.Dispatcher.Invoke(System.Windows.Threading.DispatcherPriority, System.Delegate, System.Object)
at System.Windows.Interop.HwndSource.OnPreprocessMessageThunk(System.Windows.Interop.MSG ByRef, Boolean ByRef)
at System.Windows.Interop.ComponentDispatcherThread.RaiseThreadMessage(System.Windows.Interop.MSG ByRef)
at System.Windows.Threading.Dispatcher.TranslateAndDispatchMessage(System.Windows.Interop.MSG ByRef)
at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)
at System.Windows.Application.RunInternal(System.Windows.Window)
at System.Windows.Application.Run()
at Microsoft.Workflow.Deployment.ConfigWizard.App.Main()Hi Scott,
Thank you very much.. Now I am able to run wizard.. but at the end of wizard step I am getting below error
[Info] [1/23/2014 5:48:47 PM]: Endpoint=sb://MSPAPPS.psu.edu.sa/WorkflowDefaultNamespace;StsEndpoint=https://MSPAPPS.psu.edu.sa:9355/WorkflowDefaultNamespace;RuntimePort=9354;ManagementPort=9355
[Info] [1/23/2014 5:48:47 PM]: Processing completed
[Verbose] [1/23/2014 5:48:47 PM]: Validating input and configuration parameters.
[Verbose] [1/23/2014 5:48:49 PM]: Installing auto-generated certificate.
[Progress] [1/23/2014 5:48:49 PM]: Installing auto-generated certificate.
[Verbose] [1/23/2014 5:48:51 PM]: Granting 'Log on as Service' privilege to the RunAs account.
[Progress] [1/23/2014 5:48:51 PM]: Granting 'Log on as Service' privilege to the RunAs account.
[Verbose] [1/23/2014 5:48:52 PM]: Workflow Manager configuration starting.
[Progress] [1/23/2014 5:48:52 PM]: Workflow Manager configuration starting.
[Verbose] [1/23/2014 5:48:55 PM]: Configuring Workflow Manager runtime settings.
[Progress] [1/23/2014 5:48:55 PM]: Configuring Workflow Manager runtime settings.
[Error] [1/23/2014 5:48:55 PM]: System.Management.Automation.CmdletInvocationException: The token provider was unable to provide a security token while accessing 'https://mspapps.psu.edu.sa:9355/WorkflowDefaultNamespace/$STS/Windows/'. Token provider returned
message: 'The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.'. ---> System.UnauthorizedAccessException: The token provider was unable to provide a security token while accessing 'https://mspapps.psu.edu.sa:9355/WorkflowDefaultNamespace/$STS/Windows/'.
Token provider returned message: 'The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.'. ---> System.IdentityModel.Tokens.SecurityTokenException: The token provider was unable to provide a security
token while accessing 'https://mspapps.psu.edu.sa:9355/WorkflowDefaultNamespace/$STS/Windows/'. Token provider returned message: 'The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.'. ---> System.Net.WebException:
The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.
at System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, Exception exception)
at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.ConnectStream.WriteHeaders(Boolean async)
--- 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.OnBeginGetWebToken(String appliesTo, String action, TimeSpan timeout, AsyncCallback callback, Object state)
at Microsoft.ServiceBus.TokenProvider.GetWebTokenAsyncResult..ctor(TokenProvider tokenProvider, String appliesTo, String action, Boolean bypassCache, TimeSpan timeout, AsyncCallback callback, Object state)
at Microsoft.ServiceBus.TokenProvider.BeginGetWebToken(String appliesTo, String action, Boolean bypassCache, TimeSpan timeout, AsyncCallback callback, Object state)
at Microsoft.ServiceBus.TokenProviderUtility.GetMessagingWebToken(ITokenProvider tokenProvider, String appliesTo, String action, Boolean bypassCache, TimeSpan timeout)
--- End of inner exception stack trace ---
Server stack trace:
at Microsoft.ServiceBus.TokenProviderUtility.GetMessagingWebToken(ITokenProvider tokenProvider, String appliesTo, String action, Boolean bypassCache, TimeSpan timeout)
at Microsoft.ServiceBus.Messaging.HttpWebRequestExtensions.AddAuthorizationHeader(HttpWebRequest request, ITokenProvider tokenProvider, Uri baseAddress, String action)
at Microsoft.ServiceBus.Messaging.ServiceBusResourceOperations.GetAsyncResult`1.<GetAsyncSteps>d__11.MoveNext()
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.NamespaceManager.OnEndTopicExists(IAsyncResult result)
at Microsoft.ServiceBus.NamespaceManager.TopicExists(String path)
at Microsoft.Workflow.Deployment.Commands.WorkflowServiceConfigHelper.SetWFRuntimeSettings(String resourceDBConnectionString, String config)
at Microsoft.Workflow.Deployment.Commands.AddWFHost.CallWFRuntimeSettings(Service wfserviceInfo, String unencryptedResourceConnectionString)
--- End of inner exception stack trace ---
at System.Management.Automation.PowerShell.EndInvoke(IAsyncResult asyncResult)
at Microsoft.Workflow.Deployment.ConfigWizard.CommandletHelper.InvokePowershell(Command command, Action`3 updateProgress)
at Microsoft.Workflow.Deployment.ConfigWizard.ProgressPageViewModel.AddWFNode(FarmCreationModel model, Boolean isFirstCommand)I am trying to install WF Manager, but with no success.
On the same machine, I have installed SQL Server 2014, SharePoint 2013 with SP1 and WF Manager.
I installed WF manager (account that runs WF manager is sp farm admin) and registered with command
Register-SPWorkflowService -SPSite 'http://dev/' -WorkflowHostUri 'http://localhost:12291' -AllowOAuthHttp
In Central Admin, when I click on 'Workflow Service Application Proxy ', I get message that WF is connected. Backend service is running. In SP Designer, I can create 2013 Workflow and publish it, but that WF does not work, it break instantly.
In SP logs, I get this error when I try to activate feature that contains workflow (solution that contains WF created in Visual Studio):
http://radioaddictsanonymous.com/view/635399286724222582163282/error-while-deploying-sp2013-workflow-from-vs2012-nullreferenceexception
So, I deleted WF manager and service bus and reinstalled it, but with no luck. Now backedn service is not working, and I can't start it, getting this error:
'The Workflow Manager Backend service could not be started A system error has occurred System error 1067 has occurred'
In Event Viewer I have this error:
https://social.technet.microsoft.com/Forums/office/en-US/de554aed-c9ae-4725-82fa-251446bacc20/workflow-manager-10-sharepoint-2013-the-process-was-terminated-due-to-an-unhandled-exception?forum=sharepointgeneral
I have tried to reinstall everything couple of times, but it doesn't work. I think that I am not deleting everything related to workflow before reinstallation. How can I unregister already registered WF service and reinstall everything correctly??Hi,I had already done disableloopbackcheck and it did not matter.No problem with creating scopes (using powershell) but pairing fails anyway.Here is the config from a local explorer connection to the HTTPS port:(And following it, you may see the result of
a scope enumerator script)
<?xml version='1.0'?>
<ScopeInfo xmlns='http://schemas.microsoft.com/workflow/2012/xaml/activities' xmlns:i='http://www.w3.org/2001/XMLSchema-instance'>
<ChildScopeCount>3</ChildScopeCount>
<DefaultWorkflowConfiguration/>
<Description>For / sample only</Description>
<LastModified>2013-11-08T21:22:00.967</LastModified>
<LastRevised>2013-11-08T00:04:31.88</LastRevised>
<Path>/</Path>
<SecurityConfigurations>
<ScopedSecurityConfiguration i:type='WindowsSecurityConfiguration'>
<Name>Microsoft.Workflow.Management.Security.WindowsSecurityConfiguration</Name>
<WorkflowAdminGroupName>altemisWorkflowAdmins</WorkflowAdminGroupName>
</ScopedSecurityConfiguration>
</SecurityConfigurations><
Status>Active</Status>
</ScopeInfo>
PS C:Shared> C:SharedWF Script-Enumaret Scopes.ps1
Name:
Path: /
Status: Active
User Comments: For / sample only
Parent: None
Children: 3
Exception calling 'GetChildScopes' with '0' argument(s): 'Scope '/$ChildScopes' was not found. HTTP headers received from
the server - ActivityId: 616224db-0321-450a-92ef-f03384c008a2. NodeId: ALTEMIS-SVR02. Scope: /$ChildScopes. Client
ActivityId : 649dba85-dc89-0002-d9bf-9d6489dcce01.'
At C:SharedWF Script-Enumaret Scopes.ps1:21 char:9
+ $manager.GetChildScopes() | % { WriteScopeInfo $scopeUri $_.Path $scope. ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : ScopeNotFoundException
MuharremHi everyone,
I found
this post by Adis Jugo and I wondered if this is (or maybe is planned to be) supported in SharePoint Online?
I created custom code activity, used it in workflow (sharepoint app) and it works on SP 2013. What I want to do, if it is possible ofc, is to use the same sharepoint app in SP Online..
This is the tutorial which was followed to create Workflow CodeActivity..Hi Mahesh,
According to your description, my understanding is that you got an error when you register workflow manager for SharePoint 2013.
Firstly, please check whether you install SharePoint Developer tools Preview for VS 12. If yes, please uninstall it , and restart the server, then run Register-SPWorkflowService.
If this issue still exists, go to Central Administration, and check whether the web application is connected to Workflow service application proxy.
Here are some similar posts for you to take a look at:
http://social.technet.microsoft.com/Forums/sharepoint/en-US/dcb16362-d93c-4f05-b0ba-7b4519caa541/sharepoint-2013-workflow-manager-error-when-i-register-workflow-service?forum=sharepointadmin
http://social.technet.microsoft.com/Forums/sharepoint/en-US/f1482967-cd0f-4509-aa85-36ed4ba6e07d/error-during-register-workflow-service-2013?forum=sharepointadmin
http://sharepointdeal.wordpress.com/2013/07/08/register-spworkflowservice-failed-to-query-the-oauth-s2s-metadata-error/
I hope this helps.
Thanks,
Wendy
Wendy Li
TechNet Community SupportHello,
I have installed Workflow Manager and configured it to allow http and https communication, following the video instructions
: Install and configure Workflow in SharePoint Server 2013
http://technet.microsoft.com/en-us/library/dn201724(v=office.15).aspx
I implemented a simple workflow in a new 2013 team site using SharePoint Designer 2013 (following episode 6) and
everything worked.
I then tried an identical list workflow in my root site collection (which was upgraded from 2010) and get:
Status Started: Retrying last request. Next attempt scheduled in less than one minute. Details of last request:
HTTP Forbidden to
http://myserver/_vti_bin/client.svc/web/lists/getbyid(guid'fc6b128e-72e5-4c84-8d37-3a5a8a8f9030') Correlation Id: 36fa92d5-72e2-523d-ab84-c51d605fb705 Instance Id: a9671cc8-078d-4b1e-a8b8-3d95806b74f6 Retry now
Status Suspended: Followed by the message:
HTTP 403 {'x-ms-diagnostics':['30000000; reason=SSL is required'],'
The process for creating and running these workflows was the same. Can anyone help?
macrelHi Marcel,
Try executing the following command below and make sure that the workflows properly registered:
$credential = [System.Net.CredentialCache]::DefaultNetworkCredentials
$site = Get-SPSite(<siteUri>)
$proxy = Get-SPWorkflowServiceApplicationProxy
$svcAddress = $proxy.GetWorkflowServiceAddress($site)
Copy-SPActivitiesToWorkflowService -WorkflowServiceAddress $svcAddress -Credential $credential -Force $true
More references are provided in the below link
http://technet.microsoft.com/en-us/library/dn133867.aspx
http://social.msdn.microsoft.com/Forums/en-US/ccefeb99-5b39-4494-a545-771bf6e77137/error-in-workflow-2013-when-i-try-assign-task-http-forbidden?forum=sharepointcustomization
http://social.msdn.microsoft.com/Forums/en-US/008d825f-eedf-4fc5-9ce1-7c19933681f7/http-403-forbidden-error-when-starting-workflow-manually-on-sharepoint-2010?forum=sharepointdevelopmentprevious
Regards Roy Joyson
Please remember to mark your question as 'answered'/'Vote helpful' if this solves/helps your problem.
Roy JoysonHi,
I have installed the following on my windows server 2012:
Sharepoint2013
Workflow Manager 1.0: installed and configured
Service Bus 1.0
Service Bus 1.0 CU Update 1
I'm now trying to install the CU2 of workflow manager but I'm getting the following error message in the log file:
[09/01/14 08:02:10] Starting process 'C:Windowssystem32..sysnativewindowspowershellv1.0powershell.exe' -NoLogo -NonInteractive -NoProfile -WindowStyle Hidden -ExecutionPolicy RemoteSigned -File UnifiedWFHotfixUpgrade.PS1 -HotfixType 'S'
-PackageType 'server' -opcode 'PatchBefore' -platform 'x64' ...
[09/01/14 08:02:13] Process exit code is -1.
Start-WFHostUpgrade : Login failed for user 'UZuc7KmRZyM5zfaz7kEkjw'.
At C:ProgramDataMicrosoftE-Business Servers
UpdatesUpdatesUninstall2902007UnifiedWFHotfixUpgrade.PS1:499 char:5
+ Start-WFHostUpgrade -TargetWFVersion $TargetWFVersion
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : WriteError: (:) [Start-WFHostUpgrade], SqlExcept
ion
+ FullyQualifiedErrorId : WFServiceUpgradeFailed,Microsoft.Workflow.Deploy
ment.Commands.StartWFHostUpgrade
The reason why I need to install this update is to resolve the following error message I'm getting when I try to register workflow service:
PS C:UsersAdministrator> Register-SPWorkflowService -SPSite 'http://tcorigli-d
ev01:48668' -WorkflowHostUri 'http://tcorigli-dev01:12291' -AllowOAuthHttp
Register-SPWorkflowService : The remote server returned an error: (404) Not
Found.
At line:1 char:1
+ Register-SPWorkflowService -SPSite 'http://tcorigli-dev01:48668'
-WorkflowHostUr ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
+ CategoryInfo : InvalidData: (Microsoft.Share...WorkflowService:
RegisterSPWorkflowService) [Register-SPWorkflowService], WebException
+ FullyQualifiedErrorId : Microsoft.SharePoint.WorkflowServices.PowerShell
.RegisterSPWorkflowService
PS C:UsersAdministrator>
Thanks & Regards,
TomiHi,
For a better troubleshooting, I suggest you do as follows:
1.Try to install Service Bus 1.1 before update CU2.
http://www.wictorwilen.se/issue-when-installing-workflow-manager-1.0-refresh-using-powershell
2.PowerShell 3.0 must be installed on the computer to be updated.
3.Check whether install Workflow Manager Client 1.0 on your computer.
4.Make sure you have administrative credentials on the computer.
If the issue still exists, you can also open a ticket to Microsoft Support to get more specific suggestions according to the actual scenario in your environment:
https://support.microsoft.com/?wa=wsignin1.0
Thanks,
Dennis Guo
TechNet Community Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Dennis Guo
TechNet Community SupportHello All , Request your help on the below issue ,
We have a single server farm SP 2013 where workflow was working as expected but its broken now , Not sure
what caused this. Workflow manager is installed alongside Service Bus. Workflow Manager client is installed on the same SP server.
We are able to create and publish the workflows from SP Designer without errors but when we start the workflow from SharePoint list we get an error ' Sorry something went wrong'. We have tried creating new workflows but the same problem.
We receive the below error in event viewer.
Error processing management request. Method: PUT, RequestUri: http://server URL:12291/$Workflows/89c767d2-82d2-4bd9-8e5e-dcace81d844f, Error: System.ArgumentException: The remote server returned an error: (400) Bad Request. ---> System.Net.WebException:
The remote server returned an error: (400) Bad Request.
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at Microsoft.ServiceBus.Messaging.ServiceBusResourceOperations.GetAsyncResult`1.EndGetResponse(GetAsyncResult`1 thisPtr, IAsyncResult ar)
at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.StepCallback(IAsyncResult result)
--- End of inner exception stack trace ---
Server stack trace:
Exception rethrown at [0]:
at Microsoft.Workflow.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
at Microsoft.Workflow.Gateway.HttpAsyncResult.End[TAsyncResult](IAsyncResult result)
at Microsoft.Workflow.Gateway.WorkflowServiceGateway.<>c__DisplayClass6a.<EndCreateOrUpdateWorkflow>b__69()
at Microsoft.Workflow.Gateway.WorkflowServiceGateway.ExceptionFilter[T](Func`1 body)
at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
ULS logs give below error
Error 1 - Microsoft.Workflow.Client.InternalServerException: An internal error occured. For more details, please see the server logs. HTTP headers received from the server - ActivityId: ba6e77cb-aaae-41a0-9cc8-1ea817d0045e. NodeId: Servername.
Scope: /SharePoint/default/bc694777-7bbb-473e-ab2d-20087221a97a/5229793b-31a1-44b1-9b0b-374f38b762fd. Client ActivityId : a6daec9c-7139-7034-b4ee-edeb1f96ec2a. ---> System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
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.WorkflowManagementClient.SendRequest[T](HttpWebRequest request, T content)
at Microsoft.Workflow.Client.WorkflowManager.Publish(WorkflowDescription description, Boolean terminateActiveInstances)
at Microsoft.SharePoint.WorkflowServices.FabricWorkflowManagementClient.PublishWorkflow(String serviceGroupName, WorkflowDescription workflow)
at Microsoft.SharePoint.WorkflowServices.WorkflowProxy.CreateDefinitionSubscription(String subscriptionName, String eventSource, List`1 eventTypes, String definitionName, IDictionary`2 metadata, WorkflowEventContext eventContext) 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)
Error 2 - Error publishing workflow subscription (republish or retry publish) information: Microsoft.Workflow.Client.InternalServerException: An internal error occured. For more details, please see the server logs. HTTP headers received
from the server - ActivityId: ba6e77cb-aaae-41a0-9cc8-1ea817d0045e. NodeId:
ServerName. Scope: /SharePoint/default/bc694777-7bbb-473e-ab2d-20087221a97a/5229793b-31a1-44b1-9b0b-374f38b762fd. Client ActivityId : a6daec9c-7139-7034-b4ee-edeb1f96ec2a. ---> System.Net.WebException: The remote server returned an error: (500)
Internal Server Error.
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.WorkflowManagementClient.SendRequest[T](HttpWebRequest request, T content)
at Microsoft.Workflow.Client.WorkflowManager.Publish(WorkflowDescription description, Boolean terminateActiveInstances)
at Microsoft.SharePoint.WorkflowServices.FabricWorkflowManagementClient.PublishWorkflow(String serviceGroupName, WorkflowDescription workflow)
at Microsoft.SharePoint.WorkflowServices.WorkflowProxy.CreateDefinitionSubscription(String subscriptionName, String eventSource, List`1 eventTypes, String definitionName, IDictionary`2 metadata, WorkflowEventContext eventContext)
at Microsoft.SharePoint.WorkflowServices.FabricSubscriptionService.<>c__DisplayClass1.<CreateDefinitionSubscription>b__0()
at Microsoft.SharePoint.WorkflowServices.WorkflowServiceContextExtensions.InvokeWithEcosystemRetry(WorkflowServicesContext context, EcosystemRequiredMethod method)
at Microsoft.SharePoint.WorkflowServices.FabricSubscriptionService.CreateDefinitionSubscription(String subscriptionName, Guid eventSourceId, String eventSource, List`1 eventNames, String definitionName, IDictionary`2 metadata, WorkflowEventContext eventContext)
at Microsoft.SharePoint.WorkflowServices.WorkflowSubscriptionStorageEventReceiver.ItemUpdating(SPItemEventProperties properties)
Error3 - Microsoft.Workflow.Client.InternalServerException: An internal error occured. For more details, please see the server logs. HTTP headers received from the server - ActivityId: ba6e77cb-aaae-41a0-9cc8-1ea817d0045e. NodeId: ServerName.
Scope: /SharePoint/default/bc694777-7bbb-473e-ab2d-20087221a97a/5229793b-31a1-44b1-9b0b-374f38b762fd. Client ActivityId : a6daec9c-7139-7034-b4ee-edeb1f96ec2a. ---> System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
at SPRequest.AddOrUpdateItem: UserPrincipalName=i:0).w|s-1-5-21-182846760-3036401646-508972453-351846, AppPrincipalName= ,bstrUrl=http://sharepointsite ,bstrListName={48A21758-9123-48F0-9BDE-9EB632B07BC6} ,bAdd=False ,bSystemUpdate=False ,bPreserveItemVersion=False
,bPreserveItemUIVersion=False ,bUpdateNoVersion=False ,pbstrNewDocId=00000000-0000-0000-0000-000000000000 ,bHasNewDocId=False ,bstrVersion=16 ,bCheckOut=False ,bCheckin=False ,bUnRestrictedUpdateInProgress=True ,bMigration=False ,bPublish=False ,bstrFileName=<null>
Any help appreciated. Thanks in advance.Hi,
As I understand, you encountered the issue when you published a workflow on SharePoint 2013 workflow platform.
I wonder does it work well before when using 2013 workflow platform? If it works before, did you install any updates or change the configuration to the workflow related settings?
If this is the first time after you installed workflow manager 2013, then I’d recommend you try re-registering workflow service per the link below and post the result:
http://technet.microsoft.com/en-us/library/jj663115(v=office.15).aspx
http://technet.microsoft.com/en-us/library/jj658588(v=office.15).aspx
From the message you accessed workflow host uri, please make sure the account to wfsetup and wfservice account are both in wfadmins group.
http://blogs.msdn.com/b/briangre/archive/2013/02/20/least-privilege-configuration-for-windows-azure-workflow-with-sharepoint-2013.aspx
Regards,
Rebecca Tu
TechNet Community Support
Maybe you are looking for
Open “ C: Program Files Workflow Manager 1.0 Workflow ” folder. Open file “ wfServerUpgradePolicy.config ” and look for. Open SQL and execute “ SELECT. FROM StoreVersionTable ” on WFResourceManagementDB Compare CONFIG file to to SQL table versions.
- Register-SPWorkflowService: Unable to connect to the remote service at See InnerException for more details. Client ActivityId: e592f590-80d3-4f43-9118-39e526e3c5ff. At line:1 char:1 + Register-SPWorkflowService -SPSite “-WorkflowHostUri http:/.
- 1- Routing and remote Access service is enabled. 2- Allow Remote Assistance has been enabled. 3- Allow this computer to be controlled remotely is checked. 4- Remote assistance has been enabled in the registry-AllowTSConnections value set to 1. 5- Remote Assistance exception is checked in Windows Firewall.
I have been charged 4 times for an in app purchase when I only wanted 1 , does anyone know how I go about getting a refund? mike
I am creating an Inbound Delivery from an Outbound using SPED output type on the Outbound Delivery. When I process the output using vl71 I get the following error. Can anyone tell me what im missing. The same scenario works for other plants except th
Hey guys, First post and am hoping someone can advise!!! I can't charge my E65 using the CA-44 adaptor, I've tried using 3 different adaptors all to no avail(all adaptors work on other Nokia phones). Normal charging works fine. I'm hoping to use TomT
I am in the quick sales order screen. I get the following error message when I try to change the unit selling price. The error is Online discounting is not allowed, you do not have discounting privileges. Any ideas how to correct this issue? I need t
I have made a video that I would like to add an alternative audio track in Chinese to allow my relatives understand the conversations in the main audio track. I have never done this before, and would like to ask for advices as to how to proceed. Can
SharePoint Workflow Configuration Common Issues
- Unable to connect to the remote service
PS C:Usersmossadm> Register-SPWorkflowService -SPSite “http://www.contoso.com” -W
orkflowHostUri http://wfm.contoso.com:12291 -AllowOAuthHttp
Register-SPWorkflowService : Unable to connect to the remote service at
http://wfm.contoso.com:12291/SharePoint/. See InnerException for more details. Client
ActivityId : e592f590-80d3-4f43-9118-39e526e3c5ff.
At line:1 char:1
+ Register-SPWorkflowService -SPSite “http://www.contoso.com” -WorkflowHostUri
http:/ …
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
+ CategoryInfo : InvalidData: (Microsoft.Share…WorkflowService:
RegisterSPWorkflowService) [Register-SPWorkflowService], WorkflowEndpointN
otFoundException
+ FullyQualifiedErrorId : Microsoft.SharePoint.WorkflowServices.PowerShell
.RegisterSPWorkflowService
In here ; SharePoint is telling you that it cannot find the Workflow Manager service endpoint at this address
– Check for the Firewall and possible networking issues.
– Make a browser test that you can browse the workflow host uri
-Check the WFM IIS for the bindings of the Workflow Manager Site
-Check that the workflow manager IIS to make sure that the Workflow Manager Front End is running on correct port !.
Register Spworkflowservice Unable To Connect To The Remote Service At A
- When you try to publish a workflow you may face following issues.
Microsoft.SharePoint.SPException: App Management Shared Service Proxy is not installed.
at Microsoft.SharePoint.AppRegistration.GetProxy(SPServiceContext serviceContext)
at Microsoft.SharePoint.AppRegistration.AddOrUpdateAppNoPermissionCheck(SPAppPrincipalInfo appInfo)
at Microsoft.SharePoint.SPAppPrincipalManager.RegisterWithInternalDirectory(SPAppPrincipalIdentityProvider identityProvider, String nameIdentifier, String displayName, List`1 appEndpointAuthorities, List`1 redirectAddr
You can face this because App Management Service application is not provisioned or the App Management Service is not running or the App Management Service Proxy is not added to the default proxy group.
-Check the app management service from CA -> Application Management -> Manage Service Application . If it is not provisioned , provision it.
Then if you face this ;
Microsoft.SharePoint.SPEndpointAddressNotFoundException: There are no addresses available for this application.
at Microsoft.SharePoint.SPRoundRobinServiceLoadBalancer.BeginOperation()
at Microsoft.SharePoint.Administration.SPServiceApplicationProxyBase`1.ExecuteOnChannel(Boolean requireDelegation, Action`1 codeBlock)
at Microsoft.SharePoint.AppManagement.AppManagementServiceApplicationProxy.GetScaleOutDatabaseMap()
at Microsoft.SharePoint.SPScaleOutDatabaseMap.GetMapCacheEntries
-Dont forget to start App Management Service from CA-> Services on Server -> App Management Service
–Make an IISReset
- When you try to run a SP 2013 workflow, you get a ‘suspended’ error message, and the error states;
RequestorId: <Guid>. Details: RequestorId: <Guid>. Details: An unhandled exception occurred during the execution of the workflow instance. Exception details: System.ApplicationException: HTTP 401 {“error_description”:”The server was unable to process the request due to an internal error.
The reason may the security service application is unable to identify the user id from the user claim
Register-spworkflowservice Unable To Connect To The Remote Service At Http
-Open IIS Manager, navigatred to Application Pools > Click on the app pool named “Security Token Serice Application Pool”
-Click Advanced settings
-Modified the value for the property named “Load User Profile” from FALSE to TRUE
-Perform an IISRESET /noforce