Korko 15281, taso 16, osavaltio 1, prosessi sp_OACreate, rivi 1 SQL Server esti pääsyn 'Ole Automation Procedures' -komponentin proseduuriin 'sys.sp_OACreate', koska tämä komponentti suljettiin osana tämän palvelimen tietoturvakonfiguraatiota. Järjestelmänvalvojat voivat ottaa käyttöön 'Ole Automation Procedures' -toiminnot käyttämällä sp_configure. Lisätietoja Ole Automation Proceduresin käyttöönotosta löytyy sivusta Peripheral Application Configurator SQL Server Online Books -sarjassa. Msg 15281, taso 16, tila 1, menettely sp_OAMethod, rivi 1 SQL Server esti pääsyn komponentin 'Ole Automation Procedures' proseduuriin 'sys.sp_OAMethod', koska tämä komponentti suljettiin osana tämän palvelimen tietoturvakonfiguraatiota. Järjestelmänvalvojat voivat ottaa käyttöön 'Ole Automation Procedures' -toiminnot käyttämällä sp_configure. Lisätietoja Ole Automation Proceduresin käyttöönotosta löytyy sivusta Peripheral Application Configurator SQL Server Online Books -sarjassa.
Ratkaisu:
- --开启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
Kopioi koodi
|