Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using Tortoise SVN to work with a repository that contains some documentation saved as Word documents. On my old computer, with Office 2010, I was able to compare with previous revisions. Tortoise would open Word in compare view so I could see the differences between the files.

I have installed Office 2013 (final version from Technet, not the preview version) on my new laptop for testing and now I can no longer compare Word Documents. Tortoise pops up a generic error that it was unable to compare the two files.

Tortoise uses a JScript file to interface with Word, so I ran that file through a debugger and found that the actual error is:

The Compare method or property is not available because this command is not available for reading.

Some Googling followed by some testing revealed that the error is caused by the first file opened (in this case, the previous version) being opened as Read-Only. If I change the JScript code to open in normal mode, and I find the file on the system and un-check the "Read Only" property (if necessary), then the comparison opens as expected.

I was unable to find any documentation about this change to Word on any Microsoft site.

Does anyone know why this has been changed, and if it is intentional and not a bug, what the benefit is of requiring the file to be writable in order to compare it with another?

share|improve this question
3  
Thanks so much for posting this - I have an application that invokes compare and it suddenly stopped working with office 2013. I have changed the code to not open read-only and it's working again, hopefully the tortoise developers will do likewise. As for documentation about this, I wouldn't hold your breath, I've been working with office apps for a while and sometimes things just get changed, there's no release notes and no comeback, you just have to live with it (e.g. between 2000 and 2003 they swapped round the old and new for the comparison then changed it back for 2007 - no explanation) – Andy Apr 16 '13 at 13:07

Maybe try turning off Protected Mode?

  1. First launch any Office program such as Microsoft Word and then click on File menu present in the ribbon.

  2. Now click on Options tab present in the left sidebar.

  3. It'll open Options window. Now click on "Trust Center" tab given at the end in left-side pane and then click on "Trust Center Settings" button.

  4. Click on "Protected View" tab and in right-side pane, you'll see following options:

-Enable Protected View for files originating from the Internet

-Enable Protected View for files that are located in potentially unsafe locations

-Enable Protected View for Outlook attachments

  1. All options are enabled by default. Disable the desired option or disable all given options to turn off Protected View completely and click on OK button to save the changes.

Reference http://www.askvg.com/how-to-disable-protected-view-in-microsoft-office-while-opening-email-attachments-or-downloaded-files/

share|improve this answer
    
Protected mode has absolutely nothing to do with this issue. – Moshe Katz May 22 at 1:51
    
Sorry, I thought certain files might be opening in Protected mode in 2013 that weren't in 2010. – Curtis May 22 at 17:14
    
The difference is not in how the files are being opened. The issue is that Word 2010 allowed read-only files to be compared, while Word 2013 only allows read-write files to be compared. This would be true even without Protected Mode. – Moshe Katz May 22 at 18:34

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .