Служба синхронизации профилей пользователей. Ошибки

Небольшой пост про ошибки, возникающие в SharePoint 2010 при работе со службой синхронизации профилей пользователей.

MOSS MA not found

SharePoint. Access to the requested resource(s) is denied

В логе эта ошибка выглядит вот так:

LoadConnections failed trying to fill the connections list. Most likely during RetriveResources because of permissions --- {1}.
Available parameters: System.ServiceModel.EndpointNotFoundException: Не удалось подключиться к http://SharePointServer:5725/ResourceManagementService/MEX.
Код ошибки TCP 10061: No connection could be made because the target machine actively refused it 172.16.4.88:5725. --->
System.Net.WebException: Невозможно соединиться с удаленным сервером --->
System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 172.16.4.88:5725
в System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
в System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket & socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)
--- Конец трассировки внутреннего стека исключений ---
в System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
в System.Net.HttpWebRequest.GetRequestStream()
в System.ServiceModel.Channels.HttpOutput.WebRequestHttpOutput.GetOutputStream()
--- Конец трассировки внутреннего стека исключений ---
Server stack trace:
в System.ServiceModel.Channels.HttpOutput.WebRequestHttpOutput.GetOutputStream()
в System.ServiceModel.Channels.HttpOutput.Send(TimeSpan timeout)
в System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel. HttpChannelRequest.SendRequest(Message message, TimeSpan timeout)
в System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
в System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)
в System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
в System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
в System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) Exception rethrown at [0]:
в System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
в System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
в System.ServiceModel.Description.IMetadataExchange.Get(Message request)
в Microsoft.ResourceManagement.WebServices.MetadataClient.Get(String dialect, String identifier)
в Microsoft.ResourceManagement.WebServices.Client.ResourceManagementClient .SchemaManagerImplementation.RefreshSchema()
в Microsoft.ResourceManagement.WebServices.ResourceManager.get_SchemaManager()
в Microsoft.ResourceManagement.WebServices.ResourceManager..ctor(String typeName, LocaleAwareClientHelper localePreferences, ContextualSecurityToken securityToken)
в Microsoft.Office.Server.UserProfiles.ConnectionManager.LoadConnections() .
ConnectionManager.LoadConnections(): Could not find MOSS MA despite being marked as fully configured, was it deleted?

Эта ошибка возникает при создании нового подключения синхронизации (Synchronization Connection).

Решение: запустить службу Forefront Identity Management Service.

Unable to process Create message/Access to the requested resource(s) is denied

SharePoint. Access to the requested resource(s) is denied SharePoint. Access to the requested resource(s) is denied

Вот эти ошибки у меня начали возникать после смены в системе пароля учетной записи.

Решение: Остановить и запустить службу синхронизации профилей пользователей. При запуске службы SharePoint выведет форму для ввода нового пароля (если я ничего не путаю).

В логе эти ошибки выглядят соответственное вот так:

originalMaConfiguration.Create or UpdateResource failed at step Create Connection  
--- Microsoft.ResourceManagement.WebServices.Faults.ServiceFaultException: 
Unable to process Create message     
в Microsoft.ResourceManagement.WebServices.Client.ResourceTemplate.CreateResource()
в Microsoft.ResourceManagement.WebServices.ResourceManager.CreateResource()
в Microsoft.Office.Server.UserProfiles.DirectoryServiceConnection.UpdateInternal()
originalMaConfiguration.Create or UpdateResource failed at step Create Connection  
--- Microsoft.ResourceManagement.WebServices.Client.PermissionDeniedException: 
Access to the requested resource(s) is denied
в Microsoft.ResourceManagement.WebServices.Client.ResourceTemplate
.GetResource(UniqueIdentifier identifier, 
String[] attributeNames, Nullable`1 resourceTime)
в Microsoft.ResourceManagement.WebServices.ResourceManager
..ctor(UniqueIdentifier resourceIdentifier, String typeName, 
String[] attributeNames, CultureInfo locale, 
Boolean includePermissionHints, TimeZoneInfo localTimeZone)
в Microsoft.ResourceManagement.WebServices.ResourceManager
..ctor(UniqueIdentifier resourceIdentifier, String typeName, 
String[] attributeNames, CultureInfo locale, Boolean includePermissionHints)
в Microsoft.Office.Server.UserProfiles.Synchronization
.MAConfiguration..ctor(UniqueIdentifier uuid)
в Microsoft.Office.Server.UserProfiles.DirectoryServiceConnection.UpdateInternal()

Поделиться

Коментарии