I maintain a server running SQL Server 6.5 and this SQL Server has several scheduled tasks. I have arranged each database on the server so that there is a user called 'standby' who is aliased to 'dbo'. I have then created a scheduled task (as this user) to backup the relevant database to tape. The command that I run to accomplish this task is:
DUMP DATABASE <database name> TO Tape1 WITH NOUNLOAD , STATS = 10, NOINIT , NOSKIP
This task generates the following error when ran:
Unable to perform a SETUSER to the requested username 'standby'. Either the SQLExecutive service account cannot establish a trusted SA connection, or the username is invalid for database '<database name>'.
The problem is that this task runs without a problem when I create it as user 'sa', but not when I create it as 'standby'. I guess this is a permissions issue, so is it possible to grant 'standby' the required access?
Dan Griffiths
Software Analyst
National Grid Transco (NGT)
DUMP DATABASE <database name> TO Tape1 WITH NOUNLOAD , STATS = 10, NOINIT , NOSKIP
This task generates the following error when ran:
Unable to perform a SETUSER to the requested username 'standby'. Either the SQLExecutive service account cannot establish a trusted SA connection, or the username is invalid for database '<database name>'.
The problem is that this task runs without a problem when I create it as user 'sa', but not when I create it as 'standby'. I guess this is a permissions issue, so is it possible to grant 'standby' the required access?
Dan Griffiths
Software Analyst
National Grid Transco (NGT)