Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

RE: Executing a SSIS package from a SQL Job

RE: Executing a SSIS package from a SQL Job

RE: Executing a SSIS package from a SQL Job

Hi Everyone,

I have an SSIS package that I have imported into our Report Server and I runs fine. I now need to be able to schedule this to run in a job but when I run the job I receive the following error message.

Executed as user: AHS\nextgen. Microsoft (R) SQL Server Execute Package Utility Version 10.50.2500.0 for 64-bit Copyright (C) Microsoft Corporation 2010. All rights reserved. Argument "ngvrsql.NGProd" for option "connection" is not valid. The command line parameters are invalid. The step failed.

the command line looks something like this:

/SQL "\WellPartner_Enc_Based" /SERVER "SRC-NGReport" /CONNECTION ENCTR;"\\SVH-FS3\Home-SRC\purnec\WellPartner\ENCTR_SVH201201231_1.pipe" /CONNECTION "Flat File Connection Manager";"\\SVH-FS3\Home-SRC\purnec\WellPartner\ENCTR_SVH20121231_1.pipe" /CONNECTION "ngvrsql.NGProd";"\"Data Source=ngvrsql;Initial Catalog=NGProd;Provider=SQLOLEDB.1;Integrated Security=SSPI;\"" /CONNECTION "ngvrsql.NGProd 1";"\"Data Source=ngvrsql;Initial Catalog=NGProd;Provider=SQLNCLI10.1;Integrated Security=SSPI;Application Name=SSIS-WellPartner_Enc_Based_Old-{88C8533F-9FC1-4F43-9B64-710C1C9F9299}ngvrsql.NGProd 1;Auto Translate=False;\"" /CONNECTION "SSH Connection Manager

Any Ideas?

Thanks for your help!

RE: RE: Executing a SSIS package from a SQL Job

SQL Server agent needs to have same permissions as you to be able to run the package

Rgds, Geoff

We could learn a lot from crayons. Some are sharp, some are pretty and some are dull. Some have weird names and all are different colours but they all live in the same box.

Please read FAQ222-2244: How to get the best answers before you ask a question

RE: RE: Executing a SSIS package from a SQL Job

Thanks! That was it!

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close