MHT/MHTML files are opening in MS Word in SharePoint 2013 instead of Browser

MHT/MHTML files are opening in MS Word in SharePoint 2013 instead of Browser

By Asijit Giri  •  October 29, 2014  •  6078 Views

Netwoven Blog

You have SharePoint 2013 On Premises Deployment.  When you try to open the files from your SharePoint sites, with file extension .MHT or .MHTML, the files get opened via Microsoft Word.

You want these files to be opened by your Browser instead.

Cause

The file open behavior is driven by DOCICON.xml file under the SharePoint configuration file.  This file is located under – C:Program FilesCommon Filesmicrosoft sharedWeb Server Extensions15TEMPLATEXML folder.

In this case, MS Word in configured as the file open application DOCICON.xml file like below.

a1

Resolution

You will need to update this setting like below in the DOCICON.XML on all the SharePoint Application and Web Front End server of the Farm. Perform the following changes on each server such that the Edittext/OpenControl/OpenApp is not set in which case the browser end user client File Association settings will take precedence. Where by default the file extension association is Browse for .MHT and .MHTML on the user client desktops.

Before:

a2

After:

a3

After saving the above settings, restart your IIS server to re-cache the new settings to take effect.

2 comments

  1. Hey Carina- Could you please describe the issue in details. Please share the error screenshot if possible.

    Thanks!

Leave a comment

Your email address will not be published. Required fields are marked *

Dublin Chamber of Commerce
Microsoft Partner
Microsoft Partner
Microsoft Partner
Microsoft Partner
Microsoft Partner
Microsoft Partner
Microsoft Fast Track
Microsoft Partner
Microsoft Fabric
MISA
MISA
Unravel The Complex
Stay Connected

Subscribe and receive the latest insights

Netwoven Inc. - Microsoft Solutions Partner

Get involved by tagging Netwoven experiences using our official hashtag #UnravelTheComplex