调用MSSQLSERVER的系统过程xp_cmdshell发生错误:xpsql.cpp: 错误 来自 GetProxyAccount
2005-02-01 16:16
549 查看
--消息 50001,级别 1,状态 50001
--xpsql.cpp: 错误 87 来自 GetProxyAccount(第 604 行)
打开SQLSERVER的企业管理器,进入“管理”,右键点击“Sql Server代理”点击属性;
首先你要“允许非SysAdmin权限的用户执行CmdExec.....”,然后指定一个账号。
不过,你需要意识到这样做所存在的安全上的风险。
有关英文回复:
You don't have to use a domain account. When you go into the "job system" properties on your sql agent, click the "reset proxy account". it will ask you for a new user/password and domain. For the domain, just put the name of the local server (of course, that account has to exist on the local server).
Also, I'm sure you know what the risk is by allowing non-syadmins the ability to execute XP_CMDSHELL....
可以使用下面的语句来获取当前的代理所使用的账号:
exec master.dbo.xp_sqlagent_proxy_account N'GET'
可以使用下面的语句来设置当前的代理所使用的账号:
exec master.dbo.xp_sqlagent_proxy_account N'SET',N'域名', N'账号名', N'密码'
It generally indicates that either the SQL Agent account is
not a local admin account so it can't access the information
on the proxy account or you haven't set up a proxy account.
You can execute the following to get the proxy account:
exec master.dbo.xp_sqlagent_proxy_account N'GET'
If it doesn't return anything, you need to create the proxy
account.
You can set the proxy account with:
exec master.dbo.xp_sqlagent_proxy_account N'SET',
N'DomainName', N'UserName', N'Password'
消息 50001,级别 1,状态 50001
xpsql.cpp: 错误 1326 来自 LogonUserW(第 620 行)
--xpsql.cpp: 错误 87 来自 GetProxyAccount(第 604 行)
打开SQLSERVER的企业管理器,进入“管理”,右键点击“Sql Server代理”点击属性;
首先你要“允许非SysAdmin权限的用户执行CmdExec.....”,然后指定一个账号。
不过,你需要意识到这样做所存在的安全上的风险。
有关英文回复:
You don't have to use a domain account. When you go into the "job system" properties on your sql agent, click the "reset proxy account". it will ask you for a new user/password and domain. For the domain, just put the name of the local server (of course, that account has to exist on the local server).
Also, I'm sure you know what the risk is by allowing non-syadmins the ability to execute XP_CMDSHELL....
可以使用下面的语句来获取当前的代理所使用的账号:
exec master.dbo.xp_sqlagent_proxy_account N'GET'
可以使用下面的语句来设置当前的代理所使用的账号:
exec master.dbo.xp_sqlagent_proxy_account N'SET',N'域名', N'账号名', N'密码'
It generally indicates that either the SQL Agent account is
not a local admin account so it can't access the information
on the proxy account or you haven't set up a proxy account.
You can execute the following to get the proxy account:
exec master.dbo.xp_sqlagent_proxy_account N'GET'
If it doesn't return anything, you need to create the proxy
account.
You can set the proxy account with:
exec master.dbo.xp_sqlagent_proxy_account N'SET',
N'DomainName', N'UserName', N'Password'
消息 50001,级别 1,状态 50001
xpsql.cpp: 错误 1326 来自 LogonUserW(第 620 行)
相关文章推荐
- 调用SERVER的系统过程xp_cmdshell发生错误:xpsql.cpp:错误来自GetProxyAccount
- 运行sp_xp_cmdshell_proxy_account 出现的错误
- 在执行xp_cmdshell的过程中出错,调用'LogonUserW'失败,错误代码:'1909'
- xpsql.cpp: 错误 2 来自 CreateProcess(第 737 行)
- SQL的系统存储过程xp_cmdshell
- 在业务系统中调用水晶报表提示:ORA-06502: PL/SQL: 数字或值错误 : 字符串缓冲区太小
- FormatMessage与GetLastError配合使用,排查windows api调用过程中的错误
- net start sshd 发生系统错误1069--cygwin安装过程
- 解决sqllserver登录的时候提示错误录过程中发生错误。(provider:命名管道提供程序,error:0-管道的另一端上无任何进程。)(Microsoft SQL Server,错误:233)
- SQL SERVER sp_configure 配置并通过 xp_cmdshell 调用控制台程序
- SQL用户已成功与服务器建立连接,但是在登录过程中发生错误
- .net连接Sql时出现"已成功与服务器建立连接,但是在登录过程中发生错误。 (provider: TCP 提供程序, error: 0 - 指定的网络名不再可用。) "
- SqlServer xp_cmdshell 存储过程
- SQL Server 阻止了对组件 'xp_cmdshell' 的 过程'sys.xp_cmdshell' 的访问,因为此组件已作为此服务器安全配置的一部分而被关闭。系统管理员可以通过使用 sp_co
- 已成功与服务器建立连接,但是在登录过程中发生错取。(provider:共享内存提供程序,error:0-管道的另一端上无任何进程。)(Microsoft SQL Server,错误:233)
- 破解:已成功与服务器建立连接,但是在登录过程中发生错误。Microsoft SQL Server, Error: 233
- SQL Server ->> 调用系统内建扩展存储过程"master.dbo.xp_delete_file"删除过期备份文件
- 恢复数据库报错,SQL3012C 发生系统错误(原因码 = "")。无法处理后续的 SQL 语句。 SQLSTATE=58005
- 恢复数据库报错,SQL3012C 发生系统错误(原因码 = "")。无法处理后续的 SQL 语句。 SQLSTATE=58005
- 在VS2010中调用COM Interop DLL操作Excel通过get_Range去获取Range时,会发生Object does not contain a definition for get_Range的错误。其原因和解决方案