I can execute SSIS on visual studio, but it doesn&

2019-09-18 15:56发布

问题:

I have a simple SSIS package that I made in visual studio, it takes data from an Access data base and pass it to an SQL database. I can execute the package without any problems in Visual Studio 2008 but when I try to implement and execute it on a job in SQL Server 2008 it fails, I get this error message as output:

Executed as user: SRV06 \ SYSTEM . Execute Package Utility for Microsoft (R ) SQL Server Version 10.0.1600.22 for 32 -bit Copyright ( C ) Microsoft Corp 1984-2005 . All rights reserved . Started: 12:41:02 PM Error: 2014-05-30 12:41:02.59 Code: 0xC0202009 Source : Fill Complaints Connection Management " IndicadoresQuejas " Description: SSIS Error Code DTS_E_OLEDBERROR . OLE DB error . Error Code: 0x80040E4D . There is an OLE DB record is available . Source : " Microsoft SQL Server Native Client 10.0 " Result : 0x80040E4D Description: " Login failed for user ' sa' . " . End Error Error: 2014-05-30 12:41:02.59 Code: 0xC020801C Origin: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER : Data Flow OLE DB Destination [525 ] Description Task . Error of the method call AcquireConnection administrator " IndicadoresQuejas " connection . Error Code: 0xC0202009 . There may be other exposed Error messages before this with more information on why the error AcquireConnection method. End Error Error: 2014-05-30 12:41:02.59 Code: 0xC0047017 Source : Data Flow Task SSIS.Pipeline Description : Error in validating component " OLE DB Destination " ( 525 ); 0xC020801C error code was returned. End Error Error: 2014-05-30 12:41:02.59 Code: 0xC004700C Source : Data Flow Task SSIS.Pipeline Description: Failed to validate one or more components. End Error Error: 2014-05-30 12:41:02.59 Code: 0xC0024107 Source : Data Flow Task Description : There were errors during task validation . End DTExec error : package execution returned DTSER_FAILURE ( 1). Started: 12:41:02 AM Finished : 12:41:02 PM Elapsed: 0.281 seconds . Package execution failed . Unable to perform the step.

I know that it's in spanish but I hope this won't be a problem. I'll give some details about the package and the job.

In the package the "IndicadoresQuejas" is a data source that connects to the SQL Server data base, to enter this data base I've already typed and saved the user and pasword inside the package. There's another data source clled "Quejas" that gets the data from the Acces data base, this one doesn't need user and password. There's an OLDB connection named SRVXX\BI2008.IndicadoresQuejas.sa

The SSIS package has Prtection Level of EncryptSensitiveWithPassword

About the Job, it has jusy one step called "Llenar Quejas" this one executes the SSIS package but as I mentioned it fails. I've alredy enter the job properties and edited the job's step, it has the type of "SQL Package Server Integration Services", the "execute as" is "Service Account of SQL Server Agent" the package origin is "system file", In execution options everything is unchecked, the SQL Server 2008 is 32 bits as well as Visual Studio. The command line is:

/FILE "F:\Proyectos\Indicadores Quejas\SSIS Quejas\Llenar Quejas.dtsx" /DECRYPT /CONNECTION IndicadoresQuejas;"\"Data Source=SRVXX\BI2008;User ID=sa;Initial Catalog=IndicadoresQuejas;Provider=SQLNCLI10.1;Persist Security Info=True;\"" /CONNECTION Quejas;"\"Dsn=Quejas;\"" /CONNECTION "SRVXX\BI2008.IndicadoresQuejas.sa";"\"Data Source=SRV06\BI2008;User ID=sa;Initial Catalog=IndicadoresQuejas;Provider=SQLNCLI10.1;Persist Security Info=True;Auto Translate=False;Application Name=SSIS-Package-{B52933E5-68A2-4A0E-8A60-8F905810CF31}SRVXX\BI2008.IndicadoresQuejas.sa;\"" /CHECKPOINTING OFF /REPORTING E

In the data sources the data sources of the package (Quejas, and Indicadores Quejas) and the OLDB connection(SRVXX\BI2008.IndicadoresQuejas.sa) are checked.

I've searched on the internet about this problem, but nothing has helped me, and I've visited the Microsoft support page as well but nothing.

I know that the problem is that it's not connecting to "IndicadoresQuejas" correctly, and I've checked several times that the users and passwords are correct. But I really don't know what's wrong. I've also checked the ODBCs and everything looks fine.

I've also tried to import the package to the MSDB folder of the Integration Services in SQL server but I've been told that from all the other jobs that had been done, importing packages to that folder has never been necessary.

I don't really expect to get the actual solution here, but if you could give me at least a clue of what I should be checking or reviewing.

I hope that the Spanish messages and names will not be a problem. If more details are needed I'll provide them. Thanks