27 ŞUBAT 2011, Pazar
'xp_cmdshell' SQL Server etkinleştir
Yürütmek istiyorum
EXEC master..xp_cmdshell @bcpquery
ama bir hata alıyorum:
SQL Server blocked access to procedure 'sys.xp_cmdshell' of component
'xp_cmdshell' because this component is turned off as part of the security
configuration for this server. A system administrator can enable the use of
'xp_cmdshell' by using sp_configure. For more information about enabling
'xp_cmdshell', see "Surface Area Configuration" in SQL Server Books Online.
Bu etkinleştirmek veya etkinleştirmek için önce? bir şeyler yürütmek için bir yoldur nasıl çözmek için
CEVAP
27 ŞUBAT 2011, Pazar
Bunu etkinleştirmeniz gerekir. xp_cmdshell MSDN docs: İzin bölümüne göz atın
http://msdn.microsoft.com/en-us/library/ms190693.aspx:
-- To allow advanced options to be changed.
EXEC sp_configure 'show advanced options', 1
GO
-- To update the currently configured value for advanced options.
RECONFIGURE
GO
-- To enable the feature.
EXEC sp_configure 'xp_cmdshell', 1
GO
-- To update the currently configured value for this feature.
RECONFIGURE
GO
Bunu Paylaş:
Uzaktan bağlantıları etkinleştir SQL S...
Tetikleyici devre SQL server Etkinleşt...
Nasıl SQL Server bir veritabanı tablod...
Tomcat Server'in Eclipse aşımını ...
SQL Server Yan yana w/ Yükleme SQL 200...