RE: Sp_xp_cmdshell_proxy_account & SQL 2005



Hi Steve,

I Iunderstand that you are unable to create the proxy account on SQL Server
2005. If I'm off-base, please let me know.

Please try the following test to check this issue:

(1)Dropping the proxy credential and recereate it:

EXEC sp_xp_cmdshell_proxy_account NULL;
GO

EXEC sp_xp_cmdshell_proxy_account 'Domain\username', 'password";
GO

(2)Test create CREDENTIAL on the domain account:

CREATE CREDENTIAL [MyCredential] WITH IDENTITY = '<domain>\<user>',
secret = '<password>'

And test Sp_add_proxy:

Sp_add_proxy @proxy_name='My Proxy', @credential_name='MyCredential'

(3)If the domain account can't create CREDENTIAL, please delete it from the
computer's local group. And add it back. Maybe you need reboot your
computer.

(4)You could send the SQL Server error log and Event log to me check.

Reference:

What's New in SQL Server Agent for Microsoft SQL Server 2005
http://www.microsoft.com/technet/prodtechnol/sql/2005/newsqlagent.mspx

sp_xp_cmdshell_proxy_account (Transact-SQL)
http://msdn2.microsoft.com/en-us/library/ms190359.aspx


Sincerely,

Ray Yen

Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.



--------------------
| Thread-Topic: Sp_xp_cmdshell_proxy_account & SQL 2005
| thread-index: AcbmaD7lCUW/ZQvYTy6ozm3oSznK9g==
| X-WBNR-Posting-Host: 71.212.53.147
| From: =?Utf-8?B?U3RldmVuQnI=?= <sbras@xxxxxxxxxxxxxxxx>
| Subject: Sp_xp_cmdshell_proxy_account & SQL 2005
| Date: Mon, 2 Oct 2006 14:18:03 -0700
| Lines: 16
| Message-ID: <7D75B22B-21E6-483D-8A2E-E372C87691BB@xxxxxxxxxxxxx>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
| Newsgroups: microsoft.public.sqlserver.security
| Path: TK2MSFTNGXA01.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.sqlserver.security:28674
| NNTP-Posting-Host: TK2MSFTNGXA01.phx.gbl 10.40.2.250
| X-Tomcat-NG: microsoft.public.sqlserver.security
|
| On SQL Server 2005, when we run sp_xp_cmdshell_proxy_account, we are
getting
| the error:
|
| An error occurred during the execution of sp_xp_cmdshell_proxy_account.
| Possible reasons: The account was invalid or the
| ##xp_cmdshell_proxy_account## credential could not be created. Error code
997.
|
| We know the account is good -- if it isn't, we get error 1326. For SQL
2000,
| there are plenty of postings discussing 997, but the only thing that we
could
| come up with for 2005 is that the account should probably be an
Administrator
| account (which it is). The SQL Server is running on a domain controller.
|
| How can we eliminate this error? Thanks!
| --
| Steven Bras
| Tessitura Network, Inc.
|

.



Relevant Pages

  • Re: OFFICELIVE: How to access email in an Office Live Basic servic
    ... I am a fairly loyal Microsoft customer, but now I understand why some of the ... It took me three email exchanges with Office Live support before ... unsolicited mail sent to my personal account will be deleted without ...
    (microsoft.public.office.misc)
  • RE: Database Engine Tuning Advisor
    ... In this case I am using an account that has sys admin rights. ... Thank you for using the Microsoft MSDN Managed Newsgroup. ... Tuning Advisor to connect to SQL server database. ... Microsoft Online Community Support ...
    (microsoft.public.sqlserver.tools)
  • RE: Configuration parameter in SQL database
    ... Welcome to Microsoft Newsgroup Support Service! ... how to store&return the configuration ... SQL Server + SQL Dependency Cache ...
    (microsoft.public.dotnet.general)
  • RE: Connecting remotely through VPN
    ... Thank you for using Microsoft MSDN Managed Newsgroup. ... TCP port is listening by your SQL Server. ... Microsoft Online Community Support ...
    (microsoft.public.sqlserver.connect)
  • Re: sbs 2003 Exchange message tracking
    ... Small Business IT Support ... > Thank you for posting in the SBS newsgroup. ... > that the newsgroups are staffed weekdays by Microsoft Support ... this issue can occur if the account you use ...
    (microsoft.public.windows.server.sbs)