SSIS Package runs in BIDS but not in SQL AGENT

  • Hi

    I have an SSIS package that loads excel file data from a FTP shared drive to SQL SERVER database.The package runs fine on BIDS.But it fails on SQL SERVER AGENT. The service account that runs sql server agent has all permissionss to the database ,FTPshared drive and the server and I get the following error . So,I even created a proxy account with the job runs with the package and gave all access to that account i.e. shared drive ,databases and the server and I still get the same error

    Error: 2013-08-16 11:34:25.64

    Code: 0xC001401E

    Source: DoNotCallConsumerList Connection manager "ConsumerSourceFile"

    Description: The file name "\\pka\l022\BCall_2013-08-08.csv" specified in the connection was not valid.

    End Error

    Error: 2013-08-16 11:34:25.65

    Code: 0xC0202070

    Source: DoNotCallConsumerList Connection manager "ConsumerSourceFile"

    Description: The file name property is not valid. The file name is a device or contains invalid characters.

    End Error

    DTExec: The package execution returned DTSER_FAILURE (1).

    Started: 11:34:18 AM

    Finished: 11:34:25 AM

    Elapsed: 6.922 seconds

    I looked up all possible forums in google and in sqlcentral and everywhere they suggested that the user account for sql server must have access to shared drives. Can anyone tell me what could be done before I go crazy as it has been 5 days working on same issue ?

  • Can you login as that agent account and then try running the package in BIDs? It may shed some light on what permissions issue it is running up against.

    HTH,

    Rob

  • UNCs can be tricky in SSIS. DOn't know if you've seen this link on the subject.

    Good luck.

    ____________
    Just my $0.02 from over here in the cheap seats of the peanut gallery - please adjust for inflation and/or your local currency.

  • You say you are importing an Excel file, but it is actually a .csv file.

    How are you trying to read the file? I hope not with an Excel source, because that will fail.

    Need an answer? No, you need a question
    My blog at https://sqlkover.com.
    MCSE Business Intelligence - Microsoft Data Platform MVP

  • Just out of curiosity, do you have the Access Database Engine installed?

    Access Database Engine

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

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