Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 2005
»
Administering
»
sp_xp_cmdshell_proxy_account gives a error,...
sp_xp_cmdshell_proxy_account gives a error, need help....
Rate Topic
Display Mode
Topic Options
Author
Message
Paresh Prajapati
Paresh Prajapati
Posted Thursday, July 24, 2008 3:01 AM
Old Hand
Group: General Forum Members
Last Login: Friday, August 31, 2012 6:08 AM
Points: 322,
Visits: 459
I have create a domain use testuser,
and i have create a CREDENTIAL :
create CREDENTIAL ##xp_cmdshell_proxy_account## with IDENTITY = 'domainname\testuser', SECRET = 'password';
Then when i create a proxy_account :
EXEC sp_xp_cmdshell_proxy_account 'domainname\testuser', 'password';
GO
i git following error:
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'.
_____________________________________________________________________________________________________________
Paresh Prajapati
+919924626601
http://paresh-sqldba.blogspot.com/
LinkedIn
|
Tweet Me
|
FaceBook
|
Brijj
Post #539937
Carl Uman
Carl Uman
Posted Monday, February 28, 2011 1:01 PM
SSC-Enthusiastic
Group: General Forum Members
Last Login: Friday, February 15, 2013 1:54 PM
Points: 113,
Visits: 109
I know this is an old post but I've been looking for answer to this so I'm putting what I've found here for the next person.
Wish I could give a better answer but a couple of options.
1) someone posted that logging in as admin
2) CREATE CREDENTIAL ##xp_cmdshell_proxy_account## WITH IDENTITY = 'domain account',secret = 'password'
Option two worked for me. As the time of this post I didn't mess with trying option 1 since the login I'm using has sysadmin role.
This will remove the credential...
EXEC sp_xp_cmdshell_proxy_account null
This will show a list of credentials on server
select *
from sys.credentials
This will show the config options for the server (the last entry for me was the xp_cmdshell)
SELECT * FROM sys.configurations
ORDER BY name
Good luck
Post #1070780
sudhanva
sudhanva
Posted Thursday, December 22, 2011 3:26 AM
SSC Journeyman
Group: General Forum Members
Last Login: Friday, October 05, 2012 3:23 AM
Points: 79,
Visits: 232
Can we have more than one windows user configured as proxy? How?
Actually, I have two Application servers using same database server. Both of them have two seperate users, which i need to configure in db server.
Please help.
Post #1225675
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.