IE8 asking for credentials when opening xls files office 2007 - excel

I'm using a 3rd party software which stores office documents and the front-end is a web-client.
Didn't have this issue when used with Office 2003.
With office 2007 when I try to open the document from IE it asks for Windows credentials, I can then cancel that and it would still open the document.
However if I click on 'Save' rather than 'Open' it saves the document without asking for any credentials.
I have applied the following Microsoft KB, but no result:
http://support.microsoft.com/Default.aspx?id=943280
Does IE behave different when you click on 'Open' or 'Save' other than one you choose the location and the other stores it in a temp (C:\Users\User\AppData\Local\Microsoft\Windows\Temporary Internet Files)
Also tested on other browsers, Chrome and Firefox and it works fine, but the 3rd party software only supports IE.
Any help is much appreciated.

Related

Strange hyperlink handling in Excell, clicking on links always prompts for sign in even when it shouldn't

From my enterprise application, I can export a list of assets into an Excel file or a PDF file which puts a clickable hyperlink that points to the asset. When I open the hyperlink in the browser by clicking on the hyperlink in the excel file, my application prompts me to sign in (which it shouldn't).
This doesn't happen when I click on the hyperlink in the PDF file or manually copy the hyperlink and paste it into the browser window. When I save this excel file as a PDF and then click on the hyperlinks then it works as expected(without re-prompt for sign in). I have also manually created hyperlinks both using the formula(=HYPERLINK) and using the Link context menu and the behaviour is the same in these two cases (Prompted for signing). I have also tried this with word and it's also prompting for me to sign in.
Is Excell/MS Office doing anything additional whenever I click on these hyperlinks and if so how can I disable this functionality? How are external URL's handled in the MS office?
My document would look something like below(with a lot more columns)
This is because when a hyperlink is opened in any word document MS office process it and if it needs to be opened in a browser it opens with a new session ignoring the session id. Some SSO providers do not recognise authentications across sessions and hence prompt for authentication again. This can be avoided by instructing the MS office to open the URLs directly in the browser by modifying the registry key.
Create a new DWORD named ForceShellExecute and set its value to 1 in the below registry entries (Most probably the registry key will not be present, create a new one)
For 32-bit versions of Office installed on 64-bit operating systems:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Office\9.0\Common\Internet
For 32-bit versions of Office installed on 32-bit operating systems, or 64-bit versions of Office installed on 64-bit operating systems:
HKEY_LOCAL_MACHINE\Software\Microsoft\Office\9.0\Common\Internet
Note: Even though I have 64bit Office 365 enterprise I had to set the 32bit registry key.
Links to Microsoft KB articles: Issue explanation and Solution

Default browser in excel addin

I am working on Excel add-in but I am new in office.js.
I would like to know if there is a way to set a browser different from IE 11 as default browser to open the add-in.
I saw the same question on URL below, but I didnĀ“t find if the API mentioned on the answer was developed.
How to set the default browser in word addin
I'm afraid that there is currently no API to determine which browser is used when the add-in is running in desktop Office on Windows. (If it is running in Office Online, then of course it opens in whatever browser you are using.)

Can I create a browser extension that prevents download of specific file types and forwards user to a link?

I want to create an extension that prevents Office documents download and instead opens them in Office Online. Do browsers (preferably Chrome and Edge) have such API and what code do I need to write to implement my idea?
If we talk about Edge then we cannot stop the file from getting download.
If you have the direct link of file then you can directly open it using Office Online.
You can try to store your Office files on OneDrive. Then you can open it via Office Online.
There is an extension available which supports both Chrome and Edge for the same purpose.
If you store the file in OneDrive then it can open the documents in Office online.
But, It cannot stop the Office files from getting download.
Quick access to your Office files in the browser
I did not get any code example to develop the extension that can prevent the user from downloading the Office file and open it in Office Online.
For chrome (although Edge is supposed to support chrome APIs but I've not tested) please check a potential solution at https://browserextensionresources.blogspot.com/2018/09/intercepting-file-download-in-chrome.html

SharePoint and Forms Based Authentication Issue - Office Apps no longer work

We have several sites that use Forms Based authentication (FBA) within SharePoint. Many of them have been running for months without issues. Within the last week or two we have noticed the following behavior for users trying to access a Read Only Microsoft office document (currently only verified with the 2007 versions of Excel and Word).
The behavior we are seeing exhibited:
The Document starts to open
Within the Office application an IE Window opens with the FBA login screen. There is also a Hyperlink in the top left saying Skip to main content
Clicking cancel several times will open the document
If you identify the site as an IE Trusted site the login screen with the Office app, everything works as before (not an option for the majority of our sites)
Non offices files, like PDFs, do not exhibit this behavior
Non IE Browsers that we have tested (FireFox, Chrome) do not exhibit this behavior.
Is anyone else seeing this issue? I assume it was an update sent from Microsoft that has resulted in this issue, since we are seeing it on multiple sites where the code has not been updated.
Thanks
The issue we ran into is there was a policy file applied on our network that caused the UAC prompt to be disabled for Vista/Win 7. When this happens, protected mode gets turned off for the IE browsers, which caused the issues we were seeing.
If you want Office integration to work under forms authentication you should do the following:
Turn on client integration in Central Administration for the forms-auth-enabled application
Use persistent cookies for authentication in the forms-auth-enabled application
On the client computer, add the site to trusted sites in IE
If you still see a login screen embedded in Office documents that you open, try the following on the client computer (if Windows 7):
Go to Control Panel, User Accounts
Click Manage User Account Control Settings
Change slider to Never Notify
Click OK and reboot the computer

Office files stored on SharePoint 2010 do not open in client office application

I have an isolated issue with a user who has IE 11, office 2013 and is trying to open office files stored on SharePoint 2010 document libraries.
When he clicks on the document, the office application starts but does not open the document. He has to download a copy of the document and make changes locally.
Other users can open the files fine and their client instance of the office application works no problem to open the document. This behaviour is the same for any office file on the SharePoint 2010 farm. pdf files behave normally and open in acrobat. With text files notepad doesn't even appear so slightly different but still incorrect behaviour.
I have tried adding the site to his trusted sites in IE. Using Firefox and the behaviour is the same. Repaired office, same issue. All other users are OK.
Any help appreciated as I have exhausted google.

Resources