Friday, March 19, 2010

SharePoint 2010 Config Wizard Error

I was getting this error when trying to run the configuration wizard for the SharePoint 2010 RC Hyper-V Image.

clip_image002

In the wizard, I was specifying a domain account with sufficient permissions, but I still got the access denied error. The solution was quite simple, I had forgotten that I was logged into the machine as the local admin account—not a domain account. The config wizard needs to read some info about the domain account you’re using for the setup. When I switched users to my own domain account, the wizard ran successfully.

Here’s a snipped from the install log:

Task configdb has failed with an unknown exception 03/19/2010 06:38:14  9  ERR                    Exception: System.InvalidOperationException: An error occurred while getting information about the user SharePointAdmin at server internal: Access is denied

at Microsoft.SharePoint.Win32.SPNetApi32.NetUserGetInfo1(String server, String name
at Microsoft.SharePoint.Administration.SPManagedAccount.GetUserAccountControl(String username)
at Microsoft.SharePoint.Administration.SPManagedAccount.Update()
at Microsoft.SharePoint.Administration.SPProcessIdentity.Update()
at Microsoft.SharePoint.Administration.SPApplicationPool.Update()
at Microsoft.SharePoint.Administration.SPWebApplication.CreateDefaultInstance(SPWebService service, Guid id, String applicationPoolId, SPProcessAccount processAccount, String iisServerComment, Boolean secureSocketsLayer, String iisHostHeader, Int32 iisPort, Boolean iisAllowAnonymous, DirectoryInfo iisRootDirectory, Uri defaultZoneUri, Boolean iisEnsureNTLM, Boolean createDatabase, String databaseServer, String databaseName, String databaseUsername, String databasePassword, SPSearchServiceInstance searchServiceInstance, Boolean autoActivateFeatures)

9 comments:

Sudeep said...

Hey there Stephen,

Did you get around this 2010 configuration issue? I'm having the same problem and have tried everything under the sun to resolve this.

Domain server reboot -- Done
Web server reboot -- Done
Added the domain user to Local administrator group -- done
Added the domain user to the Administrators group on the domain server -- done

Added the domain user to the Domain admins group on the domain server -- done.

I give up. Any idea what the solution is ?
Thanks in advance

Cheers,
Sudeep

Sudeep said...

Hey Stephen,

Sorry, I probably missed out on the logged in account factor. I thought I had done that but apparently I hadn't while trying out some other combination of solutions. Anyways thanks a ton for the post. Saved me some time.

Mucho gracias
Sudeep

danielrehner said...

Thank you so much for this post. It was exactly what I was looking for! Immensely helpful.

TK Wong said...

Thank you! This solved my problem, but i hit another problem now..
Oh well, have to google again.

Thanks again for a very useful post!

James said...

Thanks Stephen,

Worked here. Saved me a heap of hassle.

James

Anonymous said...

I am having this same issue and tried this fix to no avail. are there any other suggestions out there?

Anonymous said...

Thank you SO much. I'm glad I was able to find your post rather quickly, a lifesaver.

Anonymous said...

very good, thanks ...

Anonymous said...

Went round and round with this... so glad I found this post. Thanks!