--开启 Ole Automation Procedures
sp_configure ‘show advanced options‘, 1;
GO
RECONFIGURE;
GO
sp_configure ‘Ole Automation Procedures‘, 1;
GO
RECONFIGURE;
GO
EXEC sp_configure ‘Ole Automation Procedures‘;
GO
--关闭 Ole Automation Procedures
sp_configure ‘show advanced options‘, 1;
GO
RECONFIGURE;
GO
sp_configure ‘Ole Automation Procedures‘, 1;
GO
RECONFIGURE;
GO
EXEC sp_configure ‘Ole Automation Procedures‘;
GO
--关闭高级选项
sp_configure ‘show advanced options‘, 0;
GO
RECONFIGURE;
GO
(在数据库中调用webservices。)SQL Server 阻止了对组件 'Ole Automation Procedures' 的 过程'sys.sp_OACreate' 的访问
原文地址:https://www.cnblogs.com/heyiping/p/9698213.html
时间: 2024-11-09 00:30:32