Home > Command Line, MOSS 2007, Office > SharePoint 2007 documents not opening in Office 2007

SharePoint 2007 documents not opening in Office 2007

March 24th, 2010 Leave a comment Go to comments

Our company Intranet was deployed on Microsoft Office SharePoint Server (MOSS) 2007 and has been in operation for a few months. I recently had a user that reported that they were experiencing difficulties opening documents from their Team Site. A quick check revealed this problem actually affected all documents for the user and not just those in their Team Site. When the user clicked on any SharePoint document to open it they were presented with the dialog box with options to open the document in 'Read Only' or 'Edit' mode. Opening any document in 'Read Only' mode opened the document in the relevant Microsoft Office application but obviously did not allow them to save it directly back into SharePoint. Opening any document in 'Edit' mode failed to launch the Microsoft Office application associated with that document. This was the case for all Microsoft Office document types.

As the issue did not affect anyone else I made the assumption it was local to the computer. I had a quick look at the Internet Explorer addons that were loaded and could see that the 'SharePointOpenDocuments' was enabled (as it should have been.)

microsoftsharepointaddon.png

Since the addon was being loaded and in part seemed to be working I had a quick look to see if multiple versions of owssupp.dll existed. owssupp.dll is the Microsoft Office SharePoint Client Support library used by Internet Explorer as the addon called 'SharePointOpenDocuments'. When the addon is loaded and you attempt to open a document from a SharePoint site it displays a small dialog box prompting the user to choose between opening the document in 'Read Only' or 'Edit' mode.

sharepointopendialogue.png

The library owssupp.dll is installed to C:\Program Files\Microsoft Office\Office(##) and I had heard of issues where multiple versions of the file had existed on a computer (as a result of a Microsoft Office upgrade) and caused issues. I only had one instance of owssupp.dll located in C:\Program Files\Microsoft Office\Office12 so I ruled this out.

The next thing I tried was re-registering the .dll on the computer. I closed all instances of Microsoft Office applications and then at a command prompt I ran the following:

regsvr32 "C:\Program Files\Microsoft Office\Office12\OWSSUPP.DLL"

I received the following error message:

sharepointdllerror.png

I clicked OK to close the message box. I opened Internet Explorer and navigated to the Team Site. Upon clicking on a document and selecting 'Edit' from the dialog box the correct Microsoft Office application opened and I was able to edit the document normally.

  1. No comments yet.

*

code