SQL Server 2005 无法添加维护计划的解决方法

来源:互联网 发布:sql 添加默认值约束 编辑:程序博客网 时间:2024/05/17 03:17
The specified '@subsystem' is invalid (valid values are returned by sp_enum_sqlagent_subsystems). (.Net SqlClient Data Provider)

Error Number: 14234
Severity: 16
State: 1
Procedure: sp_verify_subsystem
Line Number: 21
Maintenance plans need "SQL Integration Services" installed to work.

创建 对于 JobStep“子计划”失败。
指定的 '@subsystem' 无效(有效值由 sp_enum_sqlagent_subsystems 返回)。 (Microsoft SQL Server,错误: 14234)

维护计划需要安装SQL Integration Services(SSIS)组件.此组件在安装程序时,没有勾选.记得要装哦~~
安装 SQL Server 2005 不安装 SQL Server 2005 Integration Services (SSIS) 服务时出现此问题。 以下代码创建维护计划, 时运行。 
EXEC msdb.dbo.sp_update_jobstep @job_name=N'System DB Maintenance Plan', @step_id=1 , @subsystem=N'SSIS', @command=N'/SQL "/Maintenance Plans/System DB Maintenance Plan" /SERVER ASHBSQL701 /MAXCONCURRENT " -1 " /CHECKPOINTING OFF'
 
解决方案
要解决此问题, 从 SQL Server 2005 光盘安装 IntegrationServices 服务。 要这样做, 请按照下列步骤操作:1. 运行 SQLServer 安装向导。 
2. 在完成扫描后在系统配置检查页上, 单击 下一步 。 
3. 在 名称 框和 公司 框, 中输入适当的信息, 然后单击 下一步 。 
4. 单击以选中 IntegrationServices 复选框, 然后单击 下一步 。 
5. 单击 下一 , 然后单击 安装 。 
6. 完成安装后, 单击 下一 , 然后单击 完成 。 
 
原创粉丝点击