2013-07-11 113 views
0

你知道爲什麼我有這個錯誤,以及如何解決它。SQLServerAgent無法啓動

SQLServerAgent could not be started (reason: This installation of SQL Server Agent is disabled. The edition of SQL Server that installed this service does not support SQL Server Agent.).

我的服務器參數:

10.0.5500.0 SP3 Express Edition with Advanced Services (64-bit) 
+0

「您安裝此服務的SQL Server版本不支持SQL Server代理程序」的哪部分內容您無法理解? –

+0

你知道我需要做什麼來創造工作或類似的東西嗎? –

回答

2

SQL代理不可用快遞版本:(http://msdn.microsoft.com/en-us/library/cc645993(v=SQL.110).aspx)。這就是爲什麼,例如,您不能在Reporting Services上安排報表生產。

您可能想批量訂購sqlcmd

=====編輯=====

簡單的示例:

save.sql ----- 
backup database dbname to disk = 'somepath' with init, format 
save.bat ----- 
"C:\Program Files\Microsoft SQL Server\100\Tools\Binn\SQLCMD.EXE" -S instanceName -E -i save.sql -o save.log 

你現在可以安排save.bat(與Windows任務調度程序),使DBNAME的完全備份

+0

你有這方面的一些很好的例子嗎? –

+0

這實際上取決於你計劃的計劃。 – tschmit007

+0

我需要每5分鐘執行一次exec程序,這對我來說是個問題。也許你知道如何以另一種方式做到這一點? –