Incorrect/Corrupt Farm Configuration database server name

I have a SharePoint 2007 farm (version 12.0.0.6219) with a corrupt configuration database (SQL Server 2008 R2) consisting of a Central Administration server and a database server for Windows SharePoint Services Database. In a failed attempt to move the configuration
database to a new SQL server, the farm is referring to a SQL server that no longer exists. All databases on the new SQL server have been successfully moved from the old SQL server, but SharePoint does not recognize the configuration database. The network name
of the old SQL server has been aliased to the never SQL server, so the farm is operational. But the
Servers in Farm page states the old server as the configuration database server.
After doing my own research, it appears to me the issue is in the Objects table in the
SharePoint_Config database below.
Id
ClassId
ParentId
Name
Status
Version
1
AF14B6A3-2152-41BB-9407-3BB3D8E30C10
3112E92F-B97D-481E-8CEB-03FDE15ED1A7
BD5B4337-4294-4FC4-8EE2-0D51968D05DB
0
0x00000000000007DD
2
990CCD53-6D0F-4998-A060-45408E818ED5
3112E92F-B97D-481E-8CEB-03FDE15ED1A7
5DAA8D3C-B6EF-443C-B6AC-E1F704E35A94
0
0x00000000000BDF1D
3
DA951888-B47A-473E-97C2-B0EF78226512
E6591A38-008A-4F23-A88F-36A181C7D4EB
AF14B6A3-2152-41BB-9407-3BB3D8E30C10
SharePoint_Config
0
0x00000000000007E3
4
109CA292-69CB-417D-AFDF-C2A9DCE44A1B
674DA553-EA77-44A3-B9F8-3F70D786DE6A
109CA292-69CB-417D-AFDF-C2A9DCE44A1B
SharePoint_Config
0
0x00000000000008E7
5
BD5B4337-4294-4FC4-8EE2-0D51968D05DB
E77AAF47-3CAC-4001-BC6B-5BCCB6486318
109CA292-69CB-417D-AFDF-C2A9DCE44A1B
Old SQL Server
0
0x00000000000007D4
6
5A9AAEA8-A7E8-490F-8107-3D61F0D2A4E5
E77AAF47-3CAC-4001-BC6B-5BCCB6486318
109CA292-69CB-417D-AFDF-C2A9DCE44A1B
Exchange server
0
0x0000000000039216
7
3886B6E4-0E9E-499B-96A0-7CC677F8A5D0
E77AAF47-3CAC-4001-BC6B-5BCCB6486318
109CA292-69CB-417D-AFDF-C2A9DCE44A1B
Web Server
0
0x00000000000BFE51
8
5DAA8D3C-B6EF-443C-B6AC-E1F704E35A94
E77AAF47-3CAC-4001-BC6B-5BCCB6486318
109CA292-69CB-417D-AFDF-C2A9DCE44A1B
New SQL server
0
0x00000000000BDF17
It looks like all I’d have to do delete row id’s ...E1F704E35A94 and ...45408E818ED5 (<red>red</red> row #’s 8 and 2) after shutting down all SharePoint Web Applications and services. Then update
Old SQL Server with New SQL Server. Possibly even deleting row ...B0EF78226512 (orange row # 3) could be done as it appears to be an orphaned part of the configuration. These ids are not referenced in any other table in this database.
Any help on this would be appreciated. Thanks in advance.
P.S. Sorry it looks like my table rendering didn't work as intended.
-----&amp;gt;Executive Vector

are you using the SQL alias to pointing to the Config Database server?
did you stop all the timers services, admin services other services before moving the Config DB and configuring the alias to new server.if you did not then it will corrupted.
If you are not using the SQL Alias and using the sql server name then you cannot move it.
you need to rebuild new farm with creation of new Config DB, then create SSP /Web apps and attached your content Database.
Directly playing with the Config Database is not a good idea at all and i am sure deletion is not supported in any means.
Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

Similar Messages

  • Farm Configuration SQL Server 2012 - Different licences

    Hello!
    Is it possible to run the following farm configuration:
    SSRS Server 1 ( SQL Server 2014 Enterprise Edition)
    SSRS Server 2 ( SQL Server 2014 Enterprise Edition)
    SSRS Server 3 ( SQL Server 2014 BI Edition)
    SSRS Database is hosted on Server 1.
    Thank you for helping!

    Hi StefanKindler,
    According to your description, you want to configure a scale-out deployment with different edition SQL Server. Right?
    In Reporting Services, if we want to configure such a cluster environment for load balancing, the SQL Server on each server should be the same edition. Please refer to the links below:
    Configuring Reporting Services for Scale-Out Deployment
    Configure a Report Server on a Network Load Balancing Cluster
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Find the current SharePoint Database Server Name

    Hi All,
    In my PRD farm, i have two database servers.
    One is primary say DB_Server and another is Mirror say Mirror_Server of that.
    Sometimes it gets failover automatically to Mirror_Server. So i want to know that is there any powershell command or any other way to find the Active DB Server processing the request at that particular time.
    So if Mirror_Server is processing the request i want the o/p as Mirror_Server Name.
    Thanks in advance

    Use following C# program to get the name of database server -
    Use Microsoft.sharepoint and Microsoft.SharePoint.Administration namespace which are present in Microsoft.sharePoint.dll
    String sServerName = "notFound";
                foreach (var item in SPFarm.Local.Servers)
                    foreach (var svc in item.ServiceInstances)
                        if (svc is SPDatabaseServiceInstance)
                            SPDatabaseServiceInstance s = svc as SPDatabaseServiceInstance;
                            sServerName = item.DisplayName + "\\" + s.Instance;
                MessageBox.Show(sServerName);
    The following powershell code will return all the active databases in SharePoint Farm
    Get-SPFarm | foreach { $_.Servers | ForEach-Object { $a = $_; $_.ServiceInstances | foreach { if ([Microsoft.SharePoint.Administration.SPServiceInstance]$_ -is [Microsoft.SharePoint.Administration.SPDatabaseServiceInstance]) { Write-Host $a; Write-Host $_.DisplayName

  • Some experience multiple farms same database server?

    Hello
    There is some experience using the same SQl database server with multiple farms?
    Thanks

    Hi JLSF,
    There should be no problem, the only thing you have to keep in mind is database names.
    For instance: Person 1 creates a content database: WSS_Content in farm 1.
    Another person creates a new Web Application in farm 2 and tries to name the Content Database WSS_Content as well. In this case, you will probably run into problems.
    So as long as you make sure ALL databases created (Service Applications, Content Databases, Config database, 3rd party applications) you should be fine.
    Nico Martens - MCTS, MCITP
    SharePoint 2010 Infrastructure Consultant / Trainer

  • Can a report parameter set the Database server name

    I know what my databases and tables are named, and that the connection will be an OLE DB connection to Microsoft SQL Server.  However, I don't know the names of the servers on which databases will be installed.  Would it be possbile to prompt for the server name and have Crystal create the connection based on that?
    This is for Crystal Reports Developer XI.

    Hi Levin,
    We can select database from database expert.
    While selecting database you have to find it out on which server your database exist.
    I donu2019t think there is any option to  prompt for the server name and have Crystal create the connection based on that.
    Regards,
    Shweta

  • How to get the SQL Primary and Mirrored Database Server Name from Witness Server

    Hello,
                    Can Someone help me with the way to get SQL Primary and Mirrored server name from Witness server?
    Any Powershell script/SQL Query..etc or share the alternative?
    Regards,
    Julie

    select principal_server_name,mirror_server_name,* from sys.database_mirroring_witnesses
    -Prashanth

  • Configuring Database Server to Shared Server Architecture

    Hello! Sir/Madam,
    Presently Our server configuration is Dedicated Server Architecture, due to number of connections opening in the dedicated server, we are shifting our server configuration to the Shared Server Archiecture.
    Will any One send me what are the parameters as to be set to Configure to the Shared Server Archiecture.
    Thanking U with Regards,
    Sravan
    Hyderabad.

    I would suggest also reviewing the DBA Administration manual Ch 4 Managing Oracle Database Processes using the Oracle® Database Administrator's Guide 10g Release 2 (10.2) Part Number B14231-01 since it discusses the database parameter settings in some detail.
    Remember to increase the size of the SGA to handle the UGA areas moved from the PGA into the Shared Pool.
    I would consider continuing to use dedicated sessions for batch and any process that uses dbms_alert or other features that do not work well with shared server.
    HTH -- Mark D Powell --

  • Configure database server for only run report

    Dear all,
    I have to design architecture a server to run only report from a client and i have some question as the following:
    1.Should i separate the from the production?
    2.How i will move data from production to a server report for fast?
    3.How i will config a database for a good performance?
    Thks for advance !
    Chara

    There is an severel option in database installation point which you can deside the type of database you want. (transaction, read only so on. )
    And try to configure SGA.
    http://www.lc.leidenuniv.nl/awcourse/oracle/server.920/a96533/memory.htm#34133<br%20/>
    upul indika.
    null

  • Two SharePoint server Farms using different configuration databases with same content DB's

    Hi everyone,
    I am having strange problem while cloning the environments for SharePoint 2007 farm. We cloned the WFE and DB servers with different names. When the configuration wizard has run pointing to the new DB server for complete the new FARM, The config is pointed
    to the new Database server but the content databases remains same as old. This makes the production and cloned sites pointed to the same content.
    How can this be possible to have a SharePoint farms with separate config DB's and same content DB's. Please advise and now the search service in the production is also broken.
    Thanks keshav,Share point Developer

    Hi,
    This is one reason  why you should always use SQL Aliases when configuring SharePoint 
    Stop the SharePoint Services, you can use Server Manager on the WFE
    From the command line
    Enter CLICONFG
    Highlight TCPIP, Click Enable
    Click on the Alias Tab, and Click Add
    Click the TCPIP Radio Button
    Enter the (Old Database Server Name) in the Server Alias Box
    Enter the (Cloned Database Server Name) Server Name in the Server Name Box
    Uncheck, Dynamically Assign
    Enter Port 1433, and Click OK. Make sure on your new SQL Server that you don't have an inbound rule blocking Port 1433.
    On the new Cloned Server WFE start the SharePoint Services
    Run IISReset
    On The WFE and the App Server. Start the SharePoint Services, you can use Server Manager
    I would normally test this by stopping the SQL Service on the Old Server and login to SharePoint on the Cloned Server...
    Cheers,
    -Ivan

  • Unable to connect siebel gateway name server during configuration enterprise server

    Hi,
    when I try to configure Siebel enterpise after entering the port of the gateway server name I get the following error: "Unable to connect gateway server name".
    I perform the following steps:
    1) Configuration Gateway Server Name
         Entered port TCP/IP = 2320
         Enable automaticaly start server gateway name server
         Show pop up "Configuration siebel succesful"
    2) Configuration Enterprise Server
         Entered name account authentication gateway server name = SADMIN
         Entered passoword account authentication gateway server name = SADMIN
         Entered name host gateway server name = VDIMTNSIEBEL01 (name my machine)
         Entered port TCP/IP gateway server name = 2320
         show pop up error : "Unable to connect gatawey server name"
    I can not find the log file in order to understand the issue.
    When I try to connect to the gateway from the browser with the url
    vdimtnsiebel01:2320 I get this screen mode:
    ???@??????? ?????????? ????????QÈ  ??? ??????????? ??? ??? ? ?h????
    and writes this log in the file "C:\siebel\8.1.1.0.0\ses\gtwysrvr\log\NameSrvr.log
    SisnapiLayerLog Error 1 0000001151c810a0:0 2013-06-25 10:11:27   4980: [SISNAPI]: Rx msg len=0 peer=VDIMTNSIEBEL01.ISCVDI.LOCAL avail=325 Hello expected session=13
    474554202F66617669636F6E2E69636F
    20485454502F312E310D0A486F73743A
    207664696D746E73696562656C30313A
    323332300D0A557365722D4167656E74
    3A204D6F7A696C6C612F352E30202857
    696E646F7773204E5420362E313B2057
    4F5736343B2072763A32312E30292047
    65636B6F2F3230313030313031204669

    Hi,
    Please clarify me the following.
    You specified the login name as 'SADMIN'. Is this the login id, that you used for your Operating System? "Entered name account authentication gateway server name" expects you to enter the NT login, not the DB login.
    You may also expected to specify your network name, if your login id is specific to a network. e.g Oracle\Rajkumar assuming that Oracle is your network and Rajkumar is the user name.
    You may not expected to have the DSN created, as Gateway may not be interested in knowing which DB you are connected to. And you neither enter the 'DB name' anywhere in the 'Gateway Server Configuration', if my understanding is right.
    Please confirm.
    Below pages are for reference (not directly relevant to your question):
    http://docs.oracle.com/cd/B40099_02/books/SiebInstWIN/SiebInstCOM_Prep18.html
    Bookshelf v8.0: Requirements for Siebel Gateway Name Server Installation and Configuration
    Thanks.
    Regards,
    Rajkumar Raju

  • Autodiscover server name configuration?

    I'm running Exchange 2010 with Outlook clients.  I have Autodiscover configured and working.  However, when a new user uses the autodiscover and does a "check name", the server returns a different server name from what's on my SSL certificate,
    so when the user subsequently opens Outlook, he/she will receive the security alert saying the names don't match.  How do I configure the server name being returned by the autodiscover service?  I need to tweak it to match what's on my certificate. 
    I've run "Set-OutlookProvider -CertPrincipalName" for both EXPR and EXCH, and whereas they now appear correct when I run "Get-OutlookProvider", this has made no difference to clients.
    Any help would be much appreciated!  Thanks!
    Brad.
    P.S.  If this question has already been answered numerous times, please resist the urge to swear at me and simply point me to the other posts.  Once again, thanks a lot!

    Thanks for the quick response!
    However, according to
    http://social.technet.microsoft.com/Forums/en-US/exchange2010/thread/6432dea0-e5a2-4cc2-afb8-24c89c18dc47/, "Set-ClientAccessServer AutoDiscoverServiceInternalUri" is for domain-joined machines.  My clients are not domain-joined.
    That same discussion mentions "Set-AutodiscoverVirtualDirectory -ExternalUrl", but quite frankly I don't think the URL is the issue.  It's the server name specifically that I want to change.  I'd like Outlook to be trying to connect to secure.mydomain.com,
    rather than servername.mydomain.com.
    Thoughts?
    Brad.

  • Error showing in listener while giving tnsping application server name

    iam trying to connect application server with database server.......while giving tnsping from database server as tnsping application_server_name
    its showing error as
    $ tnsping 10.92.5.8
    TNS Ping Utility for IBM/AIX RISC System/6000: Version 10.2.0.1.0 - Production on 09-FEB-2007 06:18:05
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Used parameter files:
    Used HOSTNAME adapter to resolve the alias
    Attempting to contact (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=10.92.5.8))(ADDRESS=(PROTOCOL=TCP)(HOST=10.92.5.8)(PORT=1521)))
    TNS-12541: TNS:no listener
    but i have set the listener in databse server.
    thsi is my listener.ora
    LISTENER =
    (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=tcp)(HOST=application server name)(PORT=1521))
    (ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY)))
    SID_LIST_LISTENER=
    (SID_LIST=
    (SID_DESC=
    (GLOBAL_DBNAME=RBTT)
    (SID_NAME=RBTT)
    (ORACLE_HOME=home path of database server)
    if iam connecting sqlplus there in application server and giving username and password
    its showing error as .......
    Enter user-name: xmluser
    Enter password:
    ERROR:
    Enter user-name: xmluser
    Enter password:
    ERROR:
    ORA-12545: Connect failed because target host or object does not exist
    thanks in advance
    R.Ratheesh

    hi,
    I have changed the listener hostname....before changing the host name also tnsoping database server name works fine....
    i am posting the tnsnames.ora of databse server
    RBTT =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS=(PROTOCOL=TCP) (HOST=application server_name) (PORT = 1521))
    (CONNECT_DATA =
    (SERVER=DEDICATED)
    (SERVICE_NAME = RBTT)
    tnsnames.ora for application server
    RBTT =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS=(PROTOCOL=TCP) (HOST=database server name) (PORT = 1521))
    (CONNECT_DATA =
    (SERVER=DEDICATED)
    (SERVICE_NAME = RBTT)
    is this is the right one..
    and regarding this connectivity between two servers tnsnames.ora and listener.ora plays a vital role....should i have to make any changes in sqlnet.ora in both application server and database server...should i have to copy sqlnet.ora,listener.ora in application server...and what has to be set in both???
    I have changed sqlnet.ora in database server in names.directory_path=tnsnames.ora
    thanks in advance,
    R.Ratheesh

  • SharePoint 2013 - Server Error in '/' Application - This operation can be performed only on a computer that is joined to a server farm by users who have permissions in SQL Server to read from the configuration database

    Hi
    After I ran SharePoint configuration wizard successfully to upgrade to SharePoint 2013 / SP1.
    I can open Central Administration site just fine.
    but now when I open any Site collection,  I got this error.
    Server Error in '/' Application
    This operation can be performed only on a computer that is joined to a server farm by users who have permissions in SQL Server to read from the configuration database. To connect this server to the server farm, use the SharePoint Products Configuration
    Wizard, located on the Start menu in Microsoft SharePoint 2010 Products
    I have restarted all the servers:  SQL server, WFE and APP servers but still cann't get this resolve.
    Services on all servers are running,  IIS - application pools are running.
    Can someone help with where that could be a problem or if there is a solution.
    Thanks in advance for your comments or advices.
    Swanl

    Please verify the followings:
    Make sure that from the SharePoint front end and application servers that you can ping your SQL server.
    Make sure that your Farm account has permission to the configuration database.
    Lastly verify that your database didn't for some reasons go into recovery mode.
    once everything is fine and you are still having issues, restart the SQL host service on the SQL server.
    Once the service is restarted you will need to reboot Central Admin and then your front end servers.
    In addition, as you built your farm inside the firewall, please disable the firwall, or create rules for SQL Server service in the firwall on SQL server.
    More information about creating rules in firewall, please refer to the following posts: http://social.technet.microsoft.com/Forums/en-US/c5d4d0d0-9a3b-4431-8150-17ccfbc6fb82/can-not-create-data-source-to-an-sql-server http://www.mssqltips.com/sqlservertip/1929/configure-windows-firewall-to-work-with-sql-server/
    Here is a similar post for you to take a look at: http://social.technet.microsoft.com/Forums/en-US/ea54e26c-1728-48d4-b2c5-2a3376a1082c/this-operation-can-be-performed-only-on-a-computer-that-is-joined-to-a-server-farm-by-users-who-have?forum=sharepointgeneral 
    Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply.

  • Sharepoint server 2013 configuration issue - failed to create configuration database

    Hi All,
    I have installed the SharePoint server 2013. After installing the SharePoint products, the configuration stops at failure of creating configuration database.
    Some system configuration & info:
    - 1 Domain controller server run Active Directory services on Windows server 2008 R2 SP1 (PC1 with name DC.Brainfiniti.com)
    - 1 Server which is used for installing Sharepoint server 2013 and MS SQL server 2008 R2 SP1 (PC2 with name App.Brainfiniti.com)
    - All of PCs were satisfied the requirement of Sharepoint server 2013
    - Firewall turned off & No antivirus tool was installed.
    - During installing of Sharepoint, choose "Complete" option: Farm mode and use SQL Server instead of SQL Express.
    - During configuration, created a new farm with a domain user account.
    - Use domain account to log on and install, configure in Sharepoint & SQL server (PC2)
    ATTEMPTS:
    1. Tried install and set up all of steps with just 1 account - domain administrator.
    2. Tried with separate domain account:
    - SQL Service account use for:
    + Install SQL server 2008
    + Connect all SQL services
    + Admin for SQL server
    - Setup account use for:
    + Member of local administrator group in PC2
    + Install Sharepoint
    + Run Configuration wizard
    + Was granted permission in SQL database: dbcreator, securityadmin, sysadmin and deselect serveradmin role.
    + Was choose for the database account in configuration database step
    Also tried with SQL service account in this step.
    3. Tried with Standalone mode for Sharepoint installing
    4. Trie with domain name: Brainfiniti.local
    5. Tried with some another solution from topic relate to database configuration in our community but not successful.
    But all attempts are failed at this configuration database step :'(
    Please correct me if I am going wrong by missing something or do I need to start/install some services.
    Screenshot Attached
    Sorry! Cannot add screenshot because my account is still not verified. Will add later.
    LOG ENTRY:
    01/23/2013 06:58:28  1  INF        Entering function CreateCentralAdministrationSiteForm.CreateCentralAdministrationSiteFormInitializeBeforeShow
    01/23/2013 06:58:28  1  INF          Found a task by the name of adminvs in the task collection
    01/23/2013 06:58:28  1  INF          Entering function TaskCommon.GenerateRandomUnUsedPort
    01/23/2013 06:58:28  1  INF            Entering function TaskCommon.EnsureIIs
    01/23/2013 06:58:28  1  INF              Entering function PreRequisiteChecks.IsIisInstalled
    01/23/2013 06:58:28  1  INF                Entering function PreRequisiteChecks.IsRightVersionOfIis
    01/23/2013 06:58:28  1  INF                  Version of IIS is 7
    01/23/2013 06:58:28  1  INF                Leaving function PreRequisiteChecks.IsRightVersionOfIis
    01/23/2013 06:58:28  1  INF              Leaving function PreRequisiteChecks.IsIisInstalled
    01/23/2013 06:58:28  1  INF              Entering function PreRequisiteChecks.IsRightVersionOfIis
    01/23/2013 06:58:28  1  INF                Version of IIS is 7
    01/23/2013 06:58:28  1  INF              Leaving function PreRequisiteChecks.IsRightVersionOfIis
    01/23/2013 06:58:28  1  INF              Entering function ServiceHelper.Start
    01/23/2013 06:58:28  1  INF                Trying to start service W3SVC and waiting 180 sec to do so
    01/23/2013 06:58:28  1  INF                service W3SVC is Running, nothing to do
    01/23/2013 06:58:28  1  INF                starting service W3SVC (it may already be started)
    01/23/2013 06:58:28  1  INF              Leaving function ServiceHelper.Start
    01/23/2013 06:58:28  1  INF            Leaving function TaskCommon.EnsureIIs
    01/23/2013 06:58:28  1  INF            Trying to see if port 40993 is free on machine APP.  Min port we will try is 1024, Max port we will try is 49151
    01/23/2013 06:58:30  1  INF            A SocketException was thrown with
    SocketError ConnectionRefused
    01/23/2013 06:58:30  1  INF            Connect has been refused for port 40993, so we will consider this a free port
    01/23/2013 06:58:30  1  INF            Have not found a free port yet.  Number of tries is 1.  Min port we will try is 1024, Max port we will try is 49151
    01/23/2013 06:58:30  1  INF            Adding port 40993 to the exclusion list so it is not chosen again during this run
    01/23/2013 06:58:30  1  INF          Leaving function TaskCommon.GenerateRandomUnUsedPort
    01/23/2013 06:58:30  1  INF        Leaving function CreateCentralAdministrationSiteForm.CreateCentralAdministrationSiteFormInitializeBeforeShow
    I just post a part of its logs which contain "error" string because it's too long.
    According this log, there is a error in port connection but i've turned firewall off ???
    Please help me with this mix up :'(
    p/s: sorry for my English!
    Thanks,
    Hien Hoang

    Below is the logs entry with "ERR" marked line:
    01/23/2013 07:03:17  9  INF                    Now joining to farm at server app.brainfiniti.com database SharePoint_Config
    01/23/2013 07:04:12  9  ERR                    Task configdb has failed with an unknown exception
    01/23/2013 07:04:12  9  ERR                    Exception: 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 System.Security.AccessControl.CommonObjectSecurity.ModifyAccess(AccessControlModification modification, AccessRule rule, Boolean& modified)
       at System.Security.AccessControl.CommonObjectSecurity.AddAccessRule(AccessRule rule)
       at Microsoft.SharePoint.Administration.Claims.SPSecurityTokenServiceCertificate.ProvisionLocal()
       at Microsoft.SharePoint.Administration.Claims.SPSecurityTokenServiceApplication.ProvisionLocal(SPServiceInstance serviceInstance)
       at Microsoft.SharePoint.Administration.SPIisWebServiceInstance.Provision()
       at Microsoft.SharePoint.Administration.SPFarm.Join(Boolean skipRegisterAsDistributedCacheHost)
       at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.CreateOrConnectConfigDb()
       at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.Run()
       at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()
    01/23/2013 07:04:12  9  INF                    Entering function Common.BuildExceptionMessage
    01/23/2013 07:04:12  9  INF                      Entering function StringResourceManager.GetResourceString
    01/23/2013 07:04:12  9  INF                        Resource id to be retrieved is ExceptionInfo for language English (United States)
    01/23/2013 07:04:12  9  INF                        Resource retrieved id ExceptionInfo is An exception of type {0} was thrown. 
    Additional exception information: {1}
    01/23/2013 07:04:12  9  INF                      Leaving function StringResourceManager.GetResourceString
    01/23/2013 07:04:12  9  INF                    Leaving function Common.BuildExceptionMessage
    01/23/2013 07:04:12  9  INF                    Entering function Common.BuildExceptionInformation
    01/23/2013 07:04:12  9  INF                      Entering function Common.BuildExceptionMessage
    01/23/2013 07:04:12  9  INF                        Entering function StringResourceManager.GetResourceString
    01/23/2013 07:04:12  9  INF                          Resource id to be retrieved is ExceptionInfo for language English (United
    States)
    01/23/2013 07:04:12  9  INF                          Resource retrieved id ExceptionInfo is An exception of type {0} was thrown. 
    Additional exception information: {1}
    01/23/2013 07:04:12  9  INF                        Leaving function StringResourceManager.GetResourceString
    01/23/2013 07:04:12  9  INF                      Leaving function Common.BuildExceptionMessage
    01/23/2013 07:04:12  9  INF                    Leaving function Common.BuildExceptionInformation
    01/23/2013 07:04:12  9  ERR                    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 System.Security.AccessControl.CommonObjectSecurity.ModifyAccess(AccessControlModification modification, AccessRule rule, Boolean& modified)
       at System.Security.AccessControl.CommonObjectSecurity.AddAccessRule(AccessRule rule)
       at Microsoft.SharePoint.Administration.Claims.SPSecurityTokenServiceCertificate.ProvisionLocal()
       at Microsoft.SharePoint.Administration.Claims.SPSecurityTokenServiceApplication.ProvisionLocal(SPServiceInstance serviceInstance)
       at Microsoft.SharePoint.Administration.SPIisWebServiceInstance.Provision()
       at Microsoft.SharePoint.Administration.SPFarm.Join(Boolean skipRegisterAsDistributedCacheHost)
       at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.CreateOrConnectConfigDb()
       at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.Run()
       at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()
    01/23/2013 07:04:12  9  INF                    Entering function Common.BuildExceptionInformation
    01/23/2013 07:04:12  9  INF                    Entering function TaskBase.OnTaskStop
    01/23/2013 07:04:12  9  INF                      Creating the OnTaskStop event for task configdb
    01/23/2013 07:04:12  9  ERR                      Task configdb has failed
    01/23/2013 07:04:12  9  INF                      friendlyMessage for task configdb is An exception of type System.Security.Principal.IdentityNotMappedException
    was thrown.  Additional exception information: Some or all identity references could not be translated.
    01/23/2013 07:04:12  9  INF                      debugMessage for task configdb is 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 System.Security.AccessControl.CommonObjectSecurity.ModifyAccess(AccessControlModification modification, AccessRule rule, Boolean& modified)
       at System.Security.AccessControl.CommonObjectSecurity.AddAccessRule(AccessRule rule)
       at Microsoft.SharePoint.Administration.Claims.SPSecurityTokenServiceCertificate.ProvisionLocal()
       at Microsoft.SharePoint.Administration.Claims.SPSecurityTokenServiceApplication.ProvisionLocal(SPServiceInstance serviceInstance)
       at Microsoft.SharePoint.Administration.SPIisWebServiceInstance.Provision()
       at Microsoft.SharePoint.Administration.SPFarm.Join(Boolean skipRegisterAsDistributedCacheHost)
       at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.CreateOrConnectConfigDb()
       at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.Run()
       at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()
    01/23/2013 07:04:12  9  INF                      Entering function TaskBase.FireTaskStateChanged
    01/23/2013 07:04:12  9  INF                        Firing the OnTaskStateChanged event for task configdb
    01/23/2013 07:04:12  9  INF                        Entering function TaskDriver.TaskStateEventHandler
    01/23/2013 07:04:12  9  INF                          Entering function StringResourceManager.GetResourceString
    01/23/2013 07:04:12  9  INF                            Resource id to be retrieved is ConfigurationDatabaseTaskDisplayName
    for language English (United States)
    01/23/2013 07:04:12  9  INF                            Resource retrieved id ConfigurationDatabaseTaskDisplayName
    is configuration database
    01/23/2013 07:04:12  9  INF                          Leaving function StringResourceManager.GetResourceString
    01/23/2013 07:04:12  9  INF                          Received an TaskStateEventHandler event.  task:configdb TaskBase.State:stopped
    01/23/2013 07:04:12  9  INF                          Entering function TasksQueue.IncrementTaskFailed
    01/23/2013 07:04:12  9  INF                            Incremented the number of tasks failed to 1
    01/23/2013 07:04:12  9  INF                          Leaving function TasksQueue.IncrementTaskFailed
    01/23/2013 07:04:12  9  INF                          Task configdb has stopped and failed.  Total failed is now 1
    01/23/2013 07:04:12  9  INF                        Leaving function TaskDriver.TaskStateEventHandler
    01/23/2013 07:04:12  9  INF                        Entering function PsconfigBaseForm.TaskStateEventHandler
    01/23/2013 07:04:12  9  INF                          Invoking the UI thread with the task state chagne event
    01/23/2013 07:04:12  1  INF                          Entering function ConfigurationProgressForm.InvokeTaskStateEventHandler
    01/23/2013 07:04:12  1  INF                            Received an TaskStateEventHandler event.  task:configdb
    TaskBase.State:stopped TaskBase.TaskResultconfigdb
    01/23/2013 07:04:12  1  INF                            Acquiring the reader lock to retrieve the state
    01/23/2013 07:04:12  1  INF                            Releasing the reader lock to retrieve the state
    01/23/2013 07:04:12  1  INF                            Acquiring the reader lock to retrieve the state
    01/23/2013 07:04:12  1  INF                            Releasing the reader lock to retrieve the state
    01/23/2013 07:04:12  1  ERR                            Task configdb has stopped and failed.  Total failed
    is now 1
    01/23/2013 07:04:12  1  INF                            Entering function Command.this[string key]
    01/23/2013 07:04:12  1  INF                              Entering function CommandCollectionBase.Get
    01/23/2013 07:04:12  1  INF                                Found value in collection for key
    disconnect
    01/23/2013 07:04:12  1  INF                              Leaving function CommandCollectionBase.Get
    01/23/2013 07:04:12  1  INF                              Found parameter disconnect in collection
    01/23/2013 07:04:12  1  INF                            Leaving function Command.this[string key]
    01/23/2013 07:04:12  1  INF                            Entering function Command.this[string key]
    01/23/2013 07:04:12  1  INF                              Entering function CommandCollectionBase.Get
    01/23/2013 07:04:12  1  INF                                Found value in collection for key
    connect
    01/23/2013 07:04:12  1  INF                              Leaving function CommandCollectionBase.Get
    01/23/2013 07:04:12  1  INF                              Found parameter connect in collection
    01/23/2013 07:04:12  1  INF                            Leaving function Command.this[string key]
    01/23/2013 07:04:12  1  INF                            Entering function Command.this[string key]
    01/23/2013 07:04:12  1  INF                              Entering function CommandCollectionBase.Get
    01/23/2013 07:04:12  1  INF                                Found value in collection for key
    create
    01/23/2013 07:04:12  1  INF                              Leaving function CommandCollectionBase.Get
    01/23/2013 07:04:12  1  INF                              Found parameter create in collection
    01/23/2013 07:04:12  1  INF                            Leaving function Command.this[string key]
    01/23/2013 07:04:12  1  INF                            Entering function StringResourceManager.GetResourceString
    01/23/2013 07:04:12  1  INF                              Resource id to be retrieved is ConfigurationDatabaseTaskCreateFailConfigDisplayLabel
    for language English (United States)
    01/23/2013 07:04:12  1  INF                              Resource retrieved id ConfigurationDatabaseTaskCreateFailConfigDisplayLabel
    is Failed to create the configuration database.
    01/23/2013 07:04:12  1  INF                            Leaving function StringResourceManager.GetResourceString
    01/23/2013 07:04:12  1  INF                            Updating the task label below the progress bar Failed to
    create the configuration database.
    01/23/2013 07:04:12  1  INF                            Entering function FormParameterCollection.Add
    01/23/2013 07:04:12  1  INF                            Leaving function FormParameterCollection.Add
    01/23/2013 07:04:12  1  INF                            Last message from task configdb is An exception of type System.Security.Principal.IdentityNotMappedException
    was thrown.  Additional exception information: Some or all identity references could not be translated.
    01/23/2013 07:04:12  1  INF                            Not running in high contrast, so we will paint the background
    with our trademarked image
    01/23/2013 07:04:12  1  INF                            Not running in high contrast, so we will paint the background
    with our trademarked image
    01/23/2013 07:04:12  1  INF                            Not running in high contrast, so we will paint the background
    with our trademarked image
    01/23/2013 07:04:12  1  INF                            Not running in high contrast, so we will paint the background
    with our trademarked image
    01/23/2013 07:04:12  1  INF                            Not running in high contrast, so we will paint the background
    with our trademarked image
    01/23/2013 07:04:12  1  INF                            Updating the task additional notification information below
    the progress bar An exception of type System.Security.Principal.IdentityNotMappedException was thrown.  Additional exception information: Some or all identity references could not be translated.
    01/23/2013 07:04:12  1  INF                          Leaving function ConfigurationProgressForm.InvokeTaskStateEventHandler
    01/23/2013 07:04:12  9  INF                          Sleeping an extra 1 ms so things don't go too fast for the user for this
    task
    01/23/2013 07:04:12  1  INF                          Not running in high contrast, so we will paint the background with our
    trademarked image
    01/23/2013 07:04:12  9  INF                        Leaving function PsconfigBaseForm.TaskStateEventHandler
    01/23/2013 07:04:12  9  INF                      Leaving function TaskBase.FireTaskStateChanged
    01/23/2013 07:04:12  9  INF                    Leaving function TaskBase.OnTaskStop
    01/23/2013 07:04:12  9  INF                  Leaving function TaskThread.ExecuteTask
    01/23/2013 07:04:12  4  INF                  Entering function StringResourceManager.GetResourceString
    01/23/2013 07:04:12  4  INF                    Resource id to be retrieved is ConfigurationDatabaseTaskDisplayName for language English (United States)
    01/23/2013 07:04:12  4  INF                    Resource retrieved id ConfigurationDatabaseTaskDisplayName is configuration database
    01/23/2013 07:04:12  4  INF                  Leaving function StringResourceManager.GetResourceString
    01/23/2013 07:04:12  4  ERR                  Task configuration database failed, so stopping execution of the engine
    01/23/2013 07:04:12  4  INF                  Entering function Command.this[string key]
    01/23/2013 07:04:12  4  INF                    Entering function CommandCollectionBase.Get
    01/23/2013 07:04:12  4  INF                      Found value in collection for key disconnect
    01/23/2013 07:04:12  4  INF                    Leaving function CommandCollectionBase.Get
    01/23/2013 07:04:12  4  INF                    Found parameter disconnect in collection
    01/23/2013 07:04:12  4  INF                  Leaving function Command.this[string key]
    01/23/2013 07:04:12  4  INF                  Entering function Command.this[string key]
    01/23/2013 07:04:12  4  INF                    Entering function CommandCollectionBase.Get
    01/23/2013 07:04:12  4  INF                      Found value in collection for key connect
    01/23/2013 07:04:12  4  INF                    Leaving function CommandCollectionBase.Get
    01/23/2013 07:04:12  4  INF                    Found parameter connect in collection
    01/23/2013 07:04:12  4  INF                  Leaving function Command.this[string key]
    01/23/2013 07:04:12  4  INF                  Entering function Command.this[string key]
    01/23/2013 07:04:12  4  INF                    Entering function CommandCollectionBase.Get
    01/23/2013 07:04:12  4  INF                      Found value in collection for key create
    01/23/2013 07:04:12  4  INF                    Leaving function CommandCollectionBase.Get
    01/23/2013 07:04:12  4  INF                    Found parameter create in collection
    01/23/2013 07:04:12  4  INF                  Leaving function Command.this[string key]
    01/23/2013 07:04:12  4  INF                  Entering function StringResourceManager.GetResourceString
    01/23/2013 07:04:12  4  INF                    Resource id to be retrieved is ConfigurationDatabaseTaskCreateFailConfigDisplayLabel for language English
    (United States)
    01/23/2013 07:04:12  4  INF                    Resource retrieved id ConfigurationDatabaseTaskCreateFailConfigDisplayLabel is Failed to create the configuration
    database.
    01/23/2013 07:04:12  4  INF                  Leaving function StringResourceManager.GetResourceString
    01/23/2013 07:04:12  4  ERR                  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 System.Security.AccessControl.CommonObjectSecurity.ModifyAccess(AccessControlModification modification, AccessRule rule, Boolean& modified)
       at System.Security.AccessControl.CommonObjectSecurity.AddAccessRule(AccessRule rule)
       at Microsoft.SharePoint.Administration.Claims.SPSecurityTokenServiceCertificate.ProvisionLocal()
       at Microsoft.SharePoint.Administration.Claims.SPSecurityTokenServiceApplication.ProvisionLocal(SPServiceInstance serviceInstance)
       at Microsoft.SharePoint.Administration.SPIisWebServiceInstance.Provision()
       at Microsoft.SharePoint.Administration.SPFarm.Join(Boolean skipRegisterAsDistributedCacheHost)
       at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.CreateOrConnectConfigDb()
       at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.Run()
       at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()
    01/23/2013 07:04:12  4  INF                  Entering function TaskDriver.NotifyTaskSummary

  • How do web front ends find the configuration database (moving whole farm to new AD forest)

    We are exploring, as a possible course of action, moving our SharePoint 2007 medium farm to a different Active Directory forest (2008). There is a two way transitive trust between the source and target domains.
    I have established that with such a trust it's possible to add content databases on a SQL instance in another forest, so moving content is not a big issue; we'd stand up new instances and move them: the user accounts are almost all in the target domain anyway.
    However, we have a good deal of customization, including a third-party application that no longer has any support and has historically been appallingly difficult to upgrade/install fresh.
    How do web front end servers find the SQL instance containing the configuration database? If the farm credentials had been previously changed to an account in the target domain, all services stopped and the configuration database moved to a new instance
    with a DNS alias, would the database appear to be in the same location when SQL and SharePoint services were started on (logically) moved web front ends?

    Here is more or less the high-level process for SharePoint 2007:
    Mid- to high-level steps.
    0. Full farm backup
    1. Move users to new domain (in AD). Use stsadm -o migrateuser to migrate the old domain accounts to the new ones in SharePoint
    2. Move service accounts to new domain, or create new service accounts
    3. Update the farm to use the service accounts in the new domain
    stsadm -o updatefarmcredentials (service accounts)
    stsadm -o spsearch -farmserviceaccount
    stsadm -o spsearch -farmcontentaccessaccount
    stsadm -o editssp -ssplogin (for each ssp)
    stsadm -o osearch -farmserviceaccount
    SSO and any other remaining service accounts (CA -> Ops -> Service Accounts)
    Default content access account (SSP -> Search Settings -> Default content access account)
    Customizations (if there are service accounts associated with these)
    3.5 Manual steps
    Application pool accounts
    Update permissions for SQL Logins to make sure the new accounts match the permissions for the old accounts
    Add the appropriate new accounts to the DCOM IIS WAMREG Admin Service
    4. Update the SQL Server service accounts. If SQL Server is shared with other applications you'll want to update the SQL Logins for these other applications as necessary and the SQL Server service accounts (DB Engine, DB Agent, Reporting Services, etc.). Might
    not be necessary if this has already been done or if the SQL server is not changing domains. 
    5. Shut down all services on all servers in the farm (this includes SQL if you are moving to the new domain).
    6. Change domain membership of all farm servers, reboot or perhaps shutdown and bring back up in the following order:
    1. SQL. Verify SQL Server is running and accessible. Check event logs. Resolve any issues.
    2. Central Admin server. Verify CA is accessible, check event logs. Web apps and some services may not be available if they are on servers that are currently turned off. Don't worry about these (yet).
    3. Application servers, search servers, index, query, other. It's likely some or all of the WFEs will go on at this step. Verify services are accessible as expected. Check event logs. Resolve issues.
    4. Any remaining WFEs. Wash, rinse, repeat.
    7. Assuming everything is running as expected, users can access the sites, the sky did not fall, etc. take a full farm backup.
    Hey look, here are some low-level steps too.
    # updates the account used to run the CA app pool and the timer service
    # must be run on the server that hosts CA
    stsadm -o updatefarmcredentials -identitytype configurableid -userlogin NEWDOMAIN\farm_service_account -password Password123
    # spsearch
    stsadm -o spsearch -farmserviceaccount NEWDOMAIN\search_service_account -farmservicepassword Password123 -farmcontentaccessaccount NEWDOMAIN\crawl_service_account -farmcontentaccesspassword Password123
    # osearch
    stsadm -o osearch -farmcontactemail [email protected] -farmserviceaccount NEWDOMAIN\search_service_account -farmservicepassword Password123
    # ssp service accounts
    stsadm -o editssp -title SSP -ssplogin NEWDOMAIN\ssp_service_account -ssppassword Password123
    # Manual steps
    SSP Admin -> Search Settings -> Default Content Access Account
    Application pools: CA -> Operations -> Service Accounts -> Web Application Pool (or use gl-updateapppoolaccount if available)
    iisreset /noforce
    Copy SQL permissions to the new accounts. Not sure why this doesn't happen.
    SSP Service Account
    Farm Account
    Setup Account (not copied because it doesn't own anything, just used to kick off the DB for the other accounts)
    Search Service
    Add accounts to DCOM not sure why this didn't happen
    Component Services -> Computer -> My Computer -> DCOM Config -> IIS WAMREG Service
    Farm account
    Application pool accounts
    Search Service
    SSP Service
    SSP Admin
    Then the fun part. Move the server into the new domain.
    Check for AAMs to see if they reference the current domain. If so, change to the new one.
    Stop all SP services. Join new domain.
    The computer name is a netbios name in SP, this should be painless.
    Some general notes from my experience doing this:
    1. There is no way to update application pool identities with stsadm (I haven't explored using Powershell). You have to go through CA -> Service Accounts to update these.
    2. Some SQL logins and permissions were not created. I compared the permissions before to the permissions after and copied the ones that didn't transfer. This resolved all database access issues.
    3. Had to grant permissions for the service accounts in the DCOM configuration for the IIS WAMREG admin service. I expected this to happen automatically but was not surprised given the history of CLSID 61738644-F196-11D0-9953-00C04FD919C1.

Maybe you are looking for