locked
SharePoint 2010 Products Configuration Wizard - error on step 5-6/9 - "ServicesTask.InvokeServiceConstructor" service has failed with an unknown exception RRS feed

  • Întrebare

  • I am installing a three-tier SharePoint 2010 infrastructure (1 MS-SQL server, 1 SharePoint application server, 1 Sharepoint web front end server).
    The MS-SQL server is installed.  Sharepoint is installed on the application and web front end servers.

    The next step is to run the SharePoint 2010 Products Configuration Wizard on the application server.
    Unfortunately, I have a failure on step 5 (or 6 ?) of 9.  I checked the event viewer (says unknow error - read log file) and log file (copy of the relevant part hereunder) but I cannot figure out what it means concerning the error.

    Thanks for any hint you could provide me.


    More details
    ------------
    MS-Windows: Windows Server 2008 R2 Enterprise on all servers (64-bit)
    MS-SQL: SQL Server 2008 R2 10.50.1600.1 RTM Enterprise Edition (64-bit)
    Sharepoint 2010: Sharepoint Server 2010 Enterprise Edition SP1 (64-bits)

    Account used for setup and configuration:
    • Windows: belongs to Domain Admins group
    • SQL roles: security admin and dbcreator

    Prerequisite program run on application and web front end servers:
    • Application Server Role, Web Server (IIS) Role
    • Microsoft SQL Server 2008 Native Client
    • Hotfix for Microsoft Windows (KB976462)
    • Windows Identity Foundation (KB974405)
    • Microsoft Sync Framework Runtime v1.0 (x64)
    • Microsoft Chart Controls for Microsoft .NET Framework 3.5
    • Microsoft Filter Pack 2.0
    • Microsoft SQL Server 2008 Analysis Services ADOMD.NET
    • Microsoft Server Speech Platform Runtime (x64)
    • Microsoft Server Speech Recognition Language - TELE(en-US)
    • SQL 2008 R2 Reporting Services SharePoint 2010 Add-in
    • Rebooted the servers afterward


    Installation Sharepoint on application and web front end servers:
    • SERVER FARM installation
    • COMPLETE server type
    • did *NOT* run the wizard
    • Rebooted the servers afterward


    Installation fix and updates on application and web front end servers:
    • turned on "check for updates - Windows" and use option in same screen to install "check of updates - other MS products"
    • let all updates to install themselves (was 13 + 1 in my case)
    • Rebooted the servers afterward

    Run SharePoint 2010 Products Configuration Wizard on the application server:
    • went fine until step 5 of 9
    • failure occured at step 5 or beginning step 6
    • excerpt from log file:


    • Editat de PB03873 marți, 31 iulie 2012 10:41 added "Enterprise Edition" as SharePoint version
    luni, 30 iulie 2012 06:59

Răspunsuri

  • Hello,

    Go to the below path on Registry

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\14.0\WSS\Services\     then remove the SharedService ie. [Microsoft.Office.Server.ApplicationRegistry.SharedService.ApplicationRegistryService].  again run the wizard.


    SivaReddy

    • Marcat ca răspuns de PB03873 marți, 31 iulie 2012 10:26
    luni, 30 iulie 2012 12:53

Toate mesajele

  • Begin trace logging for SharePoint 2010 Products Configuration Wizard.  Version 14.0.6009.1000
    ...
    07/27/2012 08:21:52  11  INF                                Entering function get CommandCollection.this[string key]
    07/27/2012 08:21:52  11  INF                                  Entering function CommandCollectionBase.Get
    07/27/2012 08:21:52  11  INF                                    Found value in collection for key initialize
    07/27/2012 08:21:52  11  INF                                  Leaving function CommandCollectionBase.Get
    07/27/2012 08:21:52  11  INF                                  Found command initialize in collection
    07/27/2012 08:21:52  11  INF                                Leaving function get CommandCollection.this[string key]
    07/27/2012 08:21:52  11  INF                                Entering function Command.this[string key]
    07/27/2012 08:21:52  11  INF                                  Entering function CommandCollectionBase.Get
    07/27/2012 08:21:52  11  INF                                    Found value in collection for key SINGLESERVER
    07/27/2012 08:21:52  11  INF                                  Leaving function CommandCollectionBase.Get
    07/27/2012 08:21:52  11  INF                                  Found parameter SINGLESERVER in collection
    07/27/2012 08:21:52  11  INF                                Leaving function Command.this[string key]
    07/27/2012 08:21:52  11  INF                                Entering function ServicesTask.InvokeServiceConstructor
    07/27/2012 08:21:52  11  INF                                  Trying to get the SolutionId registry key from under Software\Microsoft\Shared Tools\Web Server Extensions\14.0\WSS\Services\Microsoft.Office.Server.ApplicationRegistry.SharedService.ApplicationRegistryService\Microsoft.Office.Server.ApplicationRegistry.SharedService.ApplicationRegistryServiceInstance
    07/27/2012 08:21:52  11  INF                                  Entering function RegistryHelper.RegistryHelper
    07/27/2012 08:21:52  11  INF                                    The RegistryHelper has the key name as Software\Microsoft\Shared Tools\Web Server Extensions\14.0\WSS\Services\Microsoft.Office.Server.ApplicationRegistry.SharedService.ApplicationRegistryService\Microsoft.Office.Server.ApplicationRegistry.SharedService.ApplicationRegistryServiceInstance and the registry hive as LocalMachine
    07/27/2012 08:21:52  11  INF                                  Leaving function RegistryHelper.RegistryHelper
    07/27/2012 08:21:52  11  INF                                  Entering function RegistryHelper.GetStringValue
    07/27/2012 08:21:52  11  INF                                    Entering function RegistryHelper.GetValue
    07/27/2012 08:21:52  11  INF                                    Leaving function RegistryHelper.GetValue
    07/27/2012 08:21:52  11  INF                                  Leaving function RegistryHelper.GetStringValue
    07/27/2012 08:21:52  11  INF                                  Did not find a SolutionId value for HKEY_LOCAL_MACHINE\Software\Microsoft\Shared Tools\Web Server Extensions\14.0\WSS\Services\Microsoft.Office.Server.ApplicationRegistry.SharedService.ApplicationRegistryService\Microsoft.Office.Server.ApplicationRegistry.SharedService.ApplicationRegistryServiceInstance in the registry
    07/27/2012 08:21:52  11  INF                                  Trying to get the AssemblyQualifiedName registry key from under Software\Microsoft\Shared Tools\Web Server Extensions\14.0\WSS\Services\Microsoft.Office.Server.ApplicationRegistry.SharedService.ApplicationRegistryService\Microsoft.Office.Server.ApplicationRegistry.SharedService.ApplicationRegistryServiceInstance
    07/27/2012 08:21:52  11  INF                                  Entering function TaskCommon.RegistryHelperGetStringRegistryValue
    07/27/2012 08:21:52  11  INF                                    Searching for registry key Software\Microsoft\Shared Tools\Web Server Extensions\14.0\WSS\Services\Microsoft.Office.Server.ApplicationRegistry.SharedService.ApplicationRegistryService\Microsoft.Office.Server.ApplicationRegistry.SharedService.ApplicationRegistryServiceInstance\AssemblyQualifiedName
    07/27/2012 08:21:52  11  INF                                    Entering function RegistryHelper.RegistryHelper
    07/27/2012 08:21:52  11  INF                                      The RegistryHelper has the key name as Software\Microsoft\Shared Tools\Web Server Extensions\14.0\WSS\Services\Microsoft.Office.Server.ApplicationRegistry.SharedService.ApplicationRegistryService\Microsoft.Office.Server.ApplicationRegistry.SharedService.ApplicationRegistryServiceInstance and the registry hive as LocalMachine
    07/27/2012 08:21:52  11  INF                                    Leaving function RegistryHelper.RegistryHelper
    07/27/2012 08:21:52  11  INF                                    Entering function TaskCommon.RegistryHelperGetStringRegistryValue
    07/27/2012 08:21:52  11  INF                                      Trying to get value AssemblyQualifiedName from HKEY_LOCAL_MACHINE\Software\Microsoft\Shared Tools\Web Server Extensions\14.0\WSS\Services\Microsoft.Office.Server.ApplicationRegistry.SharedService.ApplicationRegistryService\Microsoft.Office.Server.ApplicationRegistry.SharedService.ApplicationRegistryServiceInstance
    07/27/2012 08:21:52  11  INF                                      Entering function RegistryHelper.GetStringValue
    07/27/2012 08:21:52  11  INF                                        Entering function RegistryHelper.GetValue
    07/27/2012 08:21:52  11  INF                                        Leaving function RegistryHelper.GetValue
    07/27/2012 08:21:52  11  INF                                      Leaving function RegistryHelper.GetStringValue
    07/27/2012 08:21:52  11  INF                                      Successfully got value for AssemblyQualifiedName from HKEY_LOCAL_MACHINE\Software\Microsoft\Shared Tools\Web Server Extensions\14.0\WSS\Services\Microsoft.Office.Server.ApplicationRegistry.SharedService.ApplicationRegistryService\Microsoft.Office.Server.ApplicationRegistry.SharedService.ApplicationRegistryServiceInstance in the regsitry
    07/27/2012 08:21:52  11  INF                                    Leaving function TaskCommon.RegistryHelperGetStringRegistryValue
    07/27/2012 08:21:52  11  INF                                  Leaving function TaskCommon.RegistryHelperGetStringRegistryValue
    07/27/2012 08:21:52  11  INF                                  Retrieved the assembly qualified name Microsoft.Office.Server.ApplicationRegistry.SharedService.ApplicationRegistryServiceInstance, Microsoft.SharePoint.Portal, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71E9BCE111E9429C from Software\Microsoft\Shared Tools\Web Server Extensions\14.0\WSS\Services\Microsoft.Office.Server.ApplicationRegistry.SharedService.ApplicationRegistryService\Microsoft.Office.Server.ApplicationRegistry.SharedService.ApplicationRegistryServiceInstance\AssemblyQualifiedName
    07/27/2012 08:21:52  11  INF                                  Getting the ServiceInstanceName registry value from under Software\Microsoft\Shared Tools\Web Server Extensions\14.0\WSS\Services\Microsoft.Office.Server.ApplicationRegistry.SharedService.ApplicationRegistryService\Microsoft.Office.Server.ApplicationRegistry.SharedService.ApplicationRegistryServiceInstance
    07/27/2012 08:21:52  11  INF                                  Entering function RegistryHelper.GetStringValue
    07/27/2012 08:21:52  11  INF                                    Entering function RegistryHelper.GetValue
    07/27/2012 08:21:52  11  INF                                    Leaving function RegistryHelper.GetValue
    07/27/2012 08:21:52  11  INF                                  Leaving function RegistryHelper.GetStringValue
    07/27/2012 08:21:52  11  INF                                  No ServiceInstanceName for HKEY_LOCAL_MACHINE\Software\Microsoft\Shared Tools\Web Server Extensions\14.0\WSS\Services\Microsoft.Office.Server.ApplicationRegistry.SharedService.ApplicationRegistryService\Microsoft.Office.Server.ApplicationRegistry.SharedService.ApplicationRegistryServiceInstance in the registry
    07/27/2012 08:21:52  11  INF                                  Entering function TaskCommon.ReflectionHelperInvokeConstructor
    07/27/2012 08:21:52  11  INF                                    Trying to get the type for assembly Microsoft.Office.Server.ApplicationRegistry.SharedService.ApplicationRegistryServiceInstance, Microsoft.SharePoint.Portal, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71E9BCE111E9429C
    07/27/2012 08:21:52  11  INF                                    Type for assembly Microsoft.Office.Server.ApplicationRegistry.SharedService.ApplicationRegistryServiceInstance, Microsoft.SharePoint.Portal, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71E9BCE111E9429C is Microsoft.Office.Server.ApplicationRegistry.SharedService.ApplicationRegistryServiceInstance.  Now, calling the constructor...
    07/27/2012 08:21:52  11  INF                                    Successfully invoked the constructor for assembly Microsoft.Office.Server.ApplicationRegistry.SharedService.ApplicationRegistryServiceInstance, Microsoft.SharePoint.Portal, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71E9BCE111E9429C.  Object returned is ApplicationRegistryServiceInstance
    07/27/2012 08:21:52  11  INF                                  Leaving function TaskCommon.ReflectionHelperInvokeConstructor
    07/27/2012 08:21:52  11  INF                                  Successfully called the constructor for Microsoft.Office.Server.ApplicationRegistry.SharedService.ApplicationRegistryServiceInstance, Microsoft.SharePoint.Portal, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71E9BCE111E9429C
    07/27/2012 08:21:52  11  INF                                Leaving function ServicesTask.InvokeServiceConstructor
    07/27/2012 08:21:54  11  ERR                                Task services has failed with an unknown exception 
    07/27/2012 08:21:54  11  ERR                                Exception: System.InvalidOperationException: The specified value for the LocStringId parameter is outside the bounds of this enum.
       at Microsoft.SharePoint.Portal.WebControls.StringResourceManager.ConvertLocStringIdToStringFast(LocStringId lsid)
       at Microsoft.SharePoint.Portal.WebControls.StringResourceManager.GetString(LocStringId lsid)
       at Microsoft.Office.Server.ApplicationRegistry.SharedService.ApplicationRegistryServiceInstance.get_TypeName()
       at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.InstallServiceInstanceInConfigDB(Boolean provisionTheServiceInstanceToo, String serviceInstanceRegistryKeyName, Object sharepointServiceObject)
       at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.InstallServiceInstances(Boolean provisionTheServiceInstancesToo, String serviceRegistryKeyName, Object sharepointServiceObject)
       at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.InstallServices(Boolean provisionTheServicesToo)
       at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.Run()
       at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()
    07/27/2012 08:21:54  11  INF                                Entering function Common.BuildExceptionMessage
    07/27/2012 08:21:54  11  INF                                  Entering function StringResourceManager.GetResourceString
    07/27/2012 08:21:54  11  INF                                    Resource id to be retrieved is ExceptionInfo for language English (United States)
    07/27/2012 08:21:54  11  INF                                    Resource retrieved id ExceptionInfo is An exception of type {0} was thrown.  Additional exception information: {1}
    07/27/2012 08:21:54  11  INF                                  Leaving function StringResourceManager.GetResourceString
    07/27/2012 08:21:54  11  INF                                Leaving function Common.BuildExceptionMessage
    07/27/2012 08:21:54  11  INF                                Entering function Common.BuildExceptionInformation
    07/27/2012 08:21:54  11  INF                                  Entering function Common.BuildExceptionMessage
    07/27/2012 08:21:54  11  INF                                    Entering function StringResourceManager.GetResourceString
    07/27/2012 08:21:54  11  INF                                      Resource id to be retrieved is ExceptionInfo for language English (United States)
    07/27/2012 08:21:54  11  INF                                      Resource retrieved id ExceptionInfo is An exception of type {0} was thrown.  Additional exception information: {1}
    07/27/2012 08:21:54  11  INF                                    Leaving function StringResourceManager.GetResourceString
    07/27/2012 08:21:54  11  INF                                  Leaving function Common.BuildExceptionMessage
    07/27/2012 08:21:54  11  INF                                Leaving function Common.BuildExceptionInformation
    07/27/2012 08:21:54  11  ERR                                An exception of type System.InvalidOperationException was thrown.  Additional exception information: The specified value for the LocStringId parameter is outside the bounds of this enum.
    System.InvalidOperationException: The specified value for the LocStringId parameter is outside the bounds of this enum.
       at Microsoft.SharePoint.Portal.WebControls.StringResourceManager.ConvertLocStringIdToStringFast(LocStringId lsid)
       at Microsoft.SharePoint.Portal.WebControls.StringResourceManager.GetString(LocStringId lsid)
       at Microsoft.Office.Server.ApplicationRegistry.SharedService.ApplicationRegistryServiceInstance.get_TypeName()
       at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.InstallServiceInstanceInConfigDB(Boolean provisionTheServiceInstanceToo, String serviceInstanceRegistryKeyName, Object sharepointServiceObject)
       at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.InstallServiceInstances(Boolean provisionTheServiceInstancesToo, String serviceRegistryKeyName, Object sharepointServiceObject)
       at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.InstallServices(Boolean provisionTheServicesToo)
       at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.Run()
       at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()
    luni, 30 iulie 2012 07:00
  • Hi,

    Your information says: Sharepoint 2010: Sharepoint Server 2010 SP1 (64-bits)

    How did you install this.
    In order to have SharePoitn Server 2010 SP1, you need to install the SharePoint Foundation SP1 bits and the SharePoint Server SP1 bits on your Application and Web Front End server.

    For more information, check this thread: http://social.technet.microsoft.com/Forums/en-US/sharepoint2010setup/thread/d30d9861-8e94-4410-8fe7-c165935f8722/


    Nico Martens - MCTS, MCITP
    SharePoint 2010 Infrastructure Consultant / Trainer
      

    luni, 30 iulie 2012 09:37
  • Hello,

    Go to the below path on Registry

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\14.0\WSS\Services\     then remove the SharedService ie. [Microsoft.Office.Server.ApplicationRegistry.SharedService.ApplicationRegistryService].  again run the wizard.


    SivaReddy

    • Marcat ca răspuns de PB03873 marți, 31 iulie 2012 10:26
    luni, 30 iulie 2012 12:53
  • Thank both for the help.

    Deleting the entry in the registry indeed solved the problem.  I saw that similar problems were solved in this way but by lack of knowledge and confidence I was reluctant to do it before reading your answer.

    I am still wondering why the entry is there if it was not supposed to be or why the script cannot just update the value.

    @Nico: it is Sharepoint Server 2010 *Enterprise Edition* (°) SP1 (64 bits); I just mounted the .iso file I received from our Windows server team.

    (°) was missing in my my initial post => completed it; sorry for the confusion


    • Editat de PB03873 marți, 31 iulie 2012 10:40
    marți, 31 iulie 2012 10:38