SQL-Server-Agent runs into an Error

  • I created a SSIS-package which more or less imports 2 excel files into a database and modifies some columns. When I excecute the package in the SSIS everything runs fine, but I need the package to be executed every morning, so I created a job in the sqlserver agent. whenever the job is starrted there it ends with an error message: the excel argument for the option 'connection' is invalid. the command parameters are invalid.

    I did not make any changes on the connection strings, they look like this:

    Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\DATA\batchfiles\Rp096.xls;Extended Properties="EXCEL 8.0;HDR=YES";

    Any idea whats wrong? Thanks for any help!

    Susanne

  • Does d:\data exist on the SQL server? Always verify that the SQL server agent account has rights to the file location.

Viewing 2 posts - 1 through 1 (of 1 total)

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