# Re: Error diffing word document

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Fri, 02 May 2014 19:10:29 +0200

On 02.05.2014 19:07, Ben Fritz wrote:
> On Fri, May 2, 2014 at 11:47 AM, Stefan Küng <tortoisesvn_at_gmail.com> wrote:
>> On 02.05.2014 17:16, Ben Fritz wrote:
>>> Most word docs on my system are diffing just fine.
>>>
>>> But one is giving me this error message when I try to show differences
>>> between any two revisions:
>>>
>>> Script: C:\Program Files\TortoiseSVN\Diff-Scripts\diff-doc.js
>>> Line: 168
>>> Char: 1
>>> Error: Unknown runtime error
>>> Code: 800A9C64
>>> Source: Microsoft JScript runtime error
>>>
>>> No diff is shown. Instead, there is this error dialog, plus an empty
>>> Document1 Word window, and a Word window containing the prior revision
>>> being compared. E.g. I'm comparing the changes in revision 6310, and
>>> the document opened is for revision 6309.
>>>
>>
>> That error appears to be due to late binding. It happens when the office
>> document has a reference to another COM object in it, and that COM
>> object does either not exist or fails to initialize.
>> You mentioned that the doc has macros in it, maybe the macro references
>> another COM/OLE object? Or the doc itself has another object embedded?
>>
>> Note that even if you remove the failing object, the reference to it
>> might still be left in the doc.
>>
>
> There are several embedded objects in the document.
>
> I thought maybe it was due to Visio getting removed from my computer,
> since there are Visio diagrams in the document. But I reinstalled
> Visio and still get the error message.
>
> Command-line still gives the strange "cannot open document.doc" error
> as well, although I can open the document manually.
>
> Do you know of a way to find a failing object?

Sorry, I don't know. Maybe there is a way but I honestly have no idea on
how you could find that out.

Stefan

```--
___
oo  // \\      "De Chelonian Mobile"
(_,\/ \_/ \     TortoiseSVN
\ \_/_\_/>    The coolest interface to (Sub)version control
/_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3077426
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
```