zoukankan      html  css  js  c++  java
  • UPA Sync Service启动之后立即自动停止

    通过查看ULS日志, 可以发现下面的记录

    ILM Configuration: The ValidateMiisEncryptionKey process returned True.
    Synchronization database was not previously initialized. Exporting the encryption key from the registry key to the database
    ILM Configuration: The ExportMiisEncryptionKey process completed successfully
    UserProfileApplication.SynchronizeMIIS: Failed to configure MOSS initial MAs, will attempt during next rerun. Exception: System.Management.ManagementException: Generic failure      
    at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)   
    at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()   
    at Microsoft.Office.Server.UserProfiles.Synchronization.ManagementAgent.ManagementAgentCollection.ManagementAgentEnumerator.MoveNext()   
    at Microsoft.Office.Server.UserProfiles.UserProfileConfigManager.IsMossMaConfigured(UserProfileApplication application)   
    at Microsoft.Office.Server.Administration.UserProfileApplication.SetupSynchronizationService(ProfileSynchronizationServiceInstance profileSyncInstance).

    解决方案

    $syncdb=Get-SPDatabase <SyncDBGUID>

    $syncdb.Unprovision()

    $syncdb.Status='Offline'

    $upa=Get-SPServiceApplication <UPSAppGUID>

    $upa.ResetSynchronizationMachine()

    $upa.ResetSynchronizationDatabase()

    $syncdb.Provision()

  • 相关阅读:
    区分DPI、分辨率(PPI)、图像的物理大小、像素宽度
    生成缩略图方法
    C#中调用Windows API的要点 .
    改变变量触发事件
    窗体异步示例
    Scroll滚动后发生的改变
    绘制不同颜色的文本图片
    字符串绘图片
    c#生成缩略图
    衔接UI线程和管理后台工作线程的类(多线程、异步调用)
  • 原文地址:https://www.cnblogs.com/awpatp/p/2267847.html
Copyright © 2011-2022 走看看