Argument “SMTP” for option “connection” is not valid. The command line parameters are invalid. The step failed

  • My SSIS package is run and sent email successfully if I run it from Stored package from Integration Service. So, I schduled as a job in SQL Server agent using proxy account (service account)..If I run the package as a job. I have the following error..

    Argument “SMTP” for option “connection” is not valid. The command line parameters are invalid. The step failed

    I can't figure out..

    Please help..

  • sorry about this post. I found that my remote password to the link server is not valid. it resolved the error.

  • Hi,

    I get the same error

    Executed as user: NT AUTHORITY\NETWORK SERVICE. Microsoft (R) SQL Server Execute Package Utility Version 10.50.1600.1 for 64-bit Copyright (C) Microsoft Corporation 2010. All rights reserved. Argument "SMTP" for option "connection" is not valid. The command line parameters are invalid. The step failed.

    Please if you can detail how did you solved the problem.

    david

    nahmiastech@yahoo.com

  • Hi, I am having the same problem.

    Argument "SMTP" for option "connection" is not valid. The command line parameters are invalid. The step failed.

    what am I doing wrong. When I try this in debug mode it works fine.

  • talha kamran (5/5/2011)


    Hi, I am having the same problem.

    Argument "SMTP" for option "connection" is not valid. The command line parameters are invalid. The step failed.

    what am I doing wrong. When I try this in debug mode it works fine.

    There are two ways to fix it one is to use the account used to run the proxy as the account used for the Windows authentication in SMPT or use a Script Task to send the email which lets you define the account used for SMTP connection because it uses System.NET SMTP classes.

    Kind regards,
    Gift Peddie

  • Argument "xyz" for option "connection" is not valid. The command line parameters are invalid. The step failed.

    I solved this issue by following

    http://www.sqlserverbox.com/ssis-package-in-sql-server-agent-job-fails.html

    http://sqlism.blogspot.com/2012/08/ssis-package-in-sql-server-agent-job.html

Viewing 6 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic. Login to reply