Click here to monitor SSC
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
Grasshopper
Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)

Group: General Forum Members
Points: 23 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 ?
robert.gerald.taylor
robert.gerald.taylor
Ten Centuries
Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)

Group: General Forum Members
Points: 1326 Visits: 1399
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
SSC Veteran
SSC Veteran (274 reputation)SSC Veteran (274 reputation)SSC Veteran (274 reputation)SSC Veteran (274 reputation)SSC Veteran (274 reputation)SSC Veteran (274 reputation)SSC Veteran (274 reputation)SSC Veteran (274 reputation)

Group: General Forum Members
Points: 274 Visits: 436
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
SSCoach
SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)

Group: General Forum Members
Points: 16441 Visits: 13202
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?

Member of LinkedIn. My blog at SQLKover.

MCSA SQL Server 2012 - MCSE Business Intelligence
Tee Time
Tee Time
Mr or Mrs. 500
Mr or Mrs. 500 (563 reputation)Mr or Mrs. 500 (563 reputation)Mr or Mrs. 500 (563 reputation)Mr or Mrs. 500 (563 reputation)Mr or Mrs. 500 (563 reputation)Mr or Mrs. 500 (563 reputation)Mr or Mrs. 500 (563 reputation)Mr or Mrs. 500 (563 reputation)

Group: General Forum Members
Points: 563 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