开发者

SharePoint 2010, IIS 7 and MHTML files

I have just migrated from IIS 6/ SharePoint 2007 to Windows 2008 with SharePoint 2010. We had a control that servers content with .MHT files. In SharePoint 2007 it was simply able to open it within the same window. In SharePoint 2010 it is showing a "SAVE FILE DIALOG". So, how can I开发者_如何学Python fix this so that IE automatically opens it just the way it does in SharePoint 2007 without showing a "SAVE FILE AS" dialog?

Thanks


Brute Force way:

Central Administration > Manage Web Applications > Select your Web Application > General Settings > Set the File Handling from "Strict" to "Permissive"

There is a better way, but I don't have the link right now (will need to look it up again tomorrow). Essentially through a PowerShell command you can whitelist file extensions rather than setting the entire web app to Permissive.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜