SQL Server blocks access to 'sys. xp_mongoshell' during the 'xp _ mongoshell' process, because this component has been disabled as part of the Server's security configuration. The system administrator can enable 'xp _ javasshell' by using sp_configure '. For more information about enabling 'xp _ external shell', see "peripheral application configurator" in SQL Server books online ". SQL2005 deletes XP_CMDSHELL in the default settings, which also creates some difficulties during the injection process. Later, I checked the MSSQL2005 manual to find out the original situation: I can solve it with the following sentence .; EXEC sp_configure 'show advanced options', 1; RECONFIGURE; EXECsp_configure 'xp _ expose shell', 1; RECONFIGURE;-close the same. just change the "1" behind the above to "0 .; EXEC sp_configure 'show advanced options', 1; RECONFIGURE; EXECsp_configure 'xp _ cmdshell', 0; RECONFIGURE ;-