'sp_sqlagent_update_agent_xps' 沒有 EXECUTE 權限

  • 想請問各位一下,資料庫是由Express版本升級成Standard版本,SQL Server Agent一直啟動失敗,顯示服務啟動之後又停止。

    錯誤記錄檔如下,請問如何解決?謝謝。

    [393] 正在等候 SQL Server 復原資料庫 'msdb'...
    [298] SQLServer 錯誤: 229,結構描述 'dbo',資料庫 'msdb',物件 'sp_sqlagent_update_agent_xps' 沒有 EXECUTE 權限。 [SQLSTATE 42000] (DisableAgentXPs)
    [000] 結構描述 'dbo',資料庫 'msdb',物件 'sp_sqlagent_update_agent_xps' 沒有 EXECUTE 權限。 [SQLSTATE 42000] (錯誤 229)



    • 已編輯 Ben.Hsieh 2016年12月2日 上午 07:43
    2016年12月2日 上午 07:43
    0 點數

解答

  • Check 'Agent XPs' with sp_configure, ensure run value is 1. If not, you can reset with followings then try start sql agent service:

    sp_configure  'Agent XPs', 1

    reconfigure

猜你喜欢

转载自blog.csdn.net/softuse/article/details/80321147