Am installing WSS, single server install with default settings - fails with Exception E_ACCESSDENIED

Posted on 2009-04-22
Medium Priority
Last Modified: 2012-05-06
Am trying to install WSS 3.0, single server install using default settings.  Install works fine.  When running configuration job, it rails on Task 5 With System.UnauthorizedAccessException
Access is denied.  ExceptionFromHResult: 0x80070005 (E_ACCESSDENIED)
Question by:wahoo2you
  • 2
  • 2
LVL 15

Expert Comment

ID: 24204779
A lot of install/config fails are caused by the user ID not having the correct permissions.  The setup account needs the following:

§   Domain user account.
§   Member of the Administrators group on each server on which Setup is run.
§   SQL Server login on the computer running SQL Server.
§   Member of the following SQL Server security roles:
·          securityadmin fixed server role
·          dbcreator fixed server roleIf you run Stsadm commands that affect a database, this account must be a member of the db_owner fixed database role for the database.
I attached the full list of user accounts and properties.  The attached is for MOSS but the setup user account has the same requirements for 3.0


Author Comment

ID: 24205057
Hi melli111 -
Your comments are correct, but not helpful.
I am doing a single server installation, using a domain user account that is a member of the Administrators group on the server.  I assume since embedded SQL was installed along with the single server installation that my user account was used.
When you use default settings, it does not prompt for a separate SQL Server access account.
I suspect there is something oddball in general regarding security at this client.  They are quite security conscious and perhaps they have turned off some service that is needed during the registration process.  I notice that the failure occurs while backing up the registry prior to update.
LVL 15

Expert Comment

ID: 24205246
Yes.... I had the same error doing a single server install.  And even though I was using the embedded SQL for my content and configuration databases I still had to have the user ID doing the install have the SQL permissions on my SQL server.  Why?  I don't know, that I can't explain (I don't know much about SQL), but once I was given those permissions my configuration no longer gave me an access denied error.  I then get an error in a later step about already having a configuration database, so I deleted the previous config db and tried again and voila!  It was successful.

Accepted Solution

wahoo2you earned 0 total points
ID: 24966411
I discovered the answer to this question myself.  It had to do with the SQL connection string that was entered during configuration.
Once I modified the connection string to include instance name and port, it worked just fine.
Had nothing to do with permissions.
Rich Elliott

Featured Post

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question