Wednesday, February 28, 2007

E_ACCESSDENIED Error Configuring Microsoft Office SharePoint Server 2007

I was installing MOSS and got most of the way through the SharePoint Products and Technologies Configuration Wizard and it was crashing with "E_ACCESSDENIED". The answer was outlined at
http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=626316&SiteID=17. Basically you need to look up the CLSID for the failing DCOM activation in the System event log and change its permissions.

The problem was with the class {61738644-F196-11D0-9953-00C04FD919C1}. The only slight gotcha was that that GUID was not referenced in the DCOMCNFG.exe tool. A bit of searching and I was able to narrow it down to IIS and it turns out that it is the "IIS WAMREG admin Service". Change its Launch and Activation Permissions to allow Launch and Activate to "Network Service".

That's it--the install went just fine after that change.

Am I the first person to ever go through this?

Yes! Well, it seems like that sometimes. I'm currently working on a Microsoft Office SharePoint Server 2007 project and I think I'm traveling in new territory every day. I'm going to post my experiences here not because I have anything new to add but just to keep track of my experiences for myself.