Optimizing SharePoint Recovery, Retention, and eDiscovery

SharePoint Archiving Journal

Subscribe to SharePoint Archiving Journal: eMailAlertsEmail Alerts newslettersWeekly Newsletters
Get SharePoint Archiving Journal: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn


SharePoint Archiving Authors: Liz McMillan, Andreas Grabner, Jim Kaskade, RealWire News Distribution, Kevin Remde

Related Topics: SharePoint Archiving Journal, Microsoft Developer, CIO/CTO Update

Blog Feed Post

Troubleshooting the Unexpected Error has Occurred in Office Web Apps

Office Web Apps is one of my favorite new parts of SharePoint 2010, but there are a number of steps you need to follow to ensure that they actually work.  To start with, be sure and download the Installation guide and run any scripts mentioned in there as necessary.  Also, you will want to run the script mentioned in Jie Lie’s post.  However, if you are like me, you may still find that you get an error like the one below.

An unexpected error has occurred.

OfficeWebAppsWordViewerError

Yes, it’s good to know that useful error message hasn’t gone away.  However, we do gain something here.  You will notice that I have the Correlation Id highlighted.  This corresponds to an actual error message in the ULS logs in the 14 hive.  What is great, is you can use the handy ULS Viewer tool, to make troubleshooting this error even easier.  Simply search for that Correlation Id and you will find out what the actual error was.  In my case, the answer was really quite simple as you can see from the error message.

Microsoft.Office.Web.Common.BadCanaryConfigurationException: This feature is not activated for the site collection.

OfficeWebAppsULSViewer

If you want to use the Word Viewer, you actually need to activate the feature on the Site Collection.  To resolve this, I simply activated the Office Web Apps feature.

OfficeWebAppsFeature

Strangely enough, my Excel Viewer was working the entire time without this activated.  If you haven’t seen Office Web Apps, here is what the Word Viewer looks like running in Chrome using Silverlight.

OfficeWebAppsChrome

I’ll also mention that in the past I have gotten a yellow screen instead of an error message.  This makes it difficult to determine a Correlation Id, but you can still browse the ULS logs using the ULS viewer pretty easily.

Read the original blog entry...

More Stories By Corey Roth

Corey Roth, a SharePoint Server MVP, is a consultant at Hitachi Consulting specializing in SharePoint and Office 365 for clients in the energy sector. He has more than ten years of experience delivering solutions in the energy, travel, advertising and consumer electronics verticals.

Corey specializes in delivering ECM and search solutions to clients using SharePoint. Corey has always focused on rapid adoption of new Microsoft technologies including Visual Studio 2013, Office 365, and SharePoint.

He is a member of the .NET Mafia (www.dotnetmafia.com) where he blogs about the latest technology and SharePoint. He is dedicated to the community and speaks regularly at user groups and SharePoint Saturdays.