locked
SharePoint and Nintex workflow - Error 0x80070005 (E_ACCESSDENIED) RRS feed

  • Question

  • Dear all,

    1 Month ago, we started to get strange errors with sharepoint and nintex.
    After a workflow has been initiated and some days after if someone try to approve a task (not the case for all user) the workflow is stucking in status 15 with the error:

    System.Workflow.Runtime Error: 1 : Subscription handler of Activity review17bb1fc639b94ba7abcebcb914b1b119.replicatorActivity1 threw System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
       at Microsoft.SharePoint.Library.SPRequest.OpenWeb(String bstrUrl, String& pbstrServerRelativeUrl, String& pbstrTitle, String& pbstrDescription, String& pbstrTitleResourceId, String& pbstrDescriptionResourceId, Guid& pguidID, String& pbstrRequestAccessEmail, UInt32& pwebVersion, Guid& pguidScopeId, UInt32& pnAuthorID, UInt32& pnLanguage, UInt32& pnLocale, UInt16& pnTimeZone, Boolean& bTime24, Int16& pnCollation, UInt32& pnCollationLCID, Int16& pnCalendarType, Int16& pnAdjustHijriDays, Int16& pnAltCalendarType, Boolean& pbShowWeeks, Int16& pnFirstWeekOfYear, UInt32& pnFirstDayOfWeek, Int16& pnWorkDays, Int16& pnWorkDayStartHour, Int16& pnWorkDayEndHour, Int16& pnMeetingCount, Int32& plFlags, Boolean& bConnectedToPortal, String& pbstrPortalUrl, String& pbstrPortalName, Int32& plWebTemplateId, Int16& pnProvisionConfig, String& pbstrDefaultTheme, String& pbstrDefaultThemeCSSUrl, String& pbstrThemedCssFolderUrl, String& pbstrAlternateCSSUrl, String& pbstrCustomizedCssFileList, String& pbstrCustomJSUrl, String& pbstrAlternateHeaderUrl, String& pbstrMasterUrl, String& pbstrCustomMasterUrl, String& pbstrSiteLogoUrl, String& pbstrSiteLogoDescription, Object& pvarUser, Boolean& pvarIsAuditor, UInt64& ppermMask, Boolean& bUserIsSiteAdmin, Boolean& bHasUniquePerm, Guid& pguidUserInfoListID, Guid& pguidUniqueNavParent, Int32& plSiteFlags, DateTime& pdtLastContentChange, DateTime& pdtLastSecurityChange, String& pbstrWelcomePage, Boolean& pbOverwriteMUICultures, Boolean& pbMUIEnabled, String& pbstrAlternateMUICultures, Int32& puiVersion, Int16& pnClientTag)
       at Microsoft.SharePoint.SPWeb.InitWeb()
       at Microsoft.SharePoint.SPWeb.get_Title()
       at Microsoft.SharePoint.SPSite.OpenWeb(Guid gWebId, Int32 mondoHint)
       at Microsoft.SharePoint.Workflow.SPWinOEWSSService.GetWebForWorkflow(SPWorkflow wf, SPWorkflowUserContext runAsUser)
       at Microsoft.SharePoint.Workflow.SPWinOEWSSService.get_Web()
       at Microsoft.SharePoint.WorkflowActions.WorkflowContext.get_Web()
       at Nintex.Workflow.Activities.ReviewActivityInternal2.ChildCompleted(Object sender, ReplicatorChildEventArgs e)
       at System.Workflow.ComponentModel.Activity.RaiseGenericEvent[T](DependencyProperty dependencyEvent, Object sender, T e)
       at System.Workflow.Activities.ReplicatorActivity.HandleStatusChange(ActivityExecutionContext executionContext, ActivityExecutionStatusChangedEventArgs e, ReplicatorSubscriber subscriber)
       at System.Workflow.ComponentModel.ActivityExecutorDelegateInfo`1.ActivityExecutorDelegateOperation.Run(IWorkflowCoreRuntime workflowCoreRuntime)

    It's really look like the following KB (http://support.microsoft.com/en-us/kb/2843542) but workaround doesn't work.
    Users and SharePoint are in the same domain but user can contains some groups from another domain (trusted), and we use Claims. 3 new domain controller has been create at the same day than errors appears...

    Any idea how to resolve this issue?

    Thank in advance.

    Thursday, April 2, 2015 1:24 PM

Answers

  • After some discussion with an MS Engineer, it seem that the problem occurred due to our new domain controller version 2012 (in mode 2008).

    We applied the following fix https://support.microsoft.com/en-us/kb/2830145 and the problem seems to be solved. (This fix is also now part as windows updated)

    Hope can help someone.

    • Marked as answer by Jean-Yves Hug Tuesday, May 26, 2015 12:36 PM
    Tuesday, May 26, 2015 12:36 PM