SQL Server 2008 维护计划创建总失败,在网上搜索原因一直未解决,很是郁闷!
错误如下:
===================================属性 ErrorLogFile 不可用于 JobServer“[TOMCHEM\SQL2008]”。该对象可能没有此属性,也可能是访问权限不足而无法检索。 (Microsoft.SqlServer.Smo)------------------------------
有关帮助信息,请单击: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.0.2531.0+((Katmai_PCU_Main).090329-1015+)&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.PropertyCannotBeRetrievedExceptionText&EvtID=ErrorLogFile&LinkId=20476------------------------------
程序位置: 在 Microsoft.SqlServer.Management.Smo.PropertyCollection.HandleNullValue(Int32 index)
在 Microsoft.SqlServer.Management.Smo.PropertyCollection.GetValueWithNullReplacement(String propertyName, Boolean throwOnNullValue, Boolean useDefaultOnMissingValue)
在 Microsoft.SqlServer.Management.Smo.Agent.JobServer.get_ErrorLogFile()
在 Microsoft.SqlServer.Management.DatabaseMaintenance.TaskUIUtils.GetDefaultLogLocation(Server server)
在 Microsoft.SqlServer.Management.DatabaseMaintenance.MaintenancePlan.CreateGlobalVariables()
在 Microsoft.SqlServer.Management.DatabaseMaintenance.MaintenancePlan.InitializeNewPlanForDesigner()
在 Microsoft.SqlServer.Management.DatabaseMaintenance.MaintenancePlanData..ctor(Package source, ServerConnection localServerConnection, Boolean isNewPlan)
在 Microsoft.SqlServer.Management.DatabaseMaintenance.DbMaintView.LoadMaintenancePlan(String connectionString, IManagedConnection connection, String objectUrn)
在 Microsoft.DataTransformationServices.VsIntegration.DtsDesignerService.OpenDesigner(String connectionString, Object connection, String objectUrn)
在 Microsoft.SqlServer.Management.DatabaseMaintenance.MaintDesignerMenuHandler.Invoke()注:所有SQL Server 2008工具都完全安装,所有安装的SQL 服务全自动启动
错误如下:
===================================属性 ErrorLogFile 不可用于 JobServer“[TOMCHEM\SQL2008]”。该对象可能没有此属性,也可能是访问权限不足而无法检索。 (Microsoft.SqlServer.Smo)------------------------------
有关帮助信息,请单击: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.0.2531.0+((Katmai_PCU_Main).090329-1015+)&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.PropertyCannotBeRetrievedExceptionText&EvtID=ErrorLogFile&LinkId=20476------------------------------
程序位置: 在 Microsoft.SqlServer.Management.Smo.PropertyCollection.HandleNullValue(Int32 index)
在 Microsoft.SqlServer.Management.Smo.PropertyCollection.GetValueWithNullReplacement(String propertyName, Boolean throwOnNullValue, Boolean useDefaultOnMissingValue)
在 Microsoft.SqlServer.Management.Smo.Agent.JobServer.get_ErrorLogFile()
在 Microsoft.SqlServer.Management.DatabaseMaintenance.TaskUIUtils.GetDefaultLogLocation(Server server)
在 Microsoft.SqlServer.Management.DatabaseMaintenance.MaintenancePlan.CreateGlobalVariables()
在 Microsoft.SqlServer.Management.DatabaseMaintenance.MaintenancePlan.InitializeNewPlanForDesigner()
在 Microsoft.SqlServer.Management.DatabaseMaintenance.MaintenancePlanData..ctor(Package source, ServerConnection localServerConnection, Boolean isNewPlan)
在 Microsoft.SqlServer.Management.DatabaseMaintenance.DbMaintView.LoadMaintenancePlan(String connectionString, IManagedConnection connection, String objectUrn)
在 Microsoft.DataTransformationServices.VsIntegration.DtsDesignerService.OpenDesigner(String connectionString, Object connection, String objectUrn)
在 Microsoft.SqlServer.Management.DatabaseMaintenance.MaintDesignerMenuHandler.Invoke()注:所有SQL Server 2008工具都完全安装,所有安装的SQL 服务全自动启动
1,安装 SQLserver 2008 SP1
地址:http://www.microsoft.com/downloadS/details.aspx?familyid=66AB3DBB-BF3E-4F46-9559-CCC6A4F9DC19&displaylang=zh-cn2,是否以SA或管理员登陆
3,你连接的是本地服务器吗?(参考microsoft sqlserver 论坛答案解答的)
上面的我在网上也搜索过,试了很多原因没有解决,我怀疑我单位电脑安装的有问题,回到家里也是如此……
http://www.wb6d.cn/xuexi/Mssqlxuexi/200812/23-789.html
属性 ErrorLogFile 不可用于 JobServer ……。该对象可能没有此属性,也可能是访问权限不足而无法检索。 (Microsoft.SqlServer.Smo) 这不是权限问题,也不是没有安装 SP 。
解决办法:使用 regedit 打开注册表
在 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL10.MSSQLSERVER\SQLServerAgent
中增加键值:ErrorLogFile ,类型 = REG_SZ , 值=C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\JOBS ,或者 值与 WorkingDirectory 的键值相同。
属性 ErrorLogFile 不可用于 JobServer ……。该对象可能没有此属性,也可能是访问权限不足而无法检索。 (Microsoft.SqlServer.Smo) 这不是权限问题,也不是没有安装 SP 。
解决办法:使用 regedit 打开注册表
在 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL10.MSSQLSERVER\SQLServerAgent
中增加键值:ErrorLogFile ,类型 = REG_SZ , 值=C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\JOBS ,或者 值与 WorkingDirectory 的键值相同。
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL.1\SQLServerAgent