SORU
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ş:
  • Google+
  • E-Posta
Etiketler:

YORUMLAR

SPONSOR VİDEO

Rastgele Yazarlar

  • 8bitdigitaltv

    8bitdigitalt

    31 AĞUSTOS 2011
  • Capcom Unity

    Capcom Unity

    5 NİSAN 2010
  • STITCHLESS TV how to sew your own style tutorials

    STITCHLESS T

    9 HAZİRAN 2011