Office Web Apps on Sharepoint 2010

I’ve recently started building the demo server for our stand at the BETT show 2010 and it’s been a fantastic experience! Installing server 2008 R2 was a breeze and Sharepoint 2010 went on with just one (easily fixable) issue related to a missing hotfix. Once I’d got those up and running, I decided to get Office Web Apps installed…that too, was pretty easy…although I had the help of a great Technet article and a blog over on MSDN to guide me.

First of all, the technet article to installation is:

http://technet.microsoft.com/en-us/library/ee695758(office.14).aspx#bkmk_install_standalone

As you can see, I was putting it on a standalone server – for ease of demonstration if nothing else 🙂

The initial steps are few and simple but nothing appeared to be working. However, if you scroll a little down the page, you’ll see a bunch of

Powershell

scripts like this one:

$machinesToActivate = @(“contosoapp1”,”contosoapp2”)
$serviceInstanceNames = @(“Word Viewing Service”, “PowerPoint Service”,
“Excel Calculation Services”)
foreach ($machine in $machinesToActivate) {
foreach ($serviceInstance in $serviceInstanceNames){
     $serviceID = $(Get-SPServiceInstance | where
         {$_.TypeName -match $serviceInstance} | where
         {$_.Server -match "SPServer Name="+$machine}).ID
     Start-SPServiceInstance -Identity $serviceID
}
        }

image

As the note above shows, these Powershell scripts are only required in certain instances…and of course, I had that instance 🙂 Luckily, just copying the scripts from Technet and pasting into the Powershell window worked perfectly…which was good!

At this point I could see that everything was where it should be and services seemed to be running etc, so I headed over to the demo site I’d set up to test it. Unfortunately I kept getting an error message…so back to Bing, where I found this extremely helpful post:

http://blogs.msdn.com/officewebapps/archive/2009/11/18/9924525.aspx

I had a read through and quickly saw the problem. It was simple and obvious but had confounded me for about 45 minutes (don’t say it!)…it was:

“Activate “Office Web Apps,” listed under SharePoint’s Site Collection Features, on each site collection for which Office Web Apps should be available.”

So that was the missing step…activating it inside Sharepoint…D’oh! Homer Simpson

2 Replies to “Office Web Apps on Sharepoint 2010”

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 )

Google photo

You are commenting using your Google 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 )

Connecting to %s