Does not work Web Office Apps for SharePoint 2010

April 27, 2011


Today I got some problem with opening word documents in SharePoint 2010.

 

image

 

Word Web App cannot open this document for viewing because of an unexpected error. To view this document, open it in Microsoft Word.

There are a number of basic things to check immediately but none of them seemed to solve our problem.

ULS logs:

Librarian.SetCompleted(F0c7d1d5fd3234162833d31e20d3e9687m473392

a6ecac4b85890f990f6b262c55m0846e19754004739ad93720821134224m, Silverlight, docdata.xml) – status = ConversionError

So the Word Viewing Service Application is having trouble converting the document into Silverlight to send to the client.

Resolve problem:

$e = Get-SPServiceApplication | where {$_.TypeName.Equals("Word Viewing Service Application")}

$e.WordServerIsSandboxed

$e.WordServerIsSandboxed = $false

$e.WordServerIsSandboxed

IISRESET

Also if you use SharePoint 2010 on DC,  you have to write this code:

#(Please use the below script for PowerPointServiceApplication – You need to enter "Y" for the answer of each cmd)
Get-SPPowerPointServiceApplication | Set-SPPowerPointServiceApplication -EnableSandboxedViewing $false
Get-SPPowerPointServiceApplication | Set-SPPowerPointServiceApplication -EnableSandboxedEditing $false

 

After you can to go to the path c:\windows\system32\inetsrv\config\applicationHost.config

and add dynamicTypes tag:

<add mimeType="application/zip" enabled="false" />

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: