Bunga 15281, Level 16, Negara Bagian 1, Proses sp_OACreate, Baris 1 SQL Server memblokir akses ke prosedur 'sys.sp_OACreate' komponen 'Ole Automation Procedures' karena komponen ini dimatikan sebagai bagian dari konfigurasi keamanan untuk server ini. Administrator sistem dapat mengaktifkan 'Prosedur Otomasi Ole' dengan menggunakan sp_configure. Untuk informasi selengkapnya tentang mengaktifkan Prosedur Otomasi Ole, lihat Konfigurator Aplikasi Periferal dalam seri Buku Online SQL Server. Msg 15281, Level 16, Status 1, Prosedur sp_OAMethod, Baris 1 SQL Server memblokir akses ke prosedur 'sys.sp_OAMethod' komponen 'Ole Automation Procedures' karena komponen ini dimatikan sebagai bagian dari konfigurasi keamanan untuk server ini. Administrator sistem dapat mengaktifkan 'Prosedur Otomasi Ole' dengan menggunakan sp_configure. Untuk informasi selengkapnya tentang mengaktifkan Prosedur Otomasi Ole, lihat Konfigurator Aplikasi Periferal dalam seri Buku Online SQL Server.
Larutan:
- --开启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
Salin kode
|