Intress 15281, tase 16, osariik 1, protsess sp_OACreate, rida 1 SQL Server blokeeris juurdepääsu komponendi 'Ole Automation Procedures' protseduurile 'sys.sp_OACreate', kuna see komponent suleti selle serveri turvakonfiguratsiooni osana. Süsteemiadministraatorid saavad sp_configure abil lubada 'Ole Automation Procedures'. Lisateabe saamiseks Ole Automation protseduuride lubamise kohta vaata Peripheral Application Configuratorit SQL Server Online Books sarjas. Msg 15281, tase 16, staatus 1, protseduur sp_OAMethod, rida 1 SQL Server blokeeris juurdepääsu komponendi 'Ole Automation Procedures' protseduurile 'sys.sp_OAMethod', kuna see komponent suleti selle serveri turvakonfiguratsiooni osana. Süsteemiadministraatorid saavad sp_configure abil lubada 'Ole Automation Procedures'. Lisateabe saamiseks Ole Automation protseduuride lubamise kohta vaata Peripheral Application Configuratorit SQL Server Online Books sarjas.
Lahus:
- --开启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
Kopeeri kood
|