Office 2010 files are prompted for credentials when opening from SharePoint 2013


ISSUE:

 

When opening an Office 2010 file from a SharePoint 2013 site, users are prompted for credentials even though client integration is disabled in SharePoint Central Administration.

  

CAUSE:

 

There is an additional HEAD request which returns a 403 Forbidden response. 

 

For example, if you take a network trace, you may see something like this:

 

HEAD https://int-www.sharepointportal.test.com/Documents/test.docx HTTP/1.1

Connection: Keep-Alive

Cookie: BIGipServer~seccp~int-www.sharepointportal.test.com-ssl=rd2861o00000dfdsfddsfdd0ffff0ab33040o5000; ASP.NET_SessionId=whcr4m0unufc483493jf4f0hn; s_vi=[CS]v1|2A0851ED051D1A84-4000013540001FFC[CE]; s_fid=241D25D30F5546C1-15779EB616A64E07; s_nr=1411663880736-Repeat; s_vnum=1411704000263%26vn%3D4; s_invisit=true; gpv_pageName=Login%20to%20SharePoint%20Portal; s_cc=true; SC_LINKS=%5B%5BB%5D%5D; s_sq=%5B%5BB%5D%5D

User-Agent: Microsoft Office Word 2013 (15.0.4615) Windows NT 6.1

X-IDCRL_ACCEPTED: t

Host: int-www.sharepointportal.test.com

  

HTTP/1.1 403 FORBIDDEN

Content-Length: 13

Content-Type: text/plain; charset=utf-8

Server: Microsoft-IIS/7.5

X-SharePointHealthScore: 0

SPRequestGuid: 64febb9c-f42f-90b8-4c8d-a753439264e3

request-id: 64febb9c-f42f-90b8-4c8d- a753439264e3

X-Forms_Based_Auth_Required: https://int-www.sharepointportal.test.com/_login/default.aspx?ReturnUrl=/_layouts/15/error.aspx&Source=%2fDocuments%2ftest.docx

X-Forms_Based_Auth_Return_Url: https://int-www.sharepointlportal.test.com/_layouts/15/error.aspx

X-MSDAVEXT_Error: 917656; Access denied. Before opening files in this location, you must first browse to the web site and select the option to login automatically.

  

RESOLUTION:

 

-  For IE 8 and 9 block the verbs OPTIONS, PROPFIND and if necessary HEAD in the Request Filtering section in IIS.

If you are using Windows Server 2008 or Windows Server 2008 R2:

            On the taskbar, click Start, point to Administrative Tools, and then click Internet Information Services (IIS) Manager

    If you are using Windows Vista or Windows 7:

          On the taskbar, click Start, and then click Control Panel Double-click Administrative Tools, and then double-click Internet Information Services (IIS) Manager.

    In the Connections pane,

         Go to the connection, site, application, or directory for which you want to modify your request filtering settings.

         Home pane, double-click Request Filtering.In the Request Filtering pane, click the HTTP verbs tab, and then click Deny Verb... in the Actions pane.  

NOTE:  Office 2010 may issue a HEAD request in addition to the OPTIONS request. It is not recommended to suppress the HEAD request because it may be used by other applications for other purposes.

 --

-  For IE 10+ remove the X-MS-InvokeApp header from each web application.

 


Comments (1)

  1. della says:

    nice one…

    http://www.10thresult2016.com
    http://www.10thresult2016.com/2016/01/nagaland-board-NBSE-HSLC-10th-result-2016.html
    http://www.10thresult2016.com/2016/01/jharkhand-board-10th-result-2016.html
    http://www.10thresult2016.com/2016/01/orissa-board-10th-result-2016.html
    http://www.10thresult2016.com/2016/01/mp-board-mpbse10th-result-2016.html
    http://www.10thresult2016.com/2016/01/hp-board-hpbose-10th-result-2016.html
    http://www.10thresult2016.com/2016/01/meghalya-board-mbose-10th-result-2016.html
    http://www.10thresult2016.com/2016/01/cbse-board-10th-result-2016.html
    http://www.10thresult2016.com/2016/01/jkbose-jammu-kashmir10th-result-2016.html
    http://www.10thresult2016.com/2016/01/icse-10th-result-2016.html
    http://www.10thresult2016.com/2016/01/tamilnadu-board-tnbse-10th-result-2016.html
    http://www.10thresult2016.com/2016/01/uttarkhand-board-ubse-10th-result-2016.html
    http://www.10thresult2016.com/2016/01/up-upbse-10th-result-2016.html
    http://www.10thresult2016.com/2016/01/assam-board-seba-10th-result-2016.html
    http://www.10thresult2016.com/2016/01/chhattisgarh-board-cgbse-10th-result-2016.html
    http://www.10thresult2016.com/2016/01/punjab-board-pseb-10th-result-2016.html
    http://www.10thresult2016.com/2016/01/bihar-board-bseb-10th-result-2016.html
    http://www.10thresult2016.com/2016/01/haryana-board-hbse-10th-result-2016.html
    http://www.10thresult2016.com/2016/01/rajasthan-board-rbse-10th-result-2016.html
    http://www.10thresult2016.com/2016/01/nios-board-10th-result-2016.html
    http://www.10thresult2016.com/2016/01/10th-result-2016.html

Skip to main content