1. 程式人生 > >SQL Server 阻止了對元件 'Ole Automation Procedures' 的 過程'sys.sp_OACreate' 的訪問,因為此元件已作為此伺服器安全配置的一部分而被關閉。

SQL Server 阻止了對元件 'Ole Automation Procedures' 的 過程'sys.sp_OACreate' 的訪問,因為此元件已作為此伺服器安全配置的一部分而被關閉。

以下示例顯示瞭如何啟用 OLE Automation Procedures。
 



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

配置選項 'show advanced options' 已從 1 更改為 1。請執行 RECONFIGURE 語句進行安裝。
配置選項 'Ole Automation Procedures' 已從 1 更改為 1。請執行 RECONFIGURE 語句進行安裝。