为什么“不支持对系统目录进行即席更新”

在sql server2005中,执行如下命令的问题

exec sp_configure 'show advanced options', 1
RECONFIGURE;
exec sp_configure 'Ole Automation Procedures', 1
RECONFIGURE;

在执行中显示错误

不支持对系统目录进行即席更新。

修改为

exec sp_configure 'show advanced options', 1
RECONFIGURE WITH OVERRIDE;
exec sp_configure 'Ole Automation Procedures', 1
RECONFIGURE WITH OVERRIDE;

可以正常运行,不知道是什么原因导致的。

在网上找到一段信息

RECONFIGURE

    Specifies that if the configuration setting does not require a server stop and restart, the currently running value should be updated. RECONFIGURE also checks the new configuration values for either values that are not valid (for example, a sort order value that does not exist in syscharsets) or nonrecommended values. With those configuration options not requiring a server stop and restart, the currently running value and the currently configured values for the configuration option should be the same value after RECONFIGURE is specified.
   
   
WITH OVERRIDE
       
    Disables the configuration value checking (for values that are not valid or for nonrecommended values) for the recoveryinterval advanced configuration options.

    Any configuration option can be reconfigured by using the WITH OVERRIDE option. In addition, RECONFIGURE WITH OVERRIDE forces the reconfiguration with the specified value. For example, the minservermemory configuration option could be configured with a value greater than the value specified in the maxservermemory configuration option. However, this is considered a fatal error. Therefore, specifying RECONFIGURE WITH OVERRIDE would not disable configuration value checking.

转载于:https://www.cnblogs.com/hutou/archive/2011/06/24/2089018.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值