Intresse 15281, Nivå 16, Delstat 1, Process sp_OACreate, Rad 1 SQL Server blockerade åtkomsten till proceduren 'sys.sp_OACreate' i komponenten 'Ole Automation Procedures' eftersom denna komponent stängdes ner som en del av säkerhetskonfigurationen för denna server. Systemadministratörer kan aktivera 'Ole Automation Procedures' genom att använda sp_configure. För mer information om hur man aktiverar Ole Automation Procedures, se Peripheral Application Configurator i serien SQL Server Online Books. Meddelande 15281, Nivå 16, Status 1, Procedur sp_OAMethod, Rad 1 SQL Server blockerade åtkomsten till proceduren 'sys.sp_OAMethod' i komponenten 'Ole Automation Procedures' eftersom denna komponent stängdes ner som en del av säkerhetskonfigurationen för denna server. Systemadministratörer kan aktivera 'Ole Automation Procedures' genom att använda sp_configure. För mer information om hur man aktiverar Ole Automation Procedures, se Peripheral Application Configurator i serien SQL Server Online Books.
Lösning:
- --开启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
Kopiera koden
|