Friday, July 8, 2011

Why SharePoint documents are opening in browser – SP2007 Troubleshooting

 

When you click on a file in a SharePoint document library, it launches the file. Most often you'll be prompted as to what you want to do with the file (Open, Save, etc.). In some cases (like Office documents) it will open the file but the program that is doing the client side work on it, renders it in the browser. How many times have you clicked on a Word document and have it launch in the browser so you're looking at IE with an embedded Word control rendering your document. Half the time the user doesn't know what happened and when they close the browser the site is gone when really they wanted to hit the Back button to get back to their doclib. How frustrating!!!!!.

In some cases I could find it might have been the compatibility issue with the SharePoint 2007 and Microsoft Office 2003. Thought the browser is common among the office 2003 users. In one of KB articles it was mentioned about the Owssupp.dll, which might the wrong version of dll in place.

http://support.microsoft.com/kb/833714

 

The SharePoint support component that is included in Office Tools is not installed on the computer. That is, either Microsoft SharePoint Support or Windows SharePoint Services Support (as appropriate to your version of Office) is not installed on the computer. The Owssupp.dll file is not registered correctly in Microsoft Windows.

 

Required are

1.       Windows SharePoint Services Support

2.       Microsoft SharePoint Support

3.       Correct version of Owssupp.dll

 

Unfortunately the answer isn't an easy one, at least if you have a large deployment of users you need this to happen with. It involves setting up a property with the associated file. The setting is in the web browser, not SharePoint. The technique varies based on different environments (version of browser, version of OS, version of Office) so there’s no golden rule but the default is generally to browse in the same window (at least it has been for me on all the setups I've seen) so it will open up inside of the IE when you're accessing it through your browser. This has the effect of embedding the Microsoft Word control in the browser and hence the problem. Thus, I would share what steps I followed in  reconfiguring the file association:

  1. Go to Windows Explorer (not Internet Explorer) (or My Computer)
  2. Under the Tools menu choose Folder Options
  3. Click on the File Types tab
  4. Find the file extension you want to modify (say DOC for Microsoft Word Document)
  5. Click on the Advanced Button
  6. In the Edit File Type deselect “Browse in same window” for the Edit or Open actions (or all of them if you prefer)

 

Here's a screen shot of what you should see:

clip_image002

This will force it to launch a new (Word) window no matter where the source of the document comes from (say a doclib in a browser). I'm pretty sure there’s a blog out on this that someone wrote but can’t find it so hence this posting (feel free to link to it in the comments if someone knows of one).

If this helps...... then please share......

HaPpY CoDiNg... (Aurum)

No comments:

Post a Comment