MSSQL Scheduled Task to run SSIS Package Issue

jtech 26 Reputation points
2023-01-06T17:46:11.49+00:00

I have an SSIS Package that I am trying to schedule to run Daily via a new job that I created in MSSQL. The issue is that when I set the path to my SSIS Package, an error pops up saying the following:

Invalid package path "\servername\mySSISPackageLocation\Package.dtsx" on the server "localhost". It cannot display the configuration of the package.

From the hours of research on my issue thus far, it appears that most people attribute my error as MSSQL not having adequate privilege's to the folders (location) where I have the SSIS Package stored. However, I can't find any instructions on how to setup the permissions for MSSQL to properly access it...? Both the MSSQL & SSIS instances I have are just for testing, so I've set about everything up in both Windows and MSSQL to have "Full Control" but still with no success.

Below are some of the things I have tried:

  • Shared the root folder with my SSIS Package, added "Everyone" to have full control and set the security permissions on the folder to the only account I have for Windows on this machine to full control as well.
  • Added "NT Service\MSSQLSERVER" & "NT Service\Winmgmt" to the root folder that I previously shared in the above step and set full control access on it.
  • Set most all "Logins" within MSSMS to have the role of "sysadmin".
  • Closed out of all SQL applications and restarted the SQL Services in Windows after each above change.
  • Have rebooted my machine several times as well.

Not really sure what else I am missing, and I am a novice at this, but any guidance or help would be greatly appreciated!

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
14,370 questions
SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,632 questions
0 comments No comments
{count} votes

5 answers

Sort by: Most helpful
  1. Erland Sommarskog 115.9K Reputation points MVP
    2023-01-06T18:37:06.277+00:00

    Keep in mind that the accounts NT Service\MSSQLSERVER etc are local to the machine, so they cannot be granted permissions on a folder share. The other machine knows nothing about the accounts on the SQL Server machine.

    You can grant permission to DOMAIN\MACHINE$, that is for the machine account for the machine where SQL Server runs, but this may be dubious from a security perspective.

    A better alternative would be to run SQL Server under a domain account, which could be a gMSA.

    1 person found this answer helpful.

  2. ZoeHui-MSFT 40,051 Reputation points
    2023-01-09T02:33:18.657+00:00

    Hi @jtech

    How do you set the step of your job?

    Are you using file system or sql server in the package source?

    It seems like a permission issue, try to set proxy account which could access the server to run the job.

    Reference: https://www.mssqltips.com/sqlservertip/2163/running-a-ssis-package-from-sql-server-agent-using-a-proxy-account/

    Regards,

    Zoe Hui


    If the answer is helpful, please click "Accept Answer" and upvote it.


  3. jtech 26 Reputation points
    2023-01-09T16:41:27.637+00:00

    Hey Zoe,

    For the step of my job, I was following an article that said to use a Package Source of "SSIS Catalog" and when trying to browse to the path nothing would show up in the list to even select, so I would manually enter the path, but upon doing so, the error would occur. After your post here, I then switched the package source to "File System", and from there it did let me browse to the SSIS Package.dtsx that I want the job to run, but then upon running I get errors that say "Login failed for user 'NT Service\SSISScaleOutMaster150'. Reason: Could not find a login matching the name provided. [CLIENT: <local machine>]".

    In trying to troubleshoot this error further, I have performed all of the following, but to no success:

    0 comments No comments

  4. ZoeHui-MSFT 40,051 Reputation points
    2023-01-10T02:05:35.93+00:00

    Hi @jtech

    Please first check that you have installed SSIS as said here.

    And then open SSMS, connect to this instance, right-click on logins -> New login to add 'Add NT Service\SSISScaleOutMaster150' to SQL Server login.

    Restart the server and run the job for a try.


  5. Guoxiong 8,206 Reputation points
    2023-01-12T19:18:45.4133333+00:00

    You might need to deploy your SSIS project or package to the SQL server through the Visual Studio. Check this article "Deploy and Schedule an SQL Server Integration Services SSIS Package Step by Step".


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.