Domanda

Oggi ho commesso l'errore di fare clic su "Seleziona tutto" su un grande gruppo di domini in una connessione di sincronizzazione nel servizio Profilo utente.Dopo aver salvato la connessione ho visto questo errore sulla pagina di gestione delle connessioni.

.

Si è verificato un errore durante l'accesso al database del server SQL o il Servizio di ricerca del server SharePoint.Se questa è la prima volta che hai visto questo messaggio, riprova più tardi.Se questo problema persiste, contattare Il tuo amministratore.

A giudicare dagli errori nel registro eventi, il servizio FIMS è tempistica della connessione o della lettura dei dati dal server SQL.La ricerca di Google ha dichiarato che alcune persone sono state in grado di eseguire un IISREST per correggere il problema, ma questo non ha funzionato per me.Nemmeno il riavvio del server.Ecco un errore di esempio dal registro eventi.

.Net SqlClient Data Provider: System.Data.SqlClient.SqlException: Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.
   at Microsoft.ResourceManagement.Utilities.ExceptionManager.ThrowException(Exception exception)
   at Microsoft.ResourceManagement.Data.Exception.DataAccessExceptionManager.ThrowException(SqlException innerException)
   at Microsoft.ResourceManagement.Data.DataAccess.GetObject(String commandName, SqlParameter[] parameters, Boolean includeRights, CultureInfo locale)
   at Microsoft.ResourceManagement.Data.DataAccess.GetObject(Guid objectId, Guid requestor, String[] attributeNames, Boolean includeRights)
   at Microsoft.ResourceManagement.ActionProcessor.DefaultActionProcessor.Read(Guid objectId, CultureInfo locale, Nullable`1 requestor, Nullable`1 resourceTime, String[] requestedAttributes, Boolean includeRights)
   at Microsoft.ResourceManagement.ActionProcessor.DefaultActionProcessor.ProcessOutputRequest(RequestType request)
   at Microsoft.ResourceManagement.WebServices.RequestDispatcher.ExecuteAction(RequestType request)
   at Microsoft.ResourceManagement.WebServices.RequestDispatcher.ExecuteAction[ResponseBodyType](RequestType request)
   at Microsoft.ResourceManagement.WebServices.RequestDispatcher.DispatchRequest[ResponseBodyType](RequestType request, Guid requestIdentifier, Object redispatchSingleInstanceKey)
   at Microsoft.ResourceManagement.WebServices.RequestDispatcher.DispatchRequest[ResponseBodyType](RequestType request)
   at Microsoft.ResourceManagement.WebServices.ResourceManagementService.Get(Message request)
.

È stato utile?

Soluzione

I got exceptionally lucky with this. I found this article which described basically the same problem but in relation to the FIMS proper and not to the version in SharePoint.

FIM 2010 R2: SQL timeout on using large sets in other sets

The author modified the file Microsoft.ResourceManagement.Service.exe.config and added two attributes to the resourceManagementService tag, dataReadTimeoutInSeconds and dataWriteTimeoutInSeconds as in this example.

<resourceManagementService externalHostName="myfimservice" dataReadTimeoutInSeconds="1200" dataWriteTimeoutInSeconds="1200"/>

It was difficult to find the location of the file. It's not in the normal location for a FIMS installation but is in the following directory:

C:\Program Files\Microsoft Office Servers\15.0\Service

I needed to restart the server and then I was able to delete the bad connection and recreate one for each domain.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a sharepoint.stackexchange
scroll top