Could not load file or assembly 'Microsoft.Workflow.Client

This issue was really a headache for me today. In my farm of four servers i have 2 WFE and 2 APP servers (of course a DB server separately). I have configured Workflow Manager on 1 APP server and Workflow Manager Client on all of the remaining servers. Suddenly i started getting error on workflows and the GUID lead me to the below ULS logs of SharePoint.

[code]07/15/2016 23:28:06.77 w3wp.exe (0x0E40) 0x2B54 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (GET:http://mysharepointapplication:80/newsite/test/_layouts/15/Workflow.aspx?ID=20&List=%7B18957A04-11A4-4016-9404-B1D3897619EF%7D&Source=http%3A%2F%2Fmysharepointapplication%2Fit%2Fsystems%2Fsystems%2Ftest%2FLists%2FCustom%2520List%2FAllItems%2Easpx%3FInitialTabId%3DRibbon%252ERead%26VisibilityContext%3DWSSTabPersistence) da1f909d-545f-60b2-1cdd-8923ed950a7a 07/15/2016 23:28:06.77 w3wp.exe (0x0E40) 0x2B54 SharePoint Foundation Authentication Authorization agb9s Medium Non-OAuth request. IsAuthenticated=True, UserIdentityName=0#.w|mydomain\username, ClaimsCount=24 da1f909d-545f-60b2-1cdd-8923ed950a7a 07/15/2016 23:28:06.77 w3wp.exe (0x0E40) 0x2B54 SharePoint Foundation Logging Correlation Data xmnv Medium Site=/ da1f909d-545f-60b2-1cdd-8923ed950a7a 07/15/2016 23:28:06.78 w3wp.exe (0x0E40) 0x2B54 SharePoint Foundation Files ak8dj High UserAgent not available, file operations may not be optimized. at Microsoft.SharePoint.SPFileStreamManager.CreateCobaltStreamContainer(SPFileStreamStore spfs, ILockBytes ilb, Boolean copyOnFirstWrite, Boolean disposeIlb) at Microsoft.SharePoint.SPFileStreamManager.SetInputLockBytes(SPFileInfo& fileInfo, SqlSession session, PrefetchResult prefetchResult) at Microsoft.SharePoint.CoordinatedStreamBuffer.SPCoordinatedStreamBufferFactory.CreateFromDocumentRowset(Guid databaseId, SqlSession session, SPFileStreamManager spfstm, Object[] metadataRow, SPRowset contentRowset, SPDocumentBindRequest& dbreq, SPDocumentBindResults& dbres) at Microsoft.SharePoint.SPSqlClient.GetDocumentContentRow(Int32 rowOrd, Object ospFileStmMgr, SPDocumentBindRequest& dbreq, SPDocumentBindResults& dbres... da1f909d-545f-60b2-1cdd-8923ed950a7a 07/15/2016 23:28:06.78* w3wp.exe (0x0E40) 0x2B54 SharePoint Foundation Files ak8dj High ...) at Microsoft.SharePoint.Library.SPRequestInternalClass.GetFileAndMetaInfo(String bstrUrl, Byte bPageView, Byte bPageMode, Byte bGetBuildDependencySet, String bstrCurrentFolderUrl, Int32 iRequestVersion, Byte bMainFileRequest, Boolean& pbCanCustomizePages, Boolean& pbCanPersonalizeWebParts, Boolean& pbCanAddDeleteWebParts, Boolean& pbGhostedDocument, Boolean& pbDefaultToPersonal, Boolean& pbIsWebWelcomePage, String& pbstrSiteRoot, Guid& pgSiteId, UInt32& pdwVersion, String& pbstrTimeLastModified, String& pbstrContent, UInt32& pdwPartCount, Object& pvarMetaData, Object& pvarMultipleMeetingDoclibRootFolders, String& pbstrRedirectUrl, Boolean& pbObjectIsList, Guid& pgListId, UInt32& pdwItemId, Int64& pllListFlags, Boolean& pbAccessDenied, Guid& pgDocid, Byte& piLevel, UInt64& ppermMask, ... da1f909d-545f-60b2-1cdd-8923ed950a7a 07/15/2016 23:28:06.78* w3wp.exe (0x0E40) 0x2B54 SharePoint Foundation Files ak8dj High ...Object& pvarBuildDependencySet, UInt32& pdwNumBuildDependencies, Object& pvarBuildDependencies, String& pbstrFolderUrl, String& pbstrContentTypeOrder, Guid& pgDocScopeId) at Microsoft.SharePoint.Library.SPRequestInternalClass.GetFileAndMetaInfo(String bstrUrl, Byte bPageView, Byte bPageMode, Byte bGetBuildDependencySet, String bstrCurrentFolderUrl, Int32 iRequestVersion, Byte bMainFileRequest, Boolean& pbCanCustomizePages, Boolean& pbCanPersonalizeWebParts, Boolean& pbCanAddDeleteWebParts, Boolean& pbGhostedDocument, Boolean& pbDefaultToPersonal, Boolean& pbIsWebWelcomePage, String& pbstrSiteRoot, Guid& pgSiteId, UInt32& pdwVersion, String& pbstrTimeLastModified, String& pbstrContent, UInt32& pdwPartCount, Object& pvarMetaData, Object& pvarMultipleMeetingDoclibRootFolders, String& pbst... da1f909d-545f-60b2-1cdd-8923ed950a7a 07/15/2016 23:28:06.78* w3wp.exe (0x0E40) 0x2B54 SharePoint Foundation Files ak8dj High ...rRedirectUrl, Boolean& pbObjectIsList, Guid& pgListId, UInt32& pdwItemId, Int64& pllListFlags, Boolean& pbAccessDenied, Guid& pgDocid, Byte& piLevel, UInt64& ppermMask, Object& pvarBuildDependencySet, UInt32& pdwNumBuildDependencies, Object& pvarBuildDependencies, String& pbstrFolderUrl, String& pbstrContentTypeOrder, Guid& pgDocScopeId) at Microsoft.SharePoint.Library.SPRequest.GetFileAndMetaInfo(String bstrUrl, Byte bPageView, Byte bPageMode, Byte bGetBuildDependencySet, String bstrCurrentFolderUrl, Int32 iRequestVersion, Byte bMainFileRequest, Boolean& pbCanCustomizePages, Boolean& pbCanPersonalizeWebParts, Boolean& pbCanAddDeleteWebParts, Boolean& pbGhostedDocument, Boolean& pbDefaultToPersonal, Boolean& pbIsWebWelcomePage, String& pbstrSiteRoot, Guid& pgSiteId, UInt32& pdwVersion,... da1f909d-545f-60b2-1cdd-8923ed950a7a 07/15/2016 23:28:06.78* w3wp.exe (0x0E40) 0x2B54 SharePoint Foundation Files ak8dj High ... String& pbstrTimeLastModified, String& pbstrContent, UInt32& pdwPartCount, Object& pvarMetaData, Object& pvarMultipleMeetingDoclibRootFolders, String& pbstrRedirectUrl, Boolean& pbObjectIsList, Guid& pgListId, UInt32& pdwItemId, Int64& pllListFlags, Boolean& pbAccessDenied, Guid& pgDocid, Byte& piLevel, UInt64& ppermMask, Object& pvarBuildDependencySet, UInt32& pdwNumBuildDependencies, Object& pvarBuildDependencies, String& pbstrFolderUrl, String& pbstrContentTypeOrder, Guid& pgDocScopeId) at Microsoft.SharePoint.SPWeb.GetWebPartPageContent(Uri pageUrl, Int32 pageVersion, PageView requestedView, HttpContext context, Boolean forRender, Boolean includeHidden, Boolean mainFileRequest, Boolean fetchDependencyInformation, Boolean& ghostedPage, String& siteRoot, Guid& siteId, Int64& bytes, ... da1f909d-545f-60b2-1cdd-8923ed950a7a 07/15/2016 23:28:06.78* w3wp.exe (0x0E40) 0x2B54 SharePoint Foundation Files ak8dj High ...Guid& docId, UInt32& docVersion, String& timeLastModified, Byte& level, Object& buildDependencySetData, UInt32& dependencyCount, Object& buildDependencies, SPWebPartCollectionInitialState& initialState, Object& oMultipleMeetingDoclibRootFolders, String& redirectUrl, Boolean& ObjectIsList, Guid& listId) at Microsoft.SharePoint.ApplicationRuntime.SPRequestModuleData.FetchWebPartPageInformationForInit(HttpContext context, SPWeb spweb, Boolean mainFileRequest, String path, Boolean impersonate, Boolean& isAppWeb, Boolean& fGhostedPage, Guid& docId, UInt32& docVersion, String& timeLastModified, SPFileLevel& spLevel, String& masterPageUrl, String& customMasterPageUrl, String& webUrl, String& siteUrl, Guid& siteId, Object& buildDependencySetData, SPWebPartCollectionInitialState& initialState, ... da1f909d-545f-60b2-1cdd-8923ed950a7a 07/15/2016 23:28:06.78* w3wp.exe (0x0E40) 0x2B54 SharePoint Foundation Files ak8dj High ...String& siteRoot, String& redirectUrl, Object& oMultipleMeetingDoclibRootFolders, Boolean& objectIsList, Guid& listId, Int64& bytes) at Microsoft.SharePoint.ApplicationRuntime.SPRequestModuleData.GetWebPartPageData(HttpContext context, String path, Boolean throwIfFileNotFound) at Microsoft.SharePoint.ApplicationRuntime.SPVirtualPathProvider.GetCacheKey(String virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultFromCacheInternal(VirtualPath virtualPath, Boolean ensureIsUpToDate) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithN... da1f909d-545f-60b2-1cdd-8923ed950a7a 07/15/2016 23:28:06.78* w3wp.exe (0x0E40) 0x2B54 SharePoint Foundation Files ak8dj High ...oAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean ensureIsUpToDate) at System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection) at System.Web.UI.Page.ApplyMasterPage() at System.Web.UI.Page.PerformPreInit() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean in... da1f909d-545f-60b2-1cdd-8923ed950a7a 07/15/2016 23:28:06.78* w3wp.exe (0x0E40) 0x2B54 SharePoint Foundation Files ak8dj High ...cludeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error) at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb) at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeReque... da1f909d-545f-60b2-1cdd-8923ed950a7a 07/15/2016 23:28:06.78* w3wp.exe (0x0E40) 0x2B54 SharePoint Foundation Files ak8dj High ...stContext, IntPtr moduleData, Int32 flags) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus) at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) da1f909d-545f-60b2-1cdd-8923ed950a7a 07/15/2016 23:28:06.78 w3wp.exe (0x0E40) 0x2B54 SharePoint Foundation Files aiv4w Medium Spent 0 ms to bind 29798 byte file stream da1f909d-545f-60b2-1cdd-8923ed950a7a 07/15/2016 23:28:06.80 w3wp.exe (0x0E40) 0x2B54 Web Content Management Publishing 7fz3 Medium Setting [Display] as the FormContext.FormMode for the current page da1f909d-545f-60b2-1cdd-8923ed950a7a 07/15/2016 23:28:06.83 w3wp.exe (0x0E40) 0x2B54 SharePoint Foundation General 8nca Medium Application error when access /_layouts/15/Workflow.aspx, Error=Could not load file or assembly 'Microsoft.Workflow.Client, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. at Microsoft.SharePoint.WorkflowServices.FabricWorkflowInstanceProvider.EnumerateByMonitoringParameter(Guid monitoringParameter, Int32 offset, Int32 count, Boolean checkPermissions, Nullable`1 secondaryMonitoringParameter) at Microsoft.SharePoint.WorkflowServices.FabricWorkflowInstanceProvider.EnumerateInstancesForListItem(Guid listId, Int32 itemId, Int32 offset) at Microsoft.SharePoint.WorkflowServices.FabricWorkflowInstanceProvider.EnumerateInstancesForListItem(Guid listId, Int32 itemId) at Microsoft.SharePoint.Workf... da1f909d-545f-60b2-1cdd-8923ed950a7a 07/15/2016 23:28:06.83* w3wp.exe (0x0E40) 0x2B54 SharePoint Foundation General 8nca Medium ...lowServices.ApplicationPages.WorkflowPageBase.ConstructStatusArraysWF4(ArrayList running, ArrayList completed, Boolean onlyMyWorkflows) at Microsoft.SharePoint.WorkflowServices.ApplicationPages.WorkflowPage.ConstructStatusArrays() at Microsoft.SharePoint.WorkflowServices.ApplicationPages.WorkflowPage.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) da1f909d-545f-60b2-1cdd-8923ed950a7a 07/15/2016 23:28:06.83 w3wp.exe (0x0E40) 0x2B54 SharePoint Foundation Runtime tkau Unexpected System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Workflow.Client, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. at Microsoft.SharePoint.WorkflowServices.FabricWorkflowInstanceProvider.EnumerateByMonitoringParameter(Guid monitoringParameter, Int32 offset, Int32 count, Boolean checkPermissions, Nullable`1 secondaryMonitoringParameter) at Microsoft.SharePoint.WorkflowServices.FabricWorkflowInstanceProvider.EnumerateInstancesForListItem(Guid listId, Int32 itemId, Int32 offset) at Microsoft.SharePoint.WorkflowServices.FabricWorkflowInstanceProvider.EnumerateInstancesForListItem(Guid listId, Int32 itemId) at Microsoft.SharePoint.WorkflowServices.ApplicationPages.W... da1f909d-545f-60b2-1cdd-8923ed950a7a 07/15/2016 23:28:06.83* w3wp.exe (0x0E40) 0x2B54 SharePoint Foundation Runtime tkau Unexpected ...orkflowPageBase.ConstructStatusArraysWF4(ArrayList running, ArrayList completed, Boolean onlyMyWorkflows) at Microsoft.SharePoint.WorkflowServices.ApplicationPages.WorkflowPage.ConstructStatusArrays() at Microsoft.SharePoint.WorkflowServices.ApplicationPages.WorkflowPage.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) da1f909d-545f-60b2-1cdd-8923ed950a7a 07/15/2016 23:28:06.83 w3wp.exe (0x0E40) 0x2B54 SharePoint Foundation General ajlz0 High Getting Error Message for Exception System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Workflow.Client, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. File name: 'Microsoft.Workflow.Client, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' at Microsoft.SharePoint.WorkflowServices.FabricWorkflowInstanceProvider.EnumerateByMonitoringParameter(Guid monitoringParameter, Int32 offset, Int32 count, Boolean checkPermissions, Nullable`1 secondaryMonitoringParameter) at Microsoft.SharePoint.WorkflowServices.FabricWorkflowInstanceProvider.Enum... da1f909d-545f-60b2-1cdd-8923ed950a7a 07/15/2016 23:28:06.83* w3wp.exe (0x0E40) 0x2B54 SharePoint Foundation General ajlz0 High ...erateInstancesForListItem(Guid listId, Int32 itemId, Int32 offset) at Microsoft.SharePoint.WorkflowServices.FabricWorkflowInstanceProvider.EnumerateInstancesForListItem(Guid listId, Int32 itemId) at Microsoft.SharePoint.WorkflowServices.ApplicationPages.WorkflowPageBase.ConstructStatusArraysWF4(ArrayList running, ArrayList completed, Boolean onlyMyWorkflows) at Microsoft.SharePoint.WorkflowServices.ApplicationPages.WorkflowPage.ConstructStatusArrays() at Microsoft.SharePoint.WorkflowServices.ApplicationPages.WorkflowPage.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.HandleError(Exception e) at System.W... da1f909d-545f-60b2-1cdd-8923ed950a7a 07/15/2016 23:28:06.83* w3wp.exe (0x0E40) 0x2B54 SharePoint Foundation General ajlz0 High ...eb.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) da1f909d-545f-60b2-1cdd-8923ed950a7a 07/15/2016 23:28:06.83 w3wp.exe (0x0E40) 0x2B54 SharePoint Foundation General aat87 Monitorable da1f909d-545f-60b2-1cdd-8923ed950a7a 07/15/2016 23:28:06.83 w3wp.exe (0x0E40) 0x2B54 SharePoint Foundation Micro Trace uls4 Medium Micro Trace Tags: 0 nasq,2 agb9s,20 ak8dj,12 7fz3,29 8nca,0 tkau,0 ajlz0,0 aat87 da1f909d-545f-60b2-1cdd-8923ed950a7a 07/15/2016 23:28:06.83 w3wp.exe (0x0E40) 0x2B54 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (GET:http://mysharepointapplication:80/newsite/test/_layouts/15/Workflow.aspx?ID=20&List=%7B18957A04-11A4-4016-9404-B1D3897619EF%7D&Source=http%3A%2F%2Fmysharepointapplication%2Fit%2Fsystems%2Fsystems%2Ftest%2FLists%2FCustom%2520List%2FAllItems%2Easpx%3FInitialTabId%3DRibbon%252ERead%26VisibilityContext%3DWSSTabPersistence)). Execution Time=69.4163 da1f909d-545f-60b2-1cdd-8923ed950a7a [/code]


I would really like to thank Stephan Bren for answering here and it worked for me perfectly fine. Below are the steps i followed and it worked. You may need to do further steps in case the issue do not fix.

  1. Install hotfix KB2880963.
  2. On the application server hosting Workflow Manager 2013, stop and restart these services:
    • Service Bus GatewayService
    • Bus Message Broker
    • Workflow Manager Backend
  3. Lastly, restart IIS on the WFEs.
References
Notes
  • After installing this hotfix on all of the SharePoint 2013 servers, you may find that running the SharePoint Products Configuration Wizard returns an error:
    Error: Some farm products and patches were not detected on this or other servers. If products or patches are missing locally...
    If this occurs, execute Get-SPProduct -Local on each of the machines identified in the error message.  It may take several minutes for this command to finish.
  • In Solution Step 2), above, I mention restarting workflow services.  It's not clear to me whether all of them need to be restarted, one or more of them, or maybe just restarting IIS, or some other combination of these.  Whichever the case may be, this is the combination I did to recover from experiencing an error clicking on Workflows for a list item, after installing the hotfix.  This approach worked for resolving this problem on both my development and production farms.

Comments

  1. We're already patched up to August 2016 CU. Will installing this hotfix cause any issues because of downgraded files? Or will it even install if a newer build number is found on the farm?

    ReplyDelete
    Replies
    1. As per my knowledge, it would not install as you already have the later version. You cannot downgrade SharePoint once you have installed and executed the new patch/CU. Did you try reinstalling on the problematic server?

      Delete
    2. Could Not Load File Or Assembly 'Microsoft.Workflow.Client >>>>> Download Now

      >>>>> Download Full

      Could Not Load File Or Assembly 'Microsoft.Workflow.Client >>>>> Download LINK

      >>>>> Download Now

      Could Not Load File Or Assembly 'Microsoft.Workflow.Client >>>>> Download Full

      >>>>> Download LINK PR

      Delete
  2. I Suddenly getting the same error. Your guide help me a lot. Thank you.

    ReplyDelete
  3. Could Not Load File Or Assembly 'Microsoft.Workflow.Client >>>>> Download Now

    >>>>> Download Full

    Could Not Load File Or Assembly 'Microsoft.Workflow.Client >>>>> Download LINK

    >>>>> Download Now

    Could Not Load File Or Assembly 'Microsoft.Workflow.Client >>>>> Download Full

    >>>>> Download LINK um

    ReplyDelete

Post a Comment

Popular Posts

GREYCstoration Oil Paint plugin for Photoshop

Service Bus Gateway service stuck at Starting

PowerApps SubmitForm not clearing People Picker value

Apple iPhone sending SMS automatically 00447786205094

Download file failed signature verification and may have been tampered with - Workflow Manger 1.0 Refresh (CU2)