執行存儲過程SQL Server阻止了對組件xp_cmdshell過程的解決方案


錯誤描述:SQL Server阻止了對組件‘xp_cmdshell’的過程‘sys.xp_cmdshell’的訪問。因為此組件已作為此服務囂安全配置的一部分而被關閉。系統管理員可以通過使用sp_configure啟用‘xp_cmdshell’。有關啟用‘xp_cmdshell’的詳細信息,請參閱sQL幫助文件。
 
 
解決方案
sp_configure 'show advanced options',1
reconfigure
go
sp_c onfigure 'xp_cmdshell',1
reconfigure
go


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM