sql server agent job failing RRS feed

  • Question

  • My SSIS package with excel as source works fine when i run it from VS and also runs w/o errors when i execute the package from the integration services catalog. When i run it as a scheduled job or manually by right clicking on the agent job it fails with the error

    "The Microsoft database engine cannot open or write to the file" (filepath\employee.xlsx), its already opened exclusively by another user or you need permission to view and write its data".

    1) I am the only one to use that excel sheet and it is closed.

    2) I have full control on the folder where this excel sheet resides.

    3) When i created the agent job i listed myself at the owner.

    4) I configured the job to run as a 32 bit.

    When a SQL Server Agent job executes , under what user name does the job gets executed?

    Please need help.


    Wednesday, September 25, 2019 6:15 PM


All replies