"An unexpected error has occurred" when trying to view/editing PowerPoint in the browser.


SYMPTON:

 

Receive error message "An unexpected error has occurred" when trying to view/editing PowerPoint in the browser using Office Web Apps 2010.

 

*  Word and Excel files are displayed without an error.

 

CAUSE:

 

* The installation procedure for Office Web Apps did not complete successfully or an update was applied to the web app.  (The Configuration Wizard had not been executed on all servers in the farm).

 

Or

 

*  There are missing lines in web.config file for the Web Application under the <appSettings> section.

 

If you take a ULS trace, you may see something like this:

 

Office Web Apps PowerPoint Front End f9zy Assert Unexpected exception on PptWebControl.OnInit: System.TypeInitializationException: The type initializer for 'Microsoft.Office.Server.Powerpoint.Pipe.Interface.PipeManager' threw an exception. —> System.NotSupportedException: Specified method is not supported.

   

RESOLUTION:

 

Run PSConfig on all servers in the farm.

 

Or

 

Update any missing lines in the web.config file. 

 

Example <appSettings> section:

 

<appSettings>

    <add key="PptServer_Pipe" value="Microsoft.Office.Server.Powerpoint.Pipe.Web.WacPipe, Microsoft.Office.Server.Powerpoint.Pipe.Web, Version=14.0.0.0,

Culture=neutral, PublicKeyToken=71e9bce111e9429c" />

    <add key="PptServer_BroadcastManager" value="Microsoft.Office.Server.Powerpoint.Web.MossHost.MossBroadcastManager,

Microsoft.Office.Server.Powerpoint.Web.MossHost, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />

    <add key="FeedCacheTime" value="300" />

    <add key="FeedPageUrl" value="/_layouts/feed.aspx?" />

    <add key="FeedXsl1" value="/Style Library/Xsl Style Sheets/Rss.xsl" />

    <add key="ReportViewerMessages" value="Microsoft.SharePoint.Portal.Analytics.UI.ReportViewerMessages, Microsoft.SharePoint.Portal, Version=14.0.0.0,

Culture=neutral, PublicKeyToken=71e9bce111e9429c" />

    <add key="aspnet:AllowAnonymousImpersonation" value="true" />

    <add key="aspnet:UseStrictParserRegex" value="true" />

    <add key="ChartImageHandler" value="storage=session;timeout=20;" />

</appSettings>

Skip to main content