One or more types failed to load - While creating a web application as well as running psconfig wizard
Hello I got this error while i was trying to create a web application - 'One or more types failed to load'. So i tried to run psconfig and got the same error. My Spec Windows Server 2008 R2 x64 SharePoint Server 2007 x64 with MOSS SP1, MOSS SP2, WSS SP1 and WSS SP2 Microsoft Office Professional 2010 x64 Microsoft SQL Server 2005 And, here is the complete error - Log Name: Application Source: SharePoint Products and Technologies Configuration Wizard Date: 8/27/2010 3:30:28 PM Event ID: 104 Task Category: None Level: Error Keywords: Classic User: N/A Computer: ZBDEV22.zenbridge.com Description: Failed to register SharePoint services. 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.SPService.Update() at Microsoft.SharePoint.Administration.SPPersistedObject.Update(Boolean ensure) at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.InstallServiceInConfigDB(Boolean provisionTheServiceToo, String serviceRegistryKeyName) at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.InstallServices(Boolean provisionTheServicesToo) at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.Run() at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask() Event Xml: <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name="SharePoint Products and Technologies Configuration Wizard" /> <EventID Qualifiers="0">104</EventID> <Level>2</Level> <Task>0</Task> <Keywords>0x80000000000000</Keywords> <TimeCreated SystemTime="2010-08-27T10:00:28.000000000Z" /> <EventRecordID>6892</EventRecordID> <Channel>Application</Channel> <Computer>PC123</Computer> <Security /> </System> <EventData> <Data>Failed to register SharePoint services. 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.SPService.Update() at Microsoft.SharePoint.Administration.SPPersistedObject.Update(Boolean ensure) at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.InstallServiceInConfigDB(Boolean provisionTheServiceToo, String serviceRegistryKeyName) at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.InstallServices(Boolean provisionTheServicesToo) at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.Run() at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()</Data> </EventData> </Event> Regards NLV Visit SharePoint User group - India
August 27th, 2010 1:14pm

Please follow the below steps to start the services. Check that the windows sharepoint services are started and add the service account in IIS_WPG,WSS_ADMIN_WPG, WSS_WPG. Register services in the server farm: psconfig -cmd services -install Note: After installing services, you must start and configure two services, Windows SharePoint Services Search and Office SharePoint Server Search, by using the Stsadm command-line tool: a. stsadm -o spsearch -action start -farmserviceaccount <domain\user name> -farmservicepassword <password>[-database name <content database name>] [-database server <server instance> ] [-search server <search server name>] b. stsadm -o osearch -action start -role IndexQuery -farmserviceaccount <domain\user name> -farmservicepassword <password> -farmcontactemail <user@domain.com> c. Provision the services of the farm: psconfig -cmd services -provisionFred Ellis - MSFT - "Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread."
Free Windows Admin Tool Kit Click here and download it now
September 5th, 2010 6:07pm

Hello Fred Thanks for your replies. I figured out what was causing the problem. I had installed Office 2010 suite which contained InfoPath 2010 in it. InfoPath was the culprit. After i removed it everything worked fine. Thanks for your effort.Regards NLV Visit SharePoint User group - India
September 9th, 2010 8:28am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics