関心番号15281、レベル16、州1、プロセスsp_OACreate、ライン1 SQL Serverは、このコンポーネント「Ole Automation Procedures」のプロシージャ「sys.sp_OACreate」へのアクセスをブロックしました。なぜなら、このコンポーネントはこのサーバーのセキュリティ設定の一環としてシャットダウンされたからです。 システム管理者はsp_configureを利用して「Ole Automation Procedures」を有効にすることができます。 Ole Automation Proceduresの有効化についての詳細は、SQL Server Online Booksシリーズの「Peripheral Application Configurator」をご覧ください。 Msg 15281、レベル16、ステータス1、手続きsp_OAMethod、ライン1 SQL Serverは、このコンポーネント「Ole Automation Procedures」のプロシージャ「sys.sp_OAMethod」へのアクセスをブロックしました。なぜなら、このコンポーネントはこのサーバーのセキュリティ設定の一環としてシャットダウンされたからです。 システム管理者はsp_configureを利用して「Ole Automation Procedures」を有効にすることができます。 Ole Automation Proceduresの有効化についての詳細は、SQL Server Online Booksシリーズの「Peripheral Application Configurator」をご覧ください。
解決:
- --开启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
コードをコピーします
|