Unable to open .doc / .docx - Sharepoint 2007, Office 2003
Windows Server 2003 (32-bit, Standard, SP2) Citrix PS 4.5 Office 2003 Pro (2007 converters installed) Sharepoint 2007 Internet Explorer 7 Hi, Using the above setup, none of our users can open .doc files from within Sharepoint and .docx files can only be opened in read only mode within IE. Attempting to open a .doc file results in Word opening with a blank screen, i.e. no document displayed and no blank template. If Word is left open in this state and the .doc file is opened again from within Sharepoint, the following error is displayed: Compile error: Syntax error The macro in question is as follows (with the 4th line highlighted): Private Sub TmpDDE() WordBasic.AppShow Rem _DDE_ReadWriteOnSave WordBasic.FileOpen Name :=, Revert := 0 End Sub I've managed to work out that it is using the following file association registry key to call Word: HKEY_CLASSES_ROOT\Word.Document.8\shell\OpenAsReadOnly I've compared this key to a working XP Pro machine with the same versions of Office and IE and they're absolutely identical. I've figured that the following DDE command is what should be passing the file path to Word as "%1", but is failing and passing blank details instead: [AppShow][REM _DDE_ReadWriteOnSave][FileOpen .Name="%1",.Revert=0] Googling this issue returns a handful of results with people suffering from the same issue, but no resolution details. Does anybody know what may be causing this problem? Cheers
August 18th, 2010 5:04pm

Further to my previous findings ... I've had a look around and can't see anywhere that states SharePoint uses the interop assemblies when opening documents. However, this got me thinking ... SharePoint uses the sharepoint.opendocuments class to open files within a document library. This class is loaded by owssupp.dll. We have just one copy of the file within the Office11 directory (19/04/2007 14:10 99,680 bytes). According to an article - http://www.sharepointvoodoomagic.com/ - opening any SharePoint document library within IE should load the SharePoint Open Documents class. Going to ... Tools > Manage Add-ons > Enable or disable add-ons > Addons currently loaded in IE ... should display the class. However, I can't see this on our servers or the working XP machine I'm using. I'm guessing this article is a bit of a red herring. I've unregistered and re-registered owssupp.dll, receiving the apparently benign and ignorable "DllRegisterServer in C:\Program Files\Microsoft Office\OFFICE11OWSSUPP.DLL failed. Return code was: 0x80070716 " error, but still no joy. Any thoughts? Cheers
Free Windows Admin Tool Kit Click here and download it now
August 19th, 2010 1:53pm

in the above case he manage to resolve the issue usning this: "I found the problem in the end. The following registry key was missing HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\WINWORD.EXE I copied the key from another machine and now all is ok." thanks -ws SharePoint administrator, MCTS,MCITP
December 21st, 2010 1:15pm

Andy, I may have a similar issue...did you ever resolve this one?Chetan Garude M.S. Computer Science, Microsoft Certified Professional Web Project Leader, Information Services The Taubman Company Email: cgarude@taubman.com
Free Windows Admin Tool Kit Click here and download it now
December 21st, 2010 2:13pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics