November 23, 2019 at 3:37 pm
Hi,
I have an issue with a SSIS package deployed to the catalog. This package includes a For Each container that scans a folder for CSV files. I can run the package from Visual Studio on my development box using my credentials and it completes successfully finds the files targeted by the for each loop and processes them as it is supposed to. With the package deployed to the Integration Services Catalog however it does not work and I get back the warning; The For Each File enumerator did not find any files that matched the file pattern, or the specified directory was empty.
In both cases I have used the UNC paths. In both cases it is running with my credentials.
The issue seems similar to this post here;
But they were able to resolve this by changing the folder permissions for the account executing the package. Given I am running this with the same account in both places and it is pointing at the same directories it seems to be something else.
I am working with:
Visual Studio 2017
SQL Server 2016
I am executing the package from the catalog by manually executing it.
If anyone knows the answer or has a good idea for how to diagnose it would be much appreciated! I can think of things I could try but I am not very convinced they will actually get me where I need to go.
November 24, 2019 at 4:10 pm
Thanks for posting your issue and hopefully someone will answer soon.
This is an automated bump to increase visibility of your question.
November 24, 2019 at 7:54 pm
Did you actually try the solution you found? I ask because it may be that the package isn't actually running as you as you think. I'm not an SSIS kind of guy but I've had similar issues in other places where what you think is happening simply isn't.
--Jeff Moden
Change is inevitable... Change for the better is not.
November 26, 2019 at 12:13 pm
I'm guessing, even though you say it has the same account and permissions, it has something to do with your connection manager definitions.
That could be due to rights issues - the account that runs the job doesn't have access to the files.
Or maybe the server where the job is running doesn't have a connection to the location of the files.
November 27, 2019 at 11:45 am
Hi, thanks for people's comments. Yes I am revisiting the permissions or more accurately trying to get my infrastructure colleagues to do that, it's hard work! Trying different configurations out now to see what different results I get.
Is there some additional logging I can add that might help with this?
February 6, 2020 at 8:00 pm
Just to let people know I did fix this in the end by changing the enumerator to pick up text from the file name rather than text that exists in the file extension. It seems the extension had become invisible to the account. No idea why it happened and infrastructure department deny making any changes, although that seems the only explanation. No more help required although if anyone has a theory as to why this occurred I would be interested to know.
February 24, 2020 at 5:31 am
This was removed by the editor as SPAM
Viewing 7 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic. Login to reply