简体   繁体   中英

SQL job fails when user is not logged into the server

I have currently one issue with a SQL job that always fails when the user is not logged in into the server.

The job is configured to run with a specific service account that has rights on the server our sql-server is in.

When i remote connect to the server and run the job I get no error and the job doesn't fail but when I'm not remote connected with the service account the job always fails.

The job type is "SQL Server Integration Services Package"

Is this normal behaviour? Is there a way to fix this? Sorry for the vague question. Hope this is enough information.

步骤图片

在此处输入图片说明

Sometimes it can be as simple as deleting and remaking the scheduled task/job. It could be related to:

  • A stored/network password has changed since making the job
  • A corrupted password
  • Something just fat fingered, and round 2 gets it right
  • A windows update has changed how security works

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM