Attempting to perform a “Show archived versions” operation on the archived item, fails with access denied error in Microsoft SharePoint.

book

Article ID: 100074428

calendar_today

Updated On:

Description

Error Message

On the Microsoft SharePoint site we see the error below:

Your search encountered an error. If the problem persists, contact the site administrator.
Error details:<0xc0041c0e> 

A Dtrace of the w3wp process on the SharePoint server shows the error message below:

(w3wp) <11804>              EV:L                CFederatedSearchBroker::DoFederatedSearch: VolumeSet=138.
(w3wp) <11804>              EV:L                CFederatedSearchBroker::DoFederatedSearch: Start async search on VolumeSet=138, Type=64bit, Computer=ev.ev.local
(w3wp) <11804>              EV:L        IndexQueryServerHttpConfig::Get. Returning config from cache: Path=/enterprisevault/search/indexserversearchservice/search, Port=80, Secure=false.
(w3wp) <11804>              EV:M     WinHttpSession::Initialize. Calling WinHttpOpen with agent IndexClient.
(w3wp) <11804>              EV:H       WinHttpSession::Initialize. WinHttpOpen FAILED HR=0x80070005.
(w3wp) <11804>              EV:H                IQSFederatedSearchItem::BeginSearch2. WinHttpSession.Initialize FAILED HR=0x80070005. 

Cause

When searching or viewing archived versions of an archived file, the operation is run in the context of the user performing the action. This is done to make sure that the user only sees the search results from the archive for which it has the necessary privileges in place. When running the search operation in the context of the user (who is non-admin on a Microsoft SharePoint server), certain Windows API calls fail due to the user not having sufficient privileges on the Microsoft SharePoint server.

Resolution

The Product Engineering team currently plans to address this issue through a patch or hotfix in the current software version. Please note that our company reserves the right to withdraw any fix from the targeted release if it fails quality assurance tests. Development plans are subject to change, and any actions you take based on this information, or your reliance on it, are at your own risk.

Issue/Introduction

When non-admin users on Microsoft SharePoint attempt to perform a Show archived versions operation on the archived item shortcut, it fails with an access denied error.

Additional Information

JIRA: CFT-7243