dbTalk Databases Forums  

SQL Agent - Problem starting in an MSDE installation

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss SQL Agent - Problem starting in an MSDE installation in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jav
 
Posts: n/a

Default SQL Agent - Problem starting in an MSDE installation - 12-15-2005 , 11:03 AM






I can't start the SQL Agent in an MSDE installation. It stops right away.
The Error log says :
<<SQLServerAgent could not be started (reason: SQLServerAgent must be able
to connect to SQLServer as SysAdmin, but '(Unknown)' is not a member of the
SysAdmin role).>>

Both the Agent and the SQL server instance were set up to have the same
Service Startup accounts (I think - not having any client tools on the
machine makes it difficult to check). I can only connect remotely to the
machine.

What can I use on the Command line interface to fix this issue?
Thanks for the help.
Jav


Reply With Quote
  #2  
Old   
JFR
 
Posts: n/a

Default RE: SQL Agent - Problem starting in an MSDE installation - 12-19-2005 , 11:11 AM






Make sure that you add to the the user that is running the sql and
sqlServerAgent services to the sysadmin role .

You can get it done by running

Exec sp_grantlogin Computername\Username
go
Exec sp_addsrvrolemember @loginname=computername\Username, @rolename=sysadmin


JFR



"Jav" wrote:

Quote:
I can't start the SQL Agent in an MSDE installation. It stops right away.
The Error log says :
SQLServerAgent could not be started (reason: SQLServerAgent must be able
to connect to SQLServer as SysAdmin, but '(Unknown)' is not a member of the
SysAdmin role).

Both the Agent and the SQL server instance were set up to have the same
Service Startup accounts (I think - not having any client tools on the
machine makes it difficult to check). I can only connect remotely to the
machine.

What can I use on the Command line interface to fix this issue?
Thanks for the help.
Jav


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.