SQL Server 阻止了對組件 ’Ole Automation Procedures’ 的 過程’sys.sp_OACreate’ 的訪問,因為此組件已作為此服務器安全配置的一部分而被關閉。系統管理員可以通過使用 sp_configure 啟用 ’Ole Automation Procedures’。有關啟用 ’Ole Automation Procedures’ 的詳細信息(,請參閱 SQL Server 聯機叢書中的 "外圍應用配置器"。)
開啟 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
注意以上’都是’
  |