Thursday, June 24, 2010

Failed to create the configuration database - User cannot be found

I got the above error message when running the SharePoint 2010 Products Configuration Wizard after installing the binaries on my Windows 7 64-bit machine.  Then from the event log, it was Event ID 104 as below:

Failed to create the configuration database.

An exception of type Microsoft.SharePoint.SPException was thrown. Additional exception information: User cannot be found.
Microsoft.SharePoint.SPException: User cannot be found.
at Microsoft.SharePoint.Administration.SPSiteCollection.Add(SPContentDatabase database, SPSiteSubscription siteSubscription, String siteUrl, String title, String description, UInt32 nLCID, String webTemplate, String ownerLogin, String ownerName, String ownerEmail, String secondaryContactLogin, String secondaryContactName, String secondaryContactEmail, String quotaTemplate, String sscRootWebUrl, Boolean useHostHeaderAsSiteName)
at Microsoft.SharePoint.Administration.SPSiteCollection.Add(SPSiteSubscription siteSubscription, String siteUrl, String title, String description, UInt32 nLCID, String webTemplate, String ownerLogin, String ownerName, String ownerEmail, String secondaryContactLogin, String secondaryContactName, String secondaryContactEmail, Boolean useHostHeaderAsSiteName)
at Microsoft.SharePoint.Administration.SPAdministrationWebApplication.CreateDefaultInstance(SqlConnectionStringBuilder administrationContentDatabase, SPWebService adminService, IdentityType identityType, String farmUser, SecureString farmPassword)
at Microsoft.SharePoint.Administration.SPFarm.CreateAdministrationWebService(SqlConnectionStringBuilder administrationContentDatabase, IdentityType identityType, String farmUser, SecureString farmPassword)
at Microsoft.SharePoint.Administration.SPFarm.CreateBasicServices(SqlConnectionStringBuilder administrationContentDatabase, IdentityType identityType, String farmUser, SecureString farmPassword)
at Microsoft.SharePoint.Administration.SPFarm.Create(SqlConnectionStringBuilder configurationDatabase, SqlConnectionStringBuilder administrationContentDatabase, IdentityType identityType, String farmUser, SecureString farmPassword, SecureString masterPassphrase)
at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.CreateOrConnectConfigDb()
at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.Run()
at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()

Since my machine has been joined to my company domain and at the time of running the Configuration Wizard I was not connected to my corporate network, the wizard could not contact the domain controller. 

The solution to solve this issue is by connecting to my corporate network via VPN using my home internet connection or just by plugging in the corporate network cable when you are back to the office.

2 comments:

  1. I have the same problem but I am installing this on a virtual machine. I downloaded the machine from the Microsoft web site. It's a Contoso...etc

    ReplyDelete
  2. David, You are the best :)
    It just worked like a magic !!!!!

    ReplyDelete