Friday, October 5, 2007

How to install Sharepoint (WSS 3.0 or MOSS 2007) without Active Directory

Hi guys,
Today I had unbelievable problems with installation of WSS 3.0 to single machine (VPC). I wanted to deploy WSS as farm, with SQL Server on the same server and outside of the domain. And... big troubles.... I got the followng exception in the event log when I run the Sharepint Configuration wizard:

Failed to create the configuration database.An exception of type System.Security.Principal.IdentityNotMappedException was thrown.

Additional exception information: Some or all identity references could not be translated.

System.Security.Principal.IdentityNotMappedException: Some or all identity references could not be translated.
at System.Security.Principal.NTAccount.Translate
(IdentityReferenceCollection sourceAccounts, Type targetType, Boolean forceSuccess)
at System.Security.Principal.NTAccount.Translate(Type targetType)
at Microsoft.SharePoint.Administration.SPProcessIdentity.GetMachineRelativeSecurityIdentifier(SPServer server, Boolean& isMachineAccount)
at Microsoft.SharePoint.Administration.SPProcessIdentity.GrantIdentityDatabaseAccess()
at Microsoft.SharePoint.Administration.SPProcessIdentity.Update()
at Microsoft.SharePoint.Administration.SPWindowsService.Update()
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)
at Microsoft.SharePoint.Administration.SPFarm.Create(SqlConnectionStringBuilder configurationDatabase, SqlConnectionStringBuilder administrationContentDatabase, String farmUser, SecureString farmPassword)
at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.CreateOrConnectConfigDb() at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.Run()
at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()
For more information, see Help and Support Center

at http://go.microsoft.com/fwlink/events.asp.

actually the exception thrown after step 2 of 9 of Configuration wizard.
I found this post and it really help me to complete the installation successfully:

http://blogs.msdn.com/fooshen/archive/2007/02/01/installing-moss-without-ad.aspx

The real output in my cmd window after the executing of steps in this article was :

C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN>PSConfig -cmd -configdb -create -server vm-sharepoint-srv\sql2005 -database SharePoint_Config -user sharepoint -password sysadm -dbuser sqlmoss -dbpassword sysadm -admincontentdatabase SharePoint_AdminContent

SharePoint Products and Technologies Configuration Wizard version 12.0.4518.1016
Copyright (C) Microsoft Corporation 2005. All rights reserved.
Performing configuration task 1 of 3

Initializing SharePoint Products and Technologies configuration...
Successfully initialized the SharePoint Products and Technologies configuration.
Performing configuration task 2 of 3Creating the configuration database...
Successfully created the configuration database.
Performing configuration task 3 of 3Finalizing the SharePoint Products and Technologies configuration...

Successfully completed the SharePoint Products and Technologies configuration.
Total number of configuration settings run: 3

Total number of successful configuration settings: 3
Total number of unsuccessful configuration settings: 0
Successfully stopped the configuration of SharePoint Products and Technologies.Configuration of the SharePoint Products and Technologies has succeeded.

Good luck!

No comments:

Post a Comment