Today... demo day...
Objectives:
Wow everything works fine, why don't we start the workflow?
Wow... Why execution failed?
RequestorId: dbaf8233-b7f4-cc8e-0000-000000000000. Details: An unhandled exception occurred during the execution of the workflow instance. Exception details: System.ApplicationException: HTTP 401 {"error":{"code":"-2147024891, System.UnauthorizedAccessException","message":{"lang":"en-US","value":"Access denied. You do not have permission to perform this action or access this resource."}}} {"Transfer-Encoding":["chunked"],"X-SharePointHealthScore":["2"],"SPRequestGuid":["dbaf8233-b7f4-cc8e-84d2-34863a603d9b"],"request-id":["dbaf8233-b7f4-cc8e-84d2-34863a603d9b"],"X-FRAME-OPTIONS":["SAMEORIGIN"],"MicrosoftSharePointTeamServices":["15.0.0.4551"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1; RequireReadOnly"],"Cache-Control":["max-age=0, private"],"Date":["Fri, 25 Jul 2014 14:01:50 GMT"],"Server":["Microsoft-IIS\/8.0"],"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)
Wow... Why my bonus it's flying away?
Don't worry about it, the solution it's simple, even if the situation is frustrating.
The problem can be solved using central admin, look for Refresh trusted security token services metadata feed and run it now. Then make an iisreset.
If you are a lazy one use this small PowerShell
Objectives:
- Show the customer what he/she is paying for
- Satisfy customer
- Sell change requests
- Earn project bonus
Wow everything works fine, why don't we start the workflow?
Wow... Why execution failed?
RequestorId: dbaf8233-b7f4-cc8e-0000-000000000000. Details: An unhandled exception occurred during the execution of the workflow instance. Exception details: System.ApplicationException: HTTP 401 {"error":{"code":"-2147024891, System.UnauthorizedAccessException","message":{"lang":"en-US","value":"Access denied. You do not have permission to perform this action or access this resource."}}} {"Transfer-Encoding":["chunked"],"X-SharePointHealthScore":["2"],"SPRequestGuid":["dbaf8233-b7f4-cc8e-84d2-34863a603d9b"],"request-id":["dbaf8233-b7f4-cc8e-84d2-34863a603d9b"],"X-FRAME-OPTIONS":["SAMEORIGIN"],"MicrosoftSharePointTeamServices":["15.0.0.4551"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1; RequireReadOnly"],"Cache-Control":["max-age=0, private"],"Date":["Fri, 25 Jul 2014 14:01:50 GMT"],"Server":["Microsoft-IIS\/8.0"],"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)
Wow... Why my bonus it's flying away?
Don't worry about it, the solution it's simple, even if the situation is frustrating.
The problem can be solved using central admin, look for Refresh trusted security token services metadata feed and run it now. Then make an iisreset.
If you are a lazy one use this small PowerShell
Get-SPTimerJob "RefreshMetadataFeed" | Start-SPTimerJobAnd now, let's go on with demo, and with the bonus :) .