Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

SSIS Package runs in BIDS but not in SQL AGENT Expand / Collapse
Author
Message
Posted Friday, August 16, 2013 11:39 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Thursday, April 03, 2014 7:57 AM
Points: 21, Visits: 214
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 ?

Post #1485333
Posted Monday, August 19, 2013 6:40 AM
Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Thursday, April 03, 2014 6:23 AM
Points: 1,135, Visits: 1,149
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
Post #1485769
Posted Wednesday, August 21, 2013 7:29 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Monday, March 24, 2014 8:12 AM
Points: 117, Visits: 226
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.
Post #1486701
Posted Wednesday, August 21, 2013 7:53 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 12:22 AM
Points: 12,206, Visits: 9,170
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 LessThanDot.

MCSA SQL Server 2012 - MCSE Business Intelligence
Post #1486722
Posted Thursday, August 22, 2013 6:53 AM
Mr or Mrs. 500

Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500

Group: General Forum Members
Last Login: 2 days ago @ 6:23 AM
Points: 511, Visits: 417
Just out of curiosity, do you have the Access Database Engine installed?

Access Database Engine
Post #1487219
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse