SharePoint Link Click Error - sharepoint

Whenever I click on a link in SharePoint, ex: Excel document, SSRS Report, etc.; I always get an error that the page cannot be found. This is because "_layouts/15/download.aspx?SourceUrl=" is the default behaviour on click.
If I wight click and choose Open in New Tab, then it works fine.
How can I remove "_layouts/15/download.aspx?SourceUrl=" from being the default behaviour on click in SharePoint?

This can be caused by a setting in Central Admin which adds headers to the browser to download certain types of files.
You can change this setting by going to Central Admin >> Manage Web Applications >> select your Web Application >> General Settings and under "Browser File Handling" change it from "Strict" to "Permissive" or vice versa.
The automatic downloading forced by "strict" is a security feature, but can create a terrible user experience. Once it's set to "permissive" you can control the behavior for each MIME type individually, but the defaults should be fine.
If you need to change the settings for a MIME type here's link to do so using powershell: http://www.mssharepointtips.com/tip.asp?id=1187

Related

external content type but connect to outlook is disabled

We are unabel to enable the "Connect to outlook" ribbon button for our external list.
The external list is based on a external content type which uses a simple Web service.
The browser based UI works just great as expected but we are unable to get the "Connect to Outlook" ribbon button to becoem enabled.
We have installed all the necessary client side installs, and the connect to outlook button works fine for regualr lists.
We have mapped it to a outlook type "Contact" within SharePoint designer and mapped the single requried field of "LastName".
Unfortunately it still will not enable, has anyone had this problem or no a fix please?
If you are using a newer version of IE, it most likely won't display. Go to the browsers "gear" in the top right hand corner, click and select "Compatibility View Settings" - click add and then close and refresh, that should do the trick.

SharePoint 2013: hover on search result automatically starts downloading document

I have configured a search results webpart to show documents based on the search keywords.
As soon as I hover on any of the search result item, it automatically triggers download and asks weather to save the document or open it directly.
This issue is coming on IE.
I have come to find the root cause of the problem but not the solution(Will update when I get to the solution).
As it is an intranet portal, IE has its default security settings to medium-low(It is medium for internet sites).
Under medium-low security settings Allow Active-X filtering is disabled. Enabling it solved the issue.
PS: You can get to the settings by clicking on TOOLS->INTERNET OPTIONS->SECURITY->LOCAL INTRANET.

Sharepoint 2007 ignoring IIS MIME types

I have two WebSites configured in my IIS 6.0. The first one is a normal WebSite and the other is a Sharepoint Web Application.
In order to setup the MIME type for .mp4 files, I went to both WebSites properties and under HTTP Header I clicked on "MIME Types..." button and entered:
Extension: .mp4
MIME Type: video/mp4
It works fine for the normal WebSite. But the Sharepoint WebSite seems to ignore this configuration (the HTTP response header content-type field is missing).
Is there a way to configure a Sharepoint Web Application to understand different content-types?
Please verify below settings(for SP2010).
Open Central Administration Site.
On left hand menu, click on Application Management.
In “Web Applications” section, Click on “Manage web applications” link.
Select the desired application by clicking on it.
Now on the Ribbon menu (Top Menu), Click on General Settings Icon arrow. A pop up will open, in this pop up select General Settings.
Another pop up page will open, scroll down the page and go to “Browser File Handling” section.
In my case by default it was set to strict. I change this setting to Permissive.
Click OK and it was done.
If it solves your issues, have a look at detailed description here

Can't open PDF files in SharePoint 2010 with Internet Explorer

So we couldn't open .pdf in the browser in our SP2010 site. I set the setting to permissive browser file handling in central admin. I then found out that there's a bug that if a site is created from a custom template the pdf files uploaded to that site will still prompt for either Save or Cancel. I ran a hotfix on the server
http://support.microsoft.com/kb/2459108
Consider the following scenario:
You set Browser File Handling to Permissive for a web application in the General settings page in SharePoint 2010 Central Administration.
You create a document library, and then upload an html document.
You open the html document in the browser.
Note You are not prompted to download the html document and it is rendered in the browser.
You select to include the content when you save the SharePoint site as a template.
You use the template to create a new SharePoint site in the same web application.
In this scenario, the Browser File Handling list setting for the document library in the new site is set to Strict. Additionally, when you open the html document, you are prompted to download the file.
Now when I click on a pdf with firefox I can open it directly but with internet explorer (8 and 9, default settings) I still can't do it, what's the solution here?
Edit: Maybe it always worked in firefox, anyway, when I create a new library it works as expected. How can I run this setting on all libraries?
There's a different, more subtle, but simpler root cause of this problem.
After much web searching and many hours with MSFT support, as hard as this may be to believe, it turns out that the root cause of my "SharePoint won't open PDF documents" problem was actually an Adobe extension/add-on. The symptom was an Adobe error msg "failed to open" after clicking the PDF list item in a document library. The culprit, an Adobe extension/add-on: "Adobe Acrobat SharePoint OpenDocuments Component".
I do not know how this got installed. What I do (finally) know is that this component actually does the exact opposite of what its name implies, i.e., it apparently prevents PDF documents from opening up when clicked in a SharePoint 2010 document library.
After various failed attempts to solve this problem (including changing "Browser File Handler" settings on the web app server from "Strict" to "Permissive" and other fixes suggested below and elsewhere on various blogs and web sites), nothing fixed the problem until we disabled this Adobe extension/add-on. Then, problem solved.
Note that you may not see this component in the "Tools > Manage Add-Ons" list until after attempting to open a PDF document from the library: apparently the add-on isn't activated (won't appear in that list) until an 'open' attempt is made. SO - if at first you don't see the component listed, try to open a PDF file and check the list again. If this component appears, disable it, and your problem is likely to go away.
Baffling, at best; or worse, actually nefarious on Adobe's part ...?
I'd still like to know how to get the PDF to open in a separate browser tab in IE vs. displacing the active tab. If anyone can help with that, please let me know! No custom coding solutions, PLEASE!
There is a better way to handle "Browser File Handle" issue. Take a look at my blog here: http://www.pdfsharepoint.com/sharepoint-2010-and-pdf-integration-series-part-1/
Solution #2 addresses Pdf extension without exposing entire Web Application to "Permissive" browsing. Setting "Browsing File Handle" to "permissive" opens too many vulnerabilities with other file extensions.
Thanks,
Dmitry
I have the same problem - originally installed Office Web apps, then turned that off, turned on the open in client application, then changed the setting on each doc library to open in browser .. Still have a problem with PDFs though.
If somebody includes a link to them in an announcement, then that person can open, other not. But only in IE - in FF there is no problme
Just change the Browser File Handling for the Web Application from the central admin as:
Central Administration > Application Management > Manage Web Applications
go to your Web Application example "http://sharepoint:80, just select it
from the top ribbon click "General Settings"
go down to "Browser File Handling" and change it to "Permissive"
If am not clear go to http://www.pdfsharepoint.com/sharepoint-2010-and-pdf-integration-series-part-1/
try this:
Make sure you're the site collection admin. Go into the site (not the central admin) and then go to site settings then go to site collection features. In there you will find the setting for " Open Documents in Client Applications by Default " it will probably be deactivated. Active it and you're good to go. users will then open attachments in their windows assigned applications, not the sharepoint web apps.
Also, try going into adobe reader and in the settings there is an option to open with the browser. check or uncheck it based on what you want it to do.
Encryption and SharePoint don't play well together
Right click My Documents or source folder
Select Properties > Advanced (button)
Uncheck "Encrypt contents to secure data"
This should solve many SharePoint problems you might have, including files not opening properly.
Appreciate this is an old post but still very relevant today. I spent a while trying to get this to work - just thought I'd share my findings.
This is specific to Adobe Acrobat. If you use a different PDF viewer, such as SumatraPDF the issue does not occur.
1. To prevent the 'Open, Save, Save As' dialog box in Internet Explorer:
This is specific to the versions of Acrobat. Set the following key/value:
Key: HKLM\SOFTWARE\Policies\Adobe\Acrobat Reader\*acrobat_version_number*\FeatureLockDown\cSharePoint
Value Name: bDisableSharePointFeatures
Value Type: REG_DWORD
Value: 0x1 (hex)
e.g.
For Acrobat X:
HKLM\SOFTWARE\Policies\Adobe\Acrobat Reader\11.0\FeatureLockDown\cSharePoint
2. To disable PDFs opening in the browser
This is specific to the versions of Acrobat. Set the following key/value:
Key: HKCU\Software\Adobe\Acrobat Reader\acrobat_version_number\Originals
Value Name: bBrowserIntegration
Value Type: REG_DWORD
Value: 0x0 (hex)
e.g.
For Acrobat X:
HKCU\Software\Adobe\Acrobat Reader\11.0\Originals
Thanks,
References:
Adobe Acrobat - Lockable Settings
Adobe Acrobat - General Application Settings

Force InfoPath form to open in Browser

I created an InfoPath form that uses VB code to push fields into a custom list I created on a SharePoint 2007 site. This part works.
I "published" the form into a form library.
I changed the settings on that form library to open items in the browser and allow editing of content types.
In InfoPath under Form Settings I chose the compatibility setting to allow this form to be opened in a browser, I linked to my Forms service online, and ran the design checker. No errors.
When I try to open it in the browser using the "Edit in Browser" setting I get this error message:
This form template is not currently
browser-enabled. It must either be
republished as a browser-enabled form,
or opened using Microsoft Office
InfoPath 2007.
No matter what I do, the form will not open in the browser. This is all I want. Did I miss something??
You need to upload your form thru Central Administration because you use code in your form. See this MSDN acticle.

Resources