Re: SQL 2005: non SA user create a job



'carll' still needs to be made a user of msdb.

USE [msdb]
GO
CREATE USER [carll] FOR LOGIN [carll]
GO

RLF
<it@xxxxxxxxxxxxx> wrote in message
news:57cbf83c-c872-4ce9-8d31-ecf2e77d5788@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I'm trying to use the following but I'm getting an error:

statement:
(i am using the MSDB database)
exec sp_addrolemember N'SQLAgentOperatorRole', N'carll'

error:
user or role 'carll' does not exist in the database


The user is setup to login to SQL server.


.



Relevant Pages

  • RE: why inconsistency errors on msdb again?
    ... you saw errors on msdb. ... Yes, just the msdb database. ... or hardware problems are most unlikely? ... negative impact on the SQL server? ...
    (microsoft.public.sqlserver.server)
  • Database is not starting up
    ... I was trying to move the MSDB and Model datafiles from one ... To move the MSDB database on SQL Server 2000, ... Stop and then restart SQL Server. ...
    (microsoft.public.sqlserver.server)
  • Re: sql dont start after detach model and msdb
    ... detach the model and the msdb database at the same time (with trace flag ... service wont start anymore!!! ... knowledgebase article 224071, I does also with msdb, but then I though about ... safeing time and detach msdb and model in the same time. ...
    (microsoft.public.sqlserver.server)
  • Re: Please Help : SQLServerAgent cannot start
    ... Could you please check whethere the UserAccess for MSDB is set to ... > We got power failure at last midnight, ... I can see and access the MSDB database, ... > reboot after power failure. ...
    (microsoft.public.sqlserver.server)
  • Re: MSDB (Subspect)
    ... I have already tried restore the msdb database from the backup but don't know why still subspected..... ...
    (microsoft.public.sqlserver.server)