Job schedule error

Posted on 2006-04-19
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

    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

    I am manually running it.
    LVL 7

    Expert Comment

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

    Author Comment

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

    Accepted Solution

    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 Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Join & Write a Comment

    I wrote this interesting script that really help me find jobs or procedures when working in a huge environment. I could I have written it as a Procedure but then I would have to have it on each machine or have a link to a server-related search that …
    JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
    Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
    Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

    755 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

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now