Quantcast
Channel: Rudi Kersten's Blog | Lync Server 2010
Viewing all articles
Browse latest Browse all 10

Failed to connect to the configuration database. When trying to join a SharePoint 2007 Web Front End server to a SharePoint 2007 farm

$
0
0

Ok, so we are working to do a full SharePoint deployment at the company. Currently, there is no Intranet for our company and we are building out the SharePoint environment to do a mass deployment.  We currently have a Development, Test, Train, and Production environment for SharePoint. The Production environment that I built out consists of 1 Web Front End (WFE), 1 Central Admin, 1 Outgoing E-Mail service which goes through our Exchange CAS NLB, and 1 highly available SQL server. Well, as we are getting closer to release to our end users of the Intranet, we decided to stand up a second WFE to have load balanced and ensure the best experience for our end users.

We had new WFE built and Sysprepped on Windows Server 2008 R2 for rapid deployment if we need to stand up additional WFE servers.

Ok so too much information! Lets get down to the error and how to fix it.

After starting the SharePoint configuration wizard, the query on the database server retrieved the database correctly as well as the MOSS_Database_Access account as the Database Access Account. However, once starting the setup, it failed on step 2 with the following error:

An exception of type Microsoft.SharePoint.Upgrade.SPUpgradeException was thrown.  Additional exception information: One or more types failed to load. Please refer to the upgrade log for more details. Soooo, I tried to check the Upgrade.LOG file, but it didn’t exist. Next, I checked the Event Log and these were the two events matching the error:

And to add to the fun; here is an excerpt from the SharePoint PSCDiagnostics log generated during the WFE configuration (this log is located at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\LOGS):

05/13/2010 14:07:03  8  ERR                            An exception of type Microsoft.SharePoint.Upgrade.SPUpgradeException was thrown.  Additional exception information: One or more types failed to load. Please refer to the upgrade log for more details.

Microsoft.SharePoint.Upgrade.SPUpgradeException: One or more types failed to load. Please refer to the upgrade log for more details.

   at Microsoft.SharePoint.Upgrade.SPDelegateManager.RegisterAssembly(Assembly asm, UInt32 nOrder)

   at Microsoft.SharePoint.Upgrade.SPDelegateManager.get_InitialTypeDictionary()

   at Microsoft.SharePoint.Upgrade.SPDelegateManager.GetDelegateTypes(Type tpObject)

   at Microsoft.SharePoint.Upgrade.SPDelegateManager.GetDelegates(Object o)

   at Microsoft.SharePoint.Upgrade.SPDelegateManager.GetUpgraders(Object o)

   at Microsoft.SharePoint.Upgrade.SPManager.NeedsUpgradeFalse(Object o)

   at Microsoft.SharePoint.Administration.SPPersistedUpgradableObject.set_NeedsUpgrade(Boolean value)

   at Microsoft.SharePoint.Administration.SPPersistedObject.Update()

   at Microsoft.SharePoint.Administration.SPServer.Update()

   at Microsoft.SharePoint.Administration.SPFarm.Join()

   at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.CreateOrConnectConfigDb()

   at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.Run()

   at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()

05/13/2010 14:07:03  8  INF                            Entering function Common.BuildExceptionInformation

05/13/2010 14:07:03  8  INF                              Entering function Common.BuildExceptionMessage

05/13/2010 14:07:03  8  INF                                Entering function StringResourceManager.GetResourceString

05/13/2010 14:07:03  8  INF                                  Resource id to be retrieved is ExceptionInfo for language English (United States)

05/13/2010 14:07:03  8  INF                                  Resource retrieved id ExceptionInfo is An exception of type {0} was thrown.  Additional exception information: {1}

05/13/2010 14:07:03  8  INF                                Leaving function StringResourceManager.GetResourceString

05/13/2010 14:07:03  8  INF                              Leaving function Common.BuildExceptionMessage

05/13/2010 14:07:03  8  INF                            Leaving function Common.BuildExceptionInformation

05/13/2010 14:07:03  8  INF                            Entering function TaskBase.OnTaskStop

05/13/2010 14:07:03  8  INF                              Creating the OnTaskStop event for task configdb

05/13/2010 14:07:03  8  ERR                              Task configdb has failed

05/13/2010 14:07:03  8  INF                              friendlyMessage for task configdb is An exception of type Microsoft.SharePoint.Upgrade.SPUpgradeException was thrown.  Additional exception information: One or more types failed to load. Please refer to the upgrade log for more details.

05/13/2010 14:07:03  8  INF                              debugMessage for task configdb is An exception of type Microsoft.SharePoint.Upgrade.SPUpgradeException was thrown.  Additional exception information: One or more types failed to load. Please refer to the upgrade log for more details.

Microsoft.SharePoint.Upgrade.SPUpgradeException: One or more types failed to load. Please refer to the upgrade log for more details.

   at Microsoft.SharePoint.Upgrade.SPDelegateManager.RegisterAssembly(Assembly asm, UInt32 nOrder)

   at Microsoft.SharePoint.Upgrade.SPDelegateManager.get_InitialTypeDictionary()

   at Microsoft.SharePoint.Upgrade.SPDelegateManager.GetDelegateTypes(Type tpObject)

   at Microsoft.SharePoint.Upgrade.SPDelegateManager.GetDelegates(Object o)

   at Microsoft.SharePoint.Upgrade.SPDelegateManager.GetUpgraders(Object o)

   at Microsoft.SharePoint.Upgrade.SPManager.NeedsUpgradeFalse(Object o)

   at Microsoft.SharePoint.Administration.SPPersistedUpgradableObject.set_NeedsUpgrade(Boolean value)

   at Microsoft.SharePoint.Administration.SPPersistedObject.Update()

   at Microsoft.SharePoint.Administration.SPServer.Update()

   at Microsoft.SharePoint.Administration.SPFarm.Join()

   at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.CreateOrConnectConfigDb()

   at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.Run()

   at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()

05/13/2010 14:07:03  8  INF                              Entering function TaskBase.FireTaskStateChanged

05/13/2010 14:07:03  8  INF                                Firing the OnTaskStateChanged event for task configdb 

05/13/2010 14:07:03  8  ERR                            An exception of type Microsoft.SharePoint.Upgrade.SPUpgradeException was thrown.  Additional exception information: One or more types failed to load. Please refer to the upgrade log for more details.

Microsoft.SharePoint.Upgrade.SPUpgradeException: One or more types failed to load. Please refer to the upgrade log for more details.

   at Microsoft.SharePoint.Upgrade.SPDelegateManager.RegisterAssembly(Assembly asm, UInt32 nOrder)

   at Microsoft.SharePoint.Upgrade.SPDelegateManager.get_InitialTypeDictionary()

   at Microsoft.SharePoint.Upgrade.SPDelegateManager.GetDelegateTypes(Type tpObject)

   at Microsoft.SharePoint.Upgrade.SPDelegateManager.GetDelegates(Object o)

   at Microsoft.SharePoint.Upgrade.SPDelegateManager.GetUpgraders(Object o)

   at Microsoft.SharePoint.Upgrade.SPManager.NeedsUpgradeFalse(Object o)

   at Microsoft.SharePoint.Administration.SPPersistedUpgradableObject.set_NeedsUpgrade(Boolean value)

   at Microsoft.SharePoint.Administration.SPPersistedObject.Update()

   at Microsoft.SharePoint.Administration.SPServer.Update()

   at Microsoft.SharePoint.Administration.SPFarm.Join()

   at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.CreateOrConnectConfigDb()

   at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.Run()

   at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()

05/13/2010 14:07:03  8  INF                            Entering function Common.BuildExceptionInformation

05/13/2010 14:07:03  8  INF                              Entering function Common.BuildExceptionMessage

05/13/2010 14:07:03  8  INF                                Entering function StringResourceManager.GetResourceString

05/13/2010 14:07:03  8  INF                                  Resource id to be retrieved is ExceptionInfo for language English (United States)

05/13/2010 14:07:03  8  INF                                  Resource retrieved id ExceptionInfo is An exception of type {0} was thrown.  Additional exception information: {1}

05/13/2010 14:07:03  8  INF                                Leaving function StringResourceManager.GetResourceString

05/13/2010 14:07:03  8  INF                              Leaving function Common.BuildExceptionMessage

05/13/2010 14:07:03  8  INF                            Leaving function Common.BuildExceptionInformation

05/13/2010 14:07:03  8  INF                            Entering function TaskBase.OnTaskStop

05/13/2010 14:07:03  8  INF                              Creating the OnTaskStop event for task configdb

05/13/2010 14:07:03  8  ERR                              Task configdb has failed

05/13/2010 14:07:03  8  INF                              friendlyMessage for task configdb is An exception of type Microsoft.SharePoint.Upgrade.SPUpgradeException was thrown.  Additional exception information: One or more types failed to load. Please refer to the upgrade log for more details.

05/13/2010 14:07:03  8  INF                              debugMessage for task configdb is An exception of type Microsoft.SharePoint.Upgrade.SPUpgradeException was thrown.  Additional exception information: One or more types failed to load. Please refer to the upgrade log for more details.

Microsoft.SharePoint.Upgrade.SPUpgradeException: One or more types failed to load. Please refer to the upgrade log for more details.

   at Microsoft.SharePoint.Upgrade.SPDelegateManager.RegisterAssembly(Assembly asm, UInt32 nOrder)

   at Microsoft.SharePoint.Upgrade.SPDelegateManager.get_InitialTypeDictionary()

   at Microsoft.SharePoint.Upgrade.SPDelegateManager.GetDelegateTypes(Type tpObject)

   at Microsoft.SharePoint.Upgrade.SPDelegateManager.GetDelegates(Object o)

   at Microsoft.SharePoint.Upgrade.SPDelegateManager.GetUpgraders(Object o)

   at Microsoft.SharePoint.Upgrade.SPManager.NeedsUpgradeFalse(Object o)

   at Microsoft.SharePoint.Administration.SPPersistedUpgradableObject.set_NeedsUpgrade(Boolean value)

   at Microsoft.SharePoint.Administration.SPPersistedObject.Update()

   at Microsoft.SharePoint.Administration.SPServer.Update()

   at Microsoft.SharePoint.Administration.SPFarm.Join()

   at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.CreateOrConnectConfigDb()

   at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.Run()

   at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()

05/13/2010 14:07:03  8  INF                              Entering function TaskBase.FireTaskStateChanged

05/13/2010 14:07:03  8  INF                                Firing the OnTaskStateChanged event for task configdb

 

After tons of fun, checking the SQL database settings (I was using a domain admin account to join the WFE to the farm, which was also a dbowner on the database instance), restarting the server, turning off User Account Control (UAC), uninstalling and reinstalling SharePoint 2007, I still had no luck. Then I googled and binged every part of the error messages to try and find an answer, but I found nothing that was related to the problem I was having. Then I thought back to something I had heard of someone having a problem publishing an Infopath document with Infopath 2010 (Beta) on SharePoint 2007. Then it clicked!

The problem was that we had Microsoft Office Professional Plus 2010 (Full Version – RTM) installed on this new WFE and for some reason Infopath 2010 was causing the WFE to fail at “Connecting to Database” (Step 2) when joining the SharePoint 2007 Farm. I went into Programs and Features, and Changed the Office 2010 install to remove Infopath 2010. After that, the WFE joined the farm without a single issue. After the server joined the farm, I went back and reinstalled Infopath 2010.

I guess there is no documentation out there on this, since Office 2010 has only been at RTM for about a month. Hopefully someone else finds this useful!

/ Rudi



Viewing all articles
Browse latest Browse all 10

Latest Images

Trending Articles



Latest Images