息 15281,级别 16,状态 1,过程 sp_OACreate,第 1 行
SQL Server 阻止了对组件 'Ole Automation Procedures' 的 过程 'sys.sp_OACreate' 的访问,因为此组件已作为此服务器安全配置的一部分而被关闭。系统管理员可以通过使用 sp_configure 启用 'Ole Automation Procedures'。有关启用 'Ole Automation Procedures' 的详细信息,请参阅 SQL Server 联机丛书中的 "外围应用配置器"。
消息 15281,级别 16,状态 1,过程 sp_OAMethod,第 1 行
SQL Server 阻止了对组件 'Ole Automation Procedures' 的 过程 'sys.sp_OAMethod' 的访问,因为此组件已作为此服务器安全配置的一部分而被关闭。系统管理员可以通过使用 sp_configure 启用 'Ole Automation Procedures'。有关启用 'Ole Automation Procedures' 的详细信息,请参阅 SQL Server 联机丛书中的 "外围应用配置器"。
解决办法:
- --开启xp_cmdshell
- --SQL Server blocked access to procedure 'xp_cmdshell'
- sp_configure 'show advanced options', 1
- go
- reconfigure
- go
- sp_configure 'xp_cmdshell', 1
- go
- reconfigure
- go
- --开启sp_OACreate
- --SQL Server blocked access to procedure 'sys.sp_OACreate'
- sp_configure 'show advanced options', 1;
- go
- reconfigure;
- go
- sp_configure 'ole automation procedures', 1;
- go
- reconfigure;
- go
- sp_configure 'Ad Hoc Distributed Queries',1;
- go
- reconfigure
- go
复制代码
|