Installing Office Web Apps 2010 Beta 2

by Shawn December 15, 2009 07:42

I just deployed the Office Web Applications 2010 Beta. I followed the deployment document Microsoft has provided: http://www.microsoft.com/downloads/details.aspx?familyid=4AC8442D-0974-4902-84FE-1ADE382AB2A1&displaylang=en, but I ran into an error in the Activate the Office Web Apps services and feature by using Windows PowerShell chapter.

This is what the document says in the Create the service applications and the service application proxies paragraph:

After the service instances have been started, the service applications and the service application proxies which connect the Web front-ends to the service applications must be created. Create the service applications and the service application proxies by running the following script:

$appPool = Get-SPIisWebServiceApplicationPool –Name “SharePoint Web Services Default”
New-SPWordViewingServiceApplication –Name “WdView” –AppPool $appPool |
New-SPWordViewingServiceApplicationProxy –Name “WdProxy”
New-SPPowerPointServiceApplication –Name “PPT” –AppPool $appPool |
New-SPPowerPointServiceApplicationProxy –Name “PPTProxy”
New-SPExcelServiceApplication –Name “Excel”
-SPIisWebApplicationPool $appPool |

There are three errors in this script:

  1. The -Name parameter is invalid for the Get-SPIisWebServiceApplicationPool command. This should be -Identity.
  2. The -AppPool parameter is invalid for the New-SPWordViewingServiceApplication, New-SPPowerPointServiceApplication and New-SPExcelServiceApplication commands. This should be –ApplicationPool.
  3. The New-SPExcelServiceApplication is missing a command after the pipe (|).

I skipped the New-SPExcelServiceApplication command, cause my Excel Services Application Service was already created during the Farm Configuration Wizard. So the correct script is:

$appPoolName = "SharePoint Web Services Default"
New-SPWordViewingServiceApplication –Name "WdView" -ApplicationPool $appPoolName | New-SPWordViewingServiceApplicationProxy –Name "WdProxy"
New-SPPowerPointServiceApplication –Name "PPT" -ApplicationPool $appPoolName | New-SPPowerPointServiceApplicationProxy –Name "PPTProxy"
New-SPExcelServiceApplication –Name "Excel" -SPIisWebServiceApplicationPool $appPoolName

If you are looking for a single complete script that handles it all -- here you go

$machinesToActivate = @( gc env:computername )

$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 
	} 
} 

$appPoolName = "SharePoint Web Services Default"
New-SPWordViewingServiceApplication –Name "WdView" -ApplicationPool $appPoolName | New-SPWordViewingServiceApplicationProxy –Name "WdProxy"
New-SPPowerPointServiceApplication –Name "PPT" -ApplicationPool $appPoolName | New-SPPowerPointServiceApplicationProxy –Name "PPTProxy"
New-SPExcelServiceApplication –Name "Excel" -SPIisWebServiceApplicationPool $appPoolName

$webAppsFeatureId = $(Get-SPFeature -limit all | where {$_.displayname -eq "OfficeWebApps"}).Id
Get-SPSite –limit ALL |foreach { Enable-SPFeature $webAppsFeatureId –url $_.URL } 

And for a bonus if you want to enable the new Developer Dashboard in SharePoint 2010, here is the powershell script to do it

$svc=[Microsoft.SharePoint.Administration.SPWebService]::ContentService

$ddsetting=$svc.DeveloperDashboardSettings

$ddsetting.DisplayLevel=[Microsoft.SharePoint.Administration.SPDeveloperDashboardLevel]::OnDemand

$ddsetting.Update()

And here is the STSADM command
stsadm -o setproperty -pn developer-dashboard -pv OnDemand

Some additional information can be found here

Tags: ,

SharePoint

Comments

8/15/2010 12:35:37 AM #

woodworking equipment planer

Couldn?t be written any better. Reading this post reminds me of my old room mate! He always kept talking about this. I will forward this article to him. Pretty sure he will have a good read. Thanks for sharing!

woodworking equipment planer United States

8/15/2010 11:23:00 PM #

Penny Stocks

Hi. I wanted to drop you a quick note to express my thanks. I've been following your blog for a month or so and have picked up a ton of good information as well as enjoyed the way you've structured your site. I am attempting to run my own blog but I think its too general and I want to focus more on smaller topics. Being all things to all people is not all that its cracked up to be.

Regards

Jannie Waze!

Penny Stocks United States

8/19/2010 11:26:04 AM #

Network marketing

Your web site is very much worthy of a bookmark. Thank you for the terrific and cool post!

Network marketing United States

8/20/2010 11:48:03 AM #

Phone Cards

Great read, I just passed this onto a colleague who was doing a little analysis on that. And he in fact bought me lunch because I found it for him.... smile.. So let me rephrase that: Thanks for lunch! But yeah Thank you for taking the time to discuss this, I feel strongly about it and enjoy learning more on this topic. If possible, as you gain expertise, would you mind updating your blog with more information? It is extremely helpful for me. Big thumb up for this blog!

Phone Cards United States

8/21/2010 3:59:16 PM #

SomnaPure

Why didn?t I find this post earlier? Keep up the good work!  

Regards

Eric Kings!

SomnaPure United States

8/22/2010 7:21:51 PM #

Weight Loss for Idiots

mmmm, I think you may be right in what you have said here. Whoever there are many people will disagree with you.

Weight Loss for Idiots United States

8/25/2010 2:39:02 AM #

Panda Global Protection Coupon

Hey fellow blogger! Found your blog via the search engine, and was forwarded to your web site, lol. Anyway, great article that you simply write here, I discover the content material to be very informational, in a way. Well I was just wondering whether a fellow blogger such as you want to do a little hyperlink trade with me, as I'm constantly looking for quality blogs like yours, to additional broaden my community of friends. Let me know, and thanks in advance.

Panda Global Protection Coupon United States

8/27/2010 1:39:33 AM #

Smokeless Cigarettes

Intriguing piece of writing, where did you acquire the tips about your post?

Smokeless Cigarettes United States

8/28/2010 2:05:40 PM #

Chin Bourget

do you have an rss feed? I want to add it to my reader but I can't find it...

Chin Bourget United States

8/28/2010 4:44:58 PM #

Josef Moglia

I kinda found this blog by accident, but your blog caught my eye and I thought that I would comment to let you know that I really like it.

Josef Moglia United States

8/28/2010 8:41:56 PM #

craigslist posting tool

Dude.. I am not much into reading, but somehow I got to read lots of articles on your blog. Its amazing how interesting it is for me to visit you very often.

Regards


craigslist posting tool United States

8/28/2010 9:03:05 PM #

jordan shoes

You get so many people commenting on your blog. Good work.

jordan shoes United States

8/29/2010 1:59:54 AM #

Jonah Vangoff

are you using wp for this blog?

Jonah Vangoff United States

8/29/2010 2:14:12 AM #

Opony

That is some inspirational stuff. Never knew that opinions could be this varied. Thanks for all the enthusiasm to offer such helpful information here.

Opony United States

8/29/2010 2:17:52 AM #

Paula Cole

Great information here. I enjoyed the tutorials.

Paula Cole United States

8/29/2010 2:23:44 PM #

trance mp3

Going to see Moonbeam Tonight. Its gonna be amazing. There playing with Fedde Le Grand. Then next saturday ill be seeing Offer Nissim. great nights ahead

trance mp3 Ireland

8/29/2010 5:26:28 PM #

Jerrilyn

Intimately, the article is really the freshest on this deserving topic. I agree with your conclusions and will thirstily look forward to your future updates. Saying thanks will not just be enough, for the extraordinary lucidity in your writing. I will immediately grab your rss feed to stay abreast of any updates. Solid work and much success in your business efforts!

Jerrilyn United States

8/31/2010 3:02:18 AM #

Rafael Wolz

I simply couldnt leave your website before saying that I really enjoyed the top quality information you offer you to your visitors... Will certainly be back often to check up on new stuff you post!

Rafael Wolz United States

8/31/2010 7:24:23 AM #

ADDIO CELIBATO ROMA

I admire the valuable information you offer in your articles. I will bookmark your blog and have my children check up here often. I am quite sure they will learn lots of new stuff here than anybody else!

ADDIO CELIBATO ROMA Italy

8/31/2010 7:24:52 AM #

traslochi milano

Nice information, many thanks to the author. It is incomprehensible to me now, but in general, the usefulness and significance is overwhelming. Thanks again and good luck!

traslochi milano Italy

8/31/2010 2:49:00 PM #

blonde jokes

nice blog! keep the good work!

blonde jokes United States

8/31/2010 5:54:24 PM #

Jere

Merely want to say your article is astounding. The lucidity in your post is simply striking and i can assume you are an expert on this field. Well with your permission allow me to grab your rss feed to keep up to date with forthcoming post. Thanks a million and please keep up the sound work.

Jere United States

8/31/2010 8:43:39 PM #

refurbished garmin

I have been reading your articles during my morning break, and I have to admit the whole article has been very enlightening and very well composed. I thought I would let you know that for some reason this blog does not display well in Internet Explorer 8. I wish Microsoft would quit changing stuff. I have a question for you. Would you mind swapping blog roll links? That would be really neat!

refurbished garmin United States

8/31/2010 9:34:28 PM #

penny

Nice reading thanks for sharing, I have added to my propella bookmarks.

penny United States

8/31/2010 10:52:29 PM #

victorian overmantle mirror

Hrmm that was weird, my comment got eaten. Anyway I wanted to say that it's nice to realize that somebody else at the same time mentioned this as I had trouble finding the same info elsewhere. This was the first position that told me the answer. Thanks.

victorian overmantle mirror United States

9/1/2010 5:34:57 AM #

making home affordable

Your friend could just as easily tried about the footwear without imposing too a lot on the salesperson’s time, and then gone and ordered on the net. There is no requirement to purchase when you are in a store, but in the event you take up a ton of time, there is certainly an expectation.

making home affordable United States

9/1/2010 12:52:19 PM #

personal training book

don't forgot to get out and exercise...

personal training book United States

9/1/2010 6:43:20 PM #

ETF newsletters

it will be great if you post more...

ETF newsletters United States

9/2/2010 1:21:06 AM #

free pdf ebook

By visiting your webpage, the first impression for me is strong. I can’t imagine when and why you share this great topic but don’t spread it with social bookmarking. This information can be published as reference in online journal, or even in press release site. An early improvement in your site is great, can give us more time in your website. Would you mind if I capture several screenshot as my collection, because I’ve joined several researches? General purpose for me is to tell you about this discussion. My critical question for us is the resource that you have used to manage this site. In order to make great discussion, you are great because you post new topic in several areas. But, I suggest in giving personal opinion, please refer to big or authority sites, I am sure you will be fine in giving past or future experiences. In my environment, I am sure your capability to enrich people can be strong advantage for your future.

free pdf ebook United States

9/2/2010 4:52:26 PM #

gift ideas

try to change your template, there are some great ones...

gift ideas United States

9/2/2010 10:22:43 PM #

Jade Villaire

You will have not intended to do so, but I think you've managed to express the state of mind that a lot of people are in. The sense of wanting to assist, but not knowing how or where, is one thing a lot of us are going through.

Jade Villaire United States

9/3/2010 12:29:13 AM #

spyware removal software

You should write a recommendation of blogs for people who like this. I discovered your blog two days ago while surfing, unfortuneatly I'm not really into the blog thing. Not because I do not enjoy blogs, but probably due to the fact that I'm slightly ignorant to them.  

spyware removal software United States

9/3/2010 2:37:47 AM #

flowers to london

Nice effort, very informative, this will help me to complete my task.

flowers to london United States

9/3/2010 6:29:04 AM #

Denavir

Dude.. I am not much into reading, but somehow I got to read lots of articles on your blog. Its amazing how interesting it is for me to visit you very often.

Regards!
Scott. T


Denavir United States

9/3/2010 12:24:51 PM #

Isagenix

It is my great pleasure to visit your website and to enjoy your excellent post here. I like them very much. I can feel that you paid much attention to those articles, as all of them make sense and are very useful.  Thanks so much for sharing.

Isagenix United States

9/3/2010 4:15:59 PM #

MexicoFishingDeals - Job

This is a nice website!, i just recently found it and now is on my Bookmarks.
Keep the effort of keeping this Website updated, and if you have a chance please visit my site http://www.mexicofishingdeals.com
thanks and keep tight lines.
Job O.

MexicoFishingDeals - Job United States

9/3/2010 9:47:55 PM #

mixed wrestling

I uncovered your blog Monday and started follow your posts religiously. I have not commented on any blog just yet but I was thinking I would like to. It is very exciting to actually contribute to a publication even if it's only a blog. I really don't know exactly what to write other than I really enjoyed reading through 6 of the articles. Nice posts indeed. I sure will keep visiting your blog regularly. I learned quite a bit from you. Thx!

mixed wrestling United States

Add comment


(Will show your Gravatar icon)

  Country flag

biuquote
  • Comment
  • Preview
Loading



Powered by BlogEngine.NET 1.6.1.0
Theme by Mads Kristensen | Modified by Mooglegiant