SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


SSIS Package runs in BIDS but not in SQL AGENT


SSIS Package runs in BIDS but not in SQL AGENT

Author
Message
sdennis
sdennis
SSC Rookie
SSC Rookie (35 reputation)SSC Rookie (35 reputation)SSC Rookie (35 reputation)SSC Rookie (35 reputation)SSC Rookie (35 reputation)SSC Rookie (35 reputation)SSC Rookie (35 reputation)SSC Rookie (35 reputation)

Group: General Forum Members
Points: 35 Visits: 264
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 ?
Rob Taylor
Rob Taylor
Hall of Fame
Hall of Fame (3.9K reputation)Hall of Fame (3.9K reputation)Hall of Fame (3.9K reputation)Hall of Fame (3.9K reputation)Hall of Fame (3.9K reputation)Hall of Fame (3.9K reputation)Hall of Fame (3.9K reputation)Hall of Fame (3.9K reputation)

Group: General Forum Members
Points: 3872 Visits: 1616
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
lshanahan
lshanahan
SSCommitted
SSCommitted (1.5K reputation)SSCommitted (1.5K reputation)SSCommitted (1.5K reputation)SSCommitted (1.5K reputation)SSCommitted (1.5K reputation)SSCommitted (1.5K reputation)SSCommitted (1.5K reputation)SSCommitted (1.5K reputation)

Group: General Forum Members
Points: 1531 Visits: 438
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.
Koen Verbeeck
Koen Verbeeck
SSC Guru
SSC Guru (63K reputation)SSC Guru (63K reputation)SSC Guru (63K reputation)SSC Guru (63K reputation)SSC Guru (63K reputation)SSC Guru (63K reputation)SSC Guru (63K reputation)SSC Guru (63K reputation)

Group: General Forum Members
Points: 63570 Visits: 13298
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.


How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?
My blog at SQLKover.

MCSE Business Intelligence - Microsoft Data Platform MVP
Tee Time
Tee Time
Ten Centuries
Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)

Group: General Forum Members
Points: 1077 Visits: 465
Just out of curiosity, do you have the Access Database Engine installed?

Access Database Engine
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search