运行sp_xp_cmdshell_proxy_account 出现的错误

本文解析了在执行sp_xp_cmdshell_proxy_account存储过程时可能遇到的几种错误,包括用户名称错误、密码错误及权限问题,并提供了相应的解决办法。

运行sp_xp_cmdshell_proxy_account 存储过程可能出现以下几种错误:

sp_xp_cmdshell_proxy_account 'domain\account','p@5$word'

 

Msg 15137, Level 16, State 1, Procedure sp_xp_cmdshell_proxy_account, Line 1

An error occurred during the execution of sp_xp_cmdshell_proxy_account.

Possible reasons: the provided account was invalid or

the '##xp_cmdshell_proxy_account##' credential could not be created. Error code: '0'.

---用户名称错误

 

Msg 15137, Level 16, State 1, Procedure sp_xp_cmdshell_proxy_account, Line 1

An error occurred during the execution of sp_xp_cmdshell_proxy_account.

Possible reasons: the provided account was invalid or

the '##xp_cmdshell_proxy_account##' credential could not be created. Error code: '1326'.\

--密码错误


Msg 15137, Level 16, State 1, Procedure sp_xp_cmdshell_proxy_account, Line 1

An error occurred during the execution of sp_xp_cmdshell_proxy_account.

Possible reasons: the provided account was invalid or

the '##xp_cmdshell_proxy_account##' credential could not be created. Error code: '5'.

--access deny,用户缺少权限,无法调用底层dll。此出现在vista或windows 2008。禁用UAC或者以administrator权限运行可解决这个问题

转载于:https://www.cnblogs.com/stswordman/archive/2008/10/07/1305494.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值