DetailPage-MSS-KB

Article ID: 2387587 - Last Review: 30 September 2011 - Revision: 2.0

Symptom

When you try to open an Excel, Word, or PowerPoint 2010 file from Outlook or from the Internet, Office reports the file as being corrupt and cannot be opened. Although the error message is different for each application, the end result is the same. Errors may include the following:

Excel:
"The file is corrupted and cannot be opened."

Word:
"Word Experienced an error trying to open the file."

PowerPoint:
"PowerPoint found a problem with content in <filename>. PowerPoint can attempt to repair the presentation."

Cause

DCOM security settings do not allow for the temporary file structure that must be created.  

Resolution

Set component security settings back to the defaults:

1. Open Control Panel.

2. Open Administrative Tools.

3. Open Component Services and expand the tree under Console Root to Computers --> My Computer.

4. Right-click My Computer and select Properties.

5. Select the Default Properties tab and set the following values:
Default Authentication Level: Connect
Default Impersonation Level: Identify

More Information

In order to open files in Protected View, the following processes must successfully complete:

The initiating process - Outlook or Internet Explorer or (with attachments saved to the hard drive) Windows Explorer, spawns an Office application process.

That process determines that the file is being opened from an Internet location and spawns a second Office application process that runs under restricted permissions. You can see that the process is running in the correct way by looking at its properties in Process Explorer. If a process is running under restricted permissions, there will be a tab labeled "Job."

We create the following folder structure under C:\Users\<username>\AppData\Local\Temp.

OICE_XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX.X (Folder, where X is random generated hex numbers. This folder will have a copy of the original file, and three tmp files in it.)
AppData (Folder in OICE_XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX.X)
Roaming (Folder in AppData)
Microsoft (Folder in Roaming)
Templates (Folder in Templates)

When this issue occurs, the sandbox process, running under restricted permissions, is created successfully. The OICE_ folder is created. But we cannot create the files and folders under that. To confirm that this is actually the issue, check under C:\Users\\AppData\Local\Temp. If there is an OICE_XXXXXX-XXXXX-XXX folder, but nothing in it, this is likely to be the problem.
 
Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use (http://go.microsoft.com/fwlink/?LinkId=151500) for other considerations.

  • Microsoft Excel 2010
  • Microsoft Word 2010
  • Microsoft PowerPoint 2010
Keywords: 
KB2387587
Share
Additional support options
Ask The Microsoft Small Business Support Community
Contact Microsoft Small Business Support
Find a certified partner
Microsoft Store