ExamNotes.net  -  IT certification portal

ForumsCertResearchTop sitesNewslettersFree email
HomeRegister


Exams Notes
Practice exams
Exam games
Questions by email
Online training
Training videos
College degrees
Boot camps
Book store
Links directory
Tell a friend
For webmasters




General discussions > Public newsgroups > microsoft.public.sqlserver.server > Proxy account set up

Show a Printable Version
Email This Page to Someone!
Receive updates to this thread



Author Proxy account set up
Alex Au
Guest




Registered: Not Yet
Location:
Country:
State:
Certifications:
Working on:

Total Posts: N/A
Proxy account set up

Hi

I tried to set up a Proxy Account, so non-sa users can
create dts and schedule it as a job. In SQL
Agent/properties/job system I put in the windows
user/password/domain, and I get the error message
saying 'Error executing the extended stored procedure:
specified user cannot login' I also tried using Transact
SQL but the result is the same.

The WIndows logins is a valid one, and has local admin
rights as well on the server. Also in SQL Server I have
given this user sa rights. Does this user ( used as proxy
account user ) need to be set up differently in the
WIndows setup?

Any help would be appreciated.

Thanks in advance

Alex

Report this post to a moderator

Old Post 12-05-02 11:23 AM
Reply w/Quote Edit/Delete Message IP: Logged
Dan Guzman
Guest




Registered: Not Yet
Location:
Country:
State:
Certifications:
Working on:

Total Posts: N/A
Re: Proxy account set up

This is probably an issue with the service accounts rather than the
proxy account. If service accounts were changed after installing SQL
Server, this should have been done via Enterprise Manager so that the
necessary rights are granted. Changing the account from the mmc doesn't
do this.

Try specifying the service accounts via EM (server properties and SQL
Agent properties). You may need to temporarily change to another
account (e.g. Local System) and then back to the desired account so that
EM recognizes the change and grants the rights to the account.

--
Hope this helps.

Dan Guzman
SQL Server MVP

-----------------------
SQL FAQ links (courtesy Neil Pike):

http://www.ntfaq.com/Articles/Index...epartmentID=800
http://www.sqlserverfaq.com
http://www.mssqlserver.com/faq
-----------------------

"Alex Au" <alex.au@ace-ina.com> wrote in message
news:05f701c29c48$1b406aa0$d7f
82ecf@TK2MSFTNGXA14...
> Hi
>
> I tried to set up a Proxy Account, so non-sa users can
> create dts and schedule it as a job. In SQL
> Agent/properties/job system I put in the windows
> user/password/domain, and I get the error message
> saying 'Error executing the extended stored procedure:
> specified user cannot login' I also tried using Transact
> SQL but the result is the same.
>
> The WIndows logins is a valid one, and has local admin
> rights as well on the server. Also in SQL Server I have
> given this user sa rights. Does this user ( used as proxy
> account user ) need to be set up differently in the
> WIndows setup?
>
> Any help would be appreciated.
>
> Thanks in advance
>
> Alex
>



Report this post to a moderator

Old Post 12-05-02 04:23 PM
Reply w/Quote Edit/Delete Message IP: Logged
Bill Hollinshead [MSFT]
Guest




Registered: Not Yet
Location:
Country:
State:
Certifications:
Working on:

Total Posts: N/A
RE: Proxy account set up

Hi Alex,


This following is a summary of initial troubleshooting steps for the "Error
executing extended stored procedure. Specified user cannot login." message.

0)
Start|Run|cmd.exe and type the following two lines:
CD C:\
SET
If SET returns a LOGONSERVER value that is the local box's name (as opposed
to the name of a domain controller) then you are logged onto this box using
cached credentials and instead this box needs to logon to the domain (and
rebooting the box may cause the logon server to now more appropriately be
the domain controller). If no reboot is needed (because the LOGONSERVER is
set to a Domain Controller) then keep the command prompt window open (as
it's needed in step 4).

1)
Verify that the startup account for SQL Server and SQL Agent services are
NT
domain accounts and are member of the local administrators group.

2)
Verify that the startup account for SQL Server and SQL Agent services have
the
following rights
Act as part of the Operating System
Increase Quotas
Log on as a Service
Replace a process level token
Log on as a batch Job
(per http://msdn.microsoft.com/library/e...erview_6k1f.asp)

3)
Verify that the account that you want to use for "SQL Agent proxy account"
has the "Log on as a batch job" right. If not, then assign it the right
using the instructions in step 2.

4)
After recycling SQL Server (because advanced rights only take effect when a
service/account logs in), do the following:
Log on locally to the SQL Server using the startup account of SQL Server
service
Open Query Analyzer and run the command
EXEC master.dbo.xp_sqlagent_proxy_account
N'SET',N'domain_name',N'user_n
ame',N'password'
If this still fails with the error "Error executing extended stored
procedure:
Specified user can not login", do the following:
Copy the attached whoami.exe to C:\, go back to the command prompt (opened
in step 0, you may want to check the LOGONSERVER again <g> ) and type the
following command (at the C:\> )
WHOAMI/ALL>c:\whoami.txt
(note that there is a *total lack* of spaces within the above command <g> )
Inspect whoami.txt and compare with the advanced rights (mentioned above).

There are other causes of a domain controller failing to authenticate (or a
domain controller not being able to authenticate) an account, such as
networking issues, name resolution issues, etc. You can post whoami.txt if
you wish (so I can inspect it <g> ), and/or I may have other utilities that
may assist should you get to this point without a resolution. But, it would
perhaps be better (if unresolved at this point) to open a support case
because further troubleshooting steps can become complicated and/or require
your (and our) undivided attention <g>.

RE Running DTS packages: It sounds as though you are aware of
http://support.microsoft.com/defaul...B;EN-US;269074, but I
thought I would mention it anyway <g>. For example, a user who creates a
DTS package that in turn references a mapped drive (for that user) may
become perplexed <g> when a scheduled run of that package cannot find that
very same mapped drive (likely because the Proxy account doesn't have that
same drive mapped to the same location). Further details and 'gotchyas' are
within that article.

Thanks,

Bill Hollinshead
Microsoft, SQL Server

This posting is provided "AS IS" with no warranties, and confers no
rights. Subscribe to MSDN & use http://msdn.microsoft.com/newsgroups.

Attachment:
This has been downloaded 0 time(s).

Report this post to a moderator

Old Post 12-05-02 10:23 PM
Reply w/Quote Edit/Delete Message IP: Logged
All times are GMT.
Post new thread   Post reply


Forum Jump:
Rate This Thread:
Forum Rules:
Who Can Read The Forum? Any registered user or guest.
Who Can Post New Topics? Any registered user.
Who Can Post Replies? Any registered user.
Changes: Messages can be edited by their author.
Posts: HTML code is OFF. Smilies are ON. vB code is ON. [IMG] code is OFF.
 

ExamNotes forum archive


Powered by: vBulletin 2.2.8
Copyright ©2000, Jelsoft Enterprises Limited.

  Free Braindumps | mcse braindumps