Hi All,
A user reported an issue where a SharePoint Designer 2013 has been deployed to SharePoint server. And when custom workflows Internal status is
SUSPENDED and have the follows status:
Requestorid: <<GUID>> Details: An unhandled exception occurred during the execution of the workflow instance. Exception Details: System.ApplicationException: HTTP 500 The remote server returned an error: (500) Internal Server
Error. We looked in Fiddler logs and we received a couple of HTTP/1.1 401 Unauthorized within Response Headers.
We created a simple Site Workflow reproduce the issue and used a SPD 2013. While publishing the workflow we got an error: Errors were found when compiling the workflow. The workflow files were saved but cannot be run. System.ServiceModel.ProtocolException: The content type text/html; charset=utf-8 of the response message does not match the content type of the binding (application/soap+xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 1024 bytes of the response were: '<!DOCTYPE html>
<html>
<head>
<title>Runtime Error</title> <meta name="viewport" content="width=device-width" /> <style>
- We found that there is a MS article https://support.microsoft.com/en-us/kb/2557533?wa=wsignin1.0 that adjust the values as follows [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint") $new_limit = 5000; $webapp = [Microsoft.SharePoint.Administration.SPWebApplication]::Lookup(http://WebAppURL) $webapp.UserDefinedWorkflowMaximumComplexity = $new_limit $webapp.Update()
-
http://summit7systems.com/workflow-2013-starts-and-then-immediately-cancels/
What we have noticed that it looks a permission for a that web application thats why its Workflow are not working.
Any suggestions would be greatly appreciated.
Thank you.