0
votes

I have this error message when I launch an SSIS from an SQL job :

"Message Executed as user: LMPI\sqlagent. Microsoft (R) SQL Server Execute Package Utility Version 10.50.1600.1 for 32-bit Copyright (C) Microsoft Corporation 2010. All rights reserved. Started: 14:00:32 Error: 2015-01-08 14:00:38.04 Code: 0xC0047038
Source: Data Flow Task SSIS.Pipeline Description: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED. The PrimeOutput method on component "Flat File Source" (396) returned error code 0x80040E21. The component returned a failure code when the pipeline engine called PrimeOutput(). The meaning of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing. There may be error messages posted before this with more information about the failure. End Error DTExec: The package execution returned DTSER_FAILURE (1). Started: 14:00:32 Finished: 14:00:39 Elapsed: 6.63 seconds. The package execution failed. The step failed."

But When I run the same SSIS from my computer everything works fine.

Can anyone help me with that please?

Thanks

1
All the data types and lengths are matchingd_anass
This: " There may be error messages posted before this with more information about the failure. " Look for more error messages in the output and post them.Tab Alleman
Need more information about your setup. You're using a flat file source. Great, where's the data at? Local or a network location? If network, UNC or mapped drive to access? The LMPI\sqlagent account running sql agent, is that a domain account or local? What permissions does it have? Can it access the file system where the source file lives? How are you invoking the package on the server? Are Credentials involved?billinkc
- There is no other error messages - The file is in a network location UNC - sqlagent is a domain account, it's running all the other jobs we have, it has all the necessary accesses - The package is stored on the DB server and it's called from an SQL jobd_anass

1 Answers

1
votes

I doubt you run this package on your computer under LMPI\sqlagent account which I deem is the culprit. Most possibly it lacks the write rights to where the file it. The remedy is in using a proxy to run the SSIS Package Step in the Agent. The following article helps set it up: http://www.mssqltips.com/sqlservertip/2163/running-a-ssis-package-from-sql-server-agent-using-a-proxy-account/