SQL Server Agent Failed to execute job

CHENG LUN WU 1 Reputation point
2021-06-05T06:48:30.877+00:00

Every SQL Server experts~I have a problem

I want to use SQL Server Agent to excute job&schedule in SSMS,But appeared a mistake:

Executed as user: NT Service\SQLSERVERAGENT. The process could not be created for step 1 of job 0xF6FCB18EFC96C348BB90BE7CED29B30D (reason: The system cannot find the file specified). The step failed.

My job is to read the package on my file,and my SQL Server is connect to vpn and then connect to SQL ,not use Local SQL.

Similar problems on the Internet can't solve it. have any suggestions or way?~thanks!

SQL Server Other
{count} votes

2 answers

Sort by: Most helpful
  1. Hafeez Uddin 296 Reputation points
    2021-06-05T18:42:38.49+00:00

    May be it is permission issue.
    Login to the SQL Server using SQL Agent account and see if you run the package manually.

    0 comments No comments

  2. Erland Sommarskog 121.4K Reputation points MVP Volunteer Moderator
    2021-06-05T20:26:45.563+00:00

    and my package is on local,so path like this:

    C:\Users\Infofab-S508\source\repos\Integration Services Project1\Integration Services
    Project1\SAPERP_EXTRACTION_SQLSTG_20210604.dtsx.

    By "local", you mean your local machine?

    That is not going to work out. C:\ for SQL Server Agent is C:\ on the SQL Server machine. Agent has no knowledge about your local disk.

    You need to copy your package to the SQL Server machine.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.