我现在用的是sql2005  出现了一个非常奇怪的问题。我新建了一个sql作业,只要我把SQL通知--自动删除作业的选项勾上,作业就不会执行了,如果我用鼠标,手动点击去开始作业,就会报错:属性 CurrentRunStatus 不可用于 Job“[Shop_ExtendLevelUpgrade92]”。该对象可能没有此属性,也可能是访问权限不足而无法检索。  (Microsoft.SqlServer.Smo)------------------------------
有关帮助信息,请单击: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=9.00.1399.00&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.PropertyCannotBeRetrievedExceptionText&EvtID=CurrentRunStatus&LinkId=20476------------------------------
程序位置:   在 Microsoft.SqlServer.Management.Smo.PropertyCollection.HandleNullValue(Int32 index)
   在 Microsoft.SqlServer.Management.Smo.Agent.Job.get_CurrentRunStatus()
   在 Microsoft.SqlServer.Management.SqlManagerUI.StartAgentJobs.WaitForJobToFinishAction.DoAction(ActionCollection actions, Int32 index)
   在 Microsoft.SqlServer.Management.SqlManagerUI.ActionCollection.DoWorkOnThread()后来我发现,只要我不勾上,自动删除作业选项;就会执行成功!不知道有没有人能解答我的难题