Opening SharePoint documents in Visual Studio 11

Opening SharePoint documents in Visual Studio 11

Posted by richard | March 16, 2012 | SharePoint, TFS 2012

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!

Related Blogs

Posted by richard | November 6, 2013
SharePoint 2013 support for Windows Server 2012 R2
UPDATE (14 March 2014) - As a few of you have pointed out, Service Pack 1 for Microsoft SharePoint Server 2013 is now available. Wanted to share a surprise impediment from...
Posted by richard | October 7, 2013
The One Work Item check-in policy
Thanks to my fellow Visual Studio ALM MVP Colin Dembovsky for building the “One Work Item” check-in policy that I was always too lazy to build. Judging by the title,...
Posted by Simon Reindl | March 14, 2013
Rename a TFS Project Collection
I was asked the other day how to rename a Team Project Collection. There is a way, and it is more like a three card shuffle than anything else, and...