Astuce du jour : Réinstallation de SharePoint en standalone

Il arrive parfois que l'on désire réinstaller SharePoint (WSS 3.0 ou MOSS 2007) en mode standalone, généralement sur des postes de développements, mais aussi parfois pour de petites structures.

Ainsi, après une désinstallation et un reboot du serveur, on relance le setup, puis vient la phase de configuration via le wizard SharePoint et là... "c'est le drame !"

Vous tomberez ainsi sur une erreur mettant en cause le service de recherche. Voici quelques unes des erreurs remontées dans le journal des événements:

 

Event Type:         Error
Event Source:      Windows SharePoint Services 3 Search
Event Category:   Rassembleur
Event ID:             10036
Date:                   -
Time:                   -
User:                   N/A
Computer:           -

Description:

Une erreur de base de données s'est produite.
Source : Microsoft OLE DB Provider for SQL Server
Code : 4060 s'est produit 1 fois
Description : Cannot open database "WSS_Search" requested by the login. The login failed.
Contexte : application « 90bb42fe-b5e0-4ea5-b434-776665555b02 »
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

Event Type:         Error
Event Source:     Windows SharePoint Services 3 Search
Event Category:   Rassembleur
Event ID:             10034
Date:                    -
Time:                   -
User:                    N/A
Computer:            -

Description:

Impossible d'accéder à la base de données de configuration du service de recherche.
Contexte : application « 90bb42fe-b5e0-4ea5-b434-776665555b02 »
Détails :  Unspecified error  (0x80004005)

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

Event Type:       Error
Event Source:   SharePoint Products and Technologies Configuration Wizard
Event Category:               None
Event ID:             104
Date:                    -
Time:                    -
User:                    N/A
Computer:         -

Description:

Échec d'enregistrement des services SharePoint.
Une exception de type System.Runtime.InteropServices.COMException a été générée. Informations complémentaires sur l'exception : Impossible d'accéder à la base de données de configuration du service de recherche 
System.Runtime.InteropServices.COMException (0xC004122D): Impossible d'accéder à la base de données de configuration du service de recherche 
at Microsoft.SharePoint.Search.Administration.MSSITLB.IGatherApplications2.Mount(String bstrName)
   at Microsoft.SharePoint.Search.Administration.GathererApplication.ProvisionGathererApplication()
   at Microsoft.SharePoint.Search.Administration.GathererApplication.Provision()
   at Microsoft.SharePoint.Search.Administration.SPSearchServiceInstance.Synchronize(Boolean installGathererApplication)
   at Microsoft.SharePoint.Search.Administration.SPSearchServiceInstance.Provision()
   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()

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

Event Type:        Information
Event Source:     MSSQL$MICROSOFT##SSEE
Event Category: (2)
Event ID:             2803
Date:                   -
Time:                  -
User:                   N/A
Computer:          -

Description:

The description for Event ID ( 2803 ) in Source ( MSSQL$MICROSOFT##SSEE ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: 14; Object Plans.

Tout ceci semble mettre en cause la recherche, certes, mais surtout un problème de connexion à la base de données. Or le système de base de données installé avec la version standalone de SharePoint est SSEE (SQL Server Embedded Edition, encore appelé Windows Internal Database). Vous trouverez plus d'infos sur ce produit sur le blog de Christian Robert.

En fait, il arrive que le service soit désinstallé mais pas le produit, ce qui pousse SharePoint à ne pas réinstaller proprement son SQL Server embarqué mais bloque par la suite quand il tente de s'y connecter. Pour éviter ces désagréments, il vous faudra donc le désinstaller vous même via l'ajout/suppression de programmes ou, quand il a décidé de n'en faire qu'à sa tête et qu'il n'apparait plus dans le menu des programmes, d'utiliser la ligne de commande suivante (vous trouverez la source sur la KB Microsoft) :

Sur les systèmes 32bits (x86)
/x {CEB5780F-1A70-44A9-850F-DE6C4F6AA8FB} msiexec CALLERID=ocsetup.exe

Sur les systèmes 64bits (x64)
/x {BDD79957-5801-4A2D-B09E-852E7FA64D01} msiexec CALLERID=ocsetup.exe 

Bonne réinstallation !

Gat

 

Commentaires

Laisser un commentaire





Validation Image CAPTCHA