[InfoPath Forms Services 維護] 計時器工作未啟用 (SharePoint Server)

適用于:yes-img-132013 yes-img-16 2016yes-img-192019 yes-img-se訂閱版本 no-img-sopMicrosoft 365 中的 SharePoint

規則名稱: [InfoPath Forms Services 維護] 計時器工作未啟用。

摘要: [InfoPath Forms Services 維護] 計時器工作未啟用。

InfoPath Forms Services 使用 [InfoPath Forms Services 維護] 計時器工作,透過快取每部前端網頁伺服器上的表單範本資料,來提升效能。

原因: 此計時器工作可能已在 SharePoint 管理中心網站的 [工作定義] 頁面上停用,或使用了 Microsoft PowerShell Disable-SPTimerJob Cmdlet。

注意事項

Infopath 表單服務已移除,且 Microsoft 不再支援SharePoint Server 訂閱版本。 建議您探索 Microsoft Power Apps 作為 Infopath 表單服務的潛在替代方案。

解決方案:使用管理中心網站啟用計時器工作

  1. 確認執行此程序的使用者帳戶為 SharePoint 伺服器陣列管理員群組的成員。

  2. 啟動管理中心。

  3. 在管理中心按一下 [監視]

  4. 按一下 [檢閱作業定義]

  5. 按一下 [InfoPath Forms Services 維護]

  6. 按一下 [啟用]

解決方案:使用 PowerShell 啟用計時器工作

  1. 確認您具備下列成員身分:
  • SQL Server 執行個體上的 securityadmin 固定伺服器角色。

  • 所有要更新之資料庫上的 db_owner 固定資料庫角色。

  • 正在執行 PowerShell Cmdlet 之所在伺服器上的系統管理員群組。

  • 請以高於上述基本要求新增必要的成員資格。

    系統管理員可以使用 Add-SPShellAdmin Cmdlet 授與使用 SharePoint Server 2016 Cmdlet 的權限。

    注意事項

    [!附註] 如果您不具備上述權限,請連絡安裝程式系統管理員或 SQL Server 系統管理員要求權限。 如需 PowerShell 權限的其他資訊,請參閱 Add-SPShellAdmin

  1. 啟動 SharePoint 管理命令介面。

  2. 在 PowerShell 命令提示字元中,輸入下列命令:

    Enable-SPTimerJob "<FormsMaintenanceJobDefinition>"
    

    其中:

    • <FormsMaintenanceJobDefintion> 是要啟用的計時器工作實際名稱。

如需詳細資訊,請參閱 Enable-SPTimerJob