我已升级到了9.0.3159,但sql server 2005创建作业还是失败
网上搜索到的解决方法都是要安装sp2后的一个补丁,即3159版本,但我的已经升级到这个版本了,还是出这样的错误.
错误的内容为:
===================================
无法将类型为“Microsoft.SqlServer.Management.Smo.SimpleObjectKey”的对象强制转换为类型“Microsoft.SqlServer.Management.Smo.Agent.JobObjectKey”。 (Microsoft.SqlServer.Smo)
------------------------------
程序位置:
在 Microsoft.SqlServer.Management.Smo.Agent.JobCollection.GetObjectByKey(ObjectKeyBase key)
在 Microsoft.SqlServer.Management.Smo.SimpleObjectCollectionBase.Contains(String name)
在 Microsoft.SqlServer.Management.SqlManagerUI.JobData.JobExists(String jobName)
在 Microsoft.SqlServer.Management.SqlManagerUI.JobData.ApplyChanges()
在 Microsoft.SqlServer.Management.SqlManagerUI.JobPropertySheet.DoPreProcessExecution(RunType runType, ExecutionMode& executionResult)
在 Microsoft.SqlServer.Management.SqlMgmt.SqlMgmtTreeViewControl.DoPreProcessExecutionAndRunViews(RunType runType)
在 Microsoft.SqlServer.Management.SqlMgmt.SqlMgmtTreeViewControl.ExecuteForSql(PreProcessExecutionInfo executionInfo, ExecutionMode& executionResult)
在 Microsoft.SqlServer.Management.SqlMgmt.SqlMgmtTreeViewControl.Microsoft.SqlServer.Management.SqlMgmt.IExecutionAwareSqlControlCollection.PreProcessExecution(PreProcessExecutionInfo executionInfo, ExecutionMode& executionResult)
在 Microsoft.SqlServer.Management.SqlMgmt.ViewSwitcherControlsManager.RunNow(RunType runType, Object sender)