Opening SharePoint documents in Visual Studio 11

Today I was trying to open the ProcessGuidance.html file …

image

A double-click, or a right-click > Open both resulted in Internet Explorer asking me if I want to Save or Cancel the document download. This was a surprise. I was expecting it to just open the web page.

image

It turns out that this is a setting in SharePoint Foundation 2010. Here are the steps I followed to fix this:

  1. Launched SharePoint 2010 Central Administration.
  2. Clicked Application Management > Manage web applications.
  3. Selected my web application.
  4. Selected General Settings.
  5. Scrolled down and selected Permissive Browser File Handling.

image

Now the document opens up in the browser, rather than prompting me to save it!