Job schedule error

Posted on 2006-04-19
Medium Priority
Last Modified: 2012-05-05
When I try to run a job I am receiving the following error message:" Unable to perform a SETUSER to the requested username 'dbo' because the username is invalid for database".  Any sugguestion...I have tried different system users with the same result....Any sugguestions.
Question by:rwbutler333
LVL 20

Expert Comment

ID: 16490695
Are you scheduling the job or manually running it?

If you are scheduling, does SQL Server agent has permissions to do the job?

Author Comment

ID: 16490737
I am manually running it.

Expert Comment

ID: 16491397
Try it with the sa account, this way you can see if it is an authority issue.

Author Comment

ID: 16496865
I am still getting the same error with the sa account
LVL 28

Accepted Solution

imran_fast earned 375 total points
ID: 16519331
Right click you job --> properties -->check the owner of job make it sa
then in the steps edit advanced check run as user should be sa and then try.

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Microsoft Access has a limit of 255 columns in a single table; SQL Server allows tables with over 255 columns, but reading that data is not necessarily simple.  The final solution for this task involved creating a custom text parser and then reading…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Suggested Courses

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question