Quantcast
Channel: SQL Server Integration Services forum
Viewing all 24688 articles
Browse latest View live

Error 0xC0010014 / 0x80131500 while executing package from project reference package, how can I troubleshoot this?

$
0
0

I have container that runs 10 Execute Packages in parallel.

Each time I run it in Visual Studio 2015, randomly 1-3 off these packages will fail with the error

 Error 0xC0010014 while executing package from project reference package <PackageName> . One or more error occurred. There should be more specific errors preceding this one that explains the details of the errors. This message is used as a return value from functions that encounter errors.

When I click on the actual package, it appears the package never ran, no progress tab, and no more info.

I checked the application logs, that too has no info.

The target server is 2012.

Has anybody experienced something like this?

If I change the MaxConcurrency from -1 to 1, it completes without failure.




DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER

$
0
0

All,

 

I’ve come across an issue with a newly created package.  Several error messages are receved relating to the package's connection managers.   Each connection managers tests successfully.  However, the errors are thrown during package execution.  A similar issue was encountered in a separate package.  It was resolved by temporarily disabling package configurations.  That doesn't help in this case.  I did read other posts regarding package protection level which wasn't helpful in this case.

 

Any assistance you can provide would be helpful!

 

Thanks for your time,

Orlanzo

 

======================================================================

SSIS package "StageRef-Tier2_ODRBOND.dtsx" starting.

Information: 0x4004300A at Stage data to _Temp tables, DTS.Pipeline: Validation phase is beginning.

 

Error: 0xC0202009 at StageRef-Tier2_ODRBOND, Connection manager "Sybase.TIER2.odrisk": SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005.

 

Error: 0xC020801C at Stage data to _Temp tables, ODRRisk_OTRData [1]: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.  The AcquireConnection method call to the connection manager "Sybase.TIER2.odrisk" failed with error code 0xC0202009.  There may be error messages posted before this with more information on why the AcquireConnection method call failed.

 

Error: 0xC0047017 at Stage data to _Temp tables, DTS.Pipeline: component "ODRRisk_OTRData" (1) failed validation and returned error code 0xC020801C.

 

Error: 0xC004700C at Stage data to _Temp tables, DTS.Pipeline: One or more component failed validation.

 

Error: 0xC0024107 at Stage data to _Temp tables: There were errors during task validation.

SSIS package "StageRef-Tier2_ODRBOND.dtsx" finished: Failure.

The program '[2384] StageRef-Tier2_ODRBOND.dtsx: DTS' has exited with code 0 (0x0).

 

======================================================================

 

Problem with LoadPackage in ASP.NET with ASP.NET Impersonation enabled

$
0
0

Hi,

I am loading a SSIS package (with no content for this test) but meet a problem when ASP.NET impersonation is enabled.

I'm running a Windows 2016 Server with IIS and SSIS installed, and the package is a dtsx file stored locally.

The code fails at the LoadPackage (packagePath, null) line with this error:

The package failed to load due to error 0x80131534 "(null)". This occurs when CPackage::LoadFromXML fails.

If I disable ASP.NET Impersonation in IIS for the website, the package is loaded fine and can also execute without problems.

It seems obvious that this is some kind of permission problem, but I've read countless articles and suggestions on the topic and still don't know how to fix it. The app pool user is my own user account which can load and run the package when the ASP.NET impersonation configuration is disabled.

Any help and suggestion would be very appreciated :)

Thanks in advance...

Issue when trying to Unzip a zipped file using Execute Process Task.

$
0
0

Hello All,

I am facing an issue when trying to unzip a zipped database backup file using execute process task.

I did this in my local machine ( Using Visual Studio 2015 community Version) and I was able to achieve it but when I did the same solution on Client Dev Server ( Using Visual Studio 2017) I am getting an error saying " The process exit code was "2" while the expected was "0".

Below are the expressions I used in Execute Process Task.

Any help is really appreciated.

Thank you.

Execute Process Task in Foreach Loop Container

$
0
0

How do I call cmd.exe in script task.

I am trying to change the file as read only. The file paths are derived from a table

1. Execute SQL Task - Returns the list of files that needs to be set read-only.

2. Foreach Loop Container-I am using Foreach ADO Enumerator in collections. I am using script task to make sure the file is available in that folder. If I use Execute Process Task, only the last record in the dataset is getting changed.

SSIS Data Lake connection Error

$
0
0
I'm using VS 2017, the user has all privileges

After VS 2017 update to 15.8.0, I am unable to compile script task that uses WinSCPNet assembly

$
0
0

After Visual Studio 2017 updated from 15.7.5 to 15.8.0, I am now receiving errors whenever I try to build and save a script task that executes the WinSCPNet assembly for the purposes of downloading files via SFTP. I am able to successfully build the script task and close VSTA, but when I click on OK to save the changes, I receive the following error:

"Scripts contained in the package have compilation errors. Do you want to save changes?"

https://i.stack.imgur.com/KOSyF.png

When I click yes and save these bogus errors, the script task no longer does its job. While SSIS will execute it successfully, it does nothing. I am largely using code provided on WinSCP's website here: https://winscp.net/eng/docs/library_ssis.

Troubleshooting steps attempted:

  1. I am able to successfully build other script tasks and save without error.
  2. I am able to build the script task that uses the WinSCPNet assembly on an older installation of VS 15.7.5
  3. I installed SSDT 15.8.0 only to a test environment and I get the same problem when trying to save after a successful build of the script task that uses the WinSCPNet assembly.
  4. I tried creating a whole new project and re-compiling but I get the same error.
  5. I have tried uninstalling and re-installing the assembly from the GAC, but that did not resolve the problem.


Excel import - Error code: 0x80004005

$
0
0

We import data from an Excel (2010) file and it works on SSIS 2012 version.

Recently we upgraded to SSIS 2016 versions and we are getting following error:

SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005.
An OLE DB record is available.  Source: "Microsoft Access Database Engine"  Hresult: 0x80004005  Description: "External table is not in the expected format.".

We tried to import a very simple Excel file and it works but this file in particular does not work.

The import of the same file is still working fine on the old server. And we made sure that we install 2010 32 bits drivers on the new server.

I would appreciate any help. Thank you in advance.


Environment Variables vs SSIS Variables

$
0
0

I have a package that has environment variables (defined under Project.params) and SSIS variables (not defined under Project.params). After I deploy the package to the catalog and attempt to run it, it fails because it cannot resolve the values for my SSIS variables. When I configure the Environments (in SSMS), I have configured all the environment variables but not the SSIS variables.  Should I be converting "all" SSIS variables to environment variables?


ml

How to get the particular cell value from a separated out footer row in an Excel data source?

$
0
0

In a Data Flow, I have used Conditional Split to segregate the footer row/record from an Excel Source.  What is the most efficient way for me to get a value from this record row in Data Flow and assign it to a Variable, or do I need to return it to a Record Set Destination and manipulate with it in Control Flow - SQL Execute Task?

Not able to understand Transactionoption property in SSIS packages

$
0
0
Hi everyone,can any one tell me the exact difference between supported and not supported option in Transactionoption
property in SSIS and how it is actually getting used.

srm_2010

Cannot bulk load because the file "C:\NYCTaxiData\trip_data" could not be opened

$
0
0

1) I have 12 CSV about NYC Taxi data in the C:\NYCTaxiData\trip_data.

2) I have created trip_data table to Azure SQL.

3) I have added Bulk Insert to SSIS. (login with local admin) It should connect to trip_data folder.

4) When I execute SSIS I get following error.

5) I try to also do execute directly in  SQL Studio, but error is same. (login with sql user)

BULK INSERT SiiliDemoSQLDB.dbo.trip_data  
   FROM 'C:\NYCTaxiData\trip_data'  
   WITH  
     (  
        FIELDTERMINATOR ='Tab',  
        ROWTERMINATOR = ':\n'
      ); 

Question:Why error occurs? How to solve

Error: 0xC002F304 at Bulk Insert Task Trip_data, Bulk Insert Task: An error occurred with the following error message: "Cannot bulk load because the file "C:\NYCTaxiData\trip_data" could not be opened. Operating system error code (null).".
Task failed: Bulk Insert Task Trip_data


Kenny_I


FST Task (copy,move,rename) timeout/fails XML file to corporate IP \\....\ how to shrink xml without zip or winscp but result only 1 string

$
0
0

Good day,

File system task timeouts/fails when copy,move,rename 30mb XML file over corporate tunnel IP \\..\

Its a 30mb file and the corporate line is up as I can see the windows explorer and after 5min the file copies but not fully and ssis error unexpected network error

The corporate system checks every 30sec for any file and grabs the file off that IP Path, this error only occurs on Server but not my local PC (after 7min it copies) server it copies then fails as it completes

I am thinking due the Corp system grabbing the file while its not completed copy or something.

1. how to make the copy not timeout to make the file not ready to be grabbed when still in process of copying/avoid locking?

2. Is there other options to move/rename/copy the file to corp network IP seamlessly?

3. If I used WINSCP I cant use the oncomplete on failure events & theirs no credentials to this IP, as its corporate network we use \\..IP.\

3. How could I shrink the xml file (decrease size) not using zip as I would have locking issues when trying to unzip over network?

4. I also thought if file is 10,000 records to split the file into separate files of 500 records to get files smaller, but how would I do that, would I have to do a count on my output and split every 500 rows but I have an xml string via execute sql task how would I split as I return only 1 record being the XML string

Please help, the project was working on my PC but slower and now I need to go Live getting this issues, Any ideas please

Transaction not working!

$
0
0

Hello,

I am trying to implement begin-commit transaction in an ssis package so that if the package fails, the transaction rolls back. However, I stumbled upon this link (https://social.msdn.microsoft.com/Forums/sqlserver/en-US/c2216cd5-fcbb-4d07-b360-593ff44c3cf3/data-flow-tasks-deadlocking-each-other?forum=sqlintegrationservices) but after implementing it on my package, the package runs but no data gets inserted. What I am doing it:

  1. Get max date from stage
  2. Get max date from source
  3. Sequence Container: runs multiple Data Flow tasks, which each have a couple of tables that replicate date from source to (DF1, DF2 DF3 to ) stage and (DF4, DF5, DF6 to) dest databases. 
  4. The "insert" DF task has to be inserted after all the DF task in the Sequence Container are done. 
  5. The "insert date to stage" gets date from source to stage so that when the package runs again, it has a new max date to start from.
  6. After all successfully complete, I want the transactions to be committed but nothing happens when I execute the package. It is successful but no data gets inserted. 

However, the package runs successfully without the begin/commit transactions.

Any advice/comment where I am doing it wrong? 

Thanks


IN~


Incorrect Metadata from OLEDB source

$
0
0

In the OLEDB source following query is used ,

SELECT 
              CAST(LTRIM(RTRIM(RIGHT(('00000000'+CLIENT),8))) as varchar(8)) as client
FROM XX

In the DB, the length of the column is decimal(8,0) , am transforming it to a varchar by left padding zeros.

But the metadata of this transformed field is getting changed to 41 length.

Because of which I am getting truncation warning when connecting to OLEDB destination.

Can you please help with the reason


Reusable Flat File Connection

$
0
0

Hi,

  I have close to 50 Data flows in a package which extracts from OLEDB to Flat File connection.

Each time I am a creating a new Flat File connection. And the connection manager has 50 Flat File connections. 

Is there any way I can use single Flat file connection and re-use it for each dataflow. But structure of each flat file and their name is different .

How to Capture Output Error

$
0
0

Good day,

I have tasks failing and i have OnError events that notofies me the task & time of failure but i would like to display the Output Error in the email but im not sure how and where to get the below values:

Output:

Information: 0x40043009 at Feed Oracle, SSIS.Pipeline: Cleanup phase is beginning.

Error: 0xC002F304 at FST Move, File System Task: An error occurred with the following error message: "The network path was not found"

Firstly to get the message from Output 'Error: 0xC002F304 at FST Move, File System Task: An error occurred with the following error message: "The network path was not found"'

If possible only the real error between double quotes "The network path was not found"

so that i have final output of: 'Error FST Move, File System Task: The network path was not found'

Please Help

Generating automatically SSISDB reports

$
0
0

Hi there, something like that:

how can I schedule some job for get this info?

Ideally from a SSIS package on a weely basis create a .XLS doc with this info and send to stakeholders

Thanks a lot,

Enric

CDC on replicated tables

$
0
0

Hi, 

We have operational database A. Database B is replication subscriber of A. Our existing SSIS packages use tables on B as data source and we do full loading by using full join between current B and yesterday B snapshot and then identity insert/update/delete. 

As full join compare have very bad performance. I am going to use SQL CDC to get Delta rather than full comparision. 

A few questions here: 

1. We have existing load already, we do not need initial loading. Can we skip initial load data flow and only mark Initial load start and End? 

2. Some time replicate table needs to reinitialize and after reinitialize replicated table is dropped and create again. Due to this reason, CDC on this table is disappeared and should be re-enabled as well. How to handle CDC for this issue? What about data missing between replication reinitialize  and re-enable CDC. How to setup CDC tasks in SSIS to handle this situation? 


Sea Cloud

Error while executing SSIS package

$
0
0

Hi All,

Anyone can help on the below, as we are facing currently for the last few days with below errors.  No changes made to SSIS package, but some reason it is coming below error.

Started:  10:06:37 PM  Error: 2018-08-14 22:06:56.69     Code: 0xC0049064    

 Source: Data Flow Task Derived Column [1000]     Description: An error occurred while attempting to perform a type cast.  End Error  Error: 2018-08-14 22:06:56.69     Code: 0xC0209029    

 Source: Data Flow Task Derived Column [1000]     Description: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR.  The "component "Derived Column" (1000)" failed because error code 0xC0049064 occurred, and the error row disposition on "output column "END_CORE_MINS_7" (13535)" specifies failure on error. An error occurred on the specified object of the specified component.  There may be error messages posted before this with more information about the failure.  End Error  Error: 2018-08-14 22:06:56.70     Code: 0xC0047022    

 Source: Data Flow Task SSIS.Pipeline     Description: SSIS Error Code DTS_E_PROCESSINPUTFAILED.  The ProcessInput method on component "Derived Column" (1000) failed with error code 0xC0209029 while processing input "Derived Column Input" (1001). The identified component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running.  There may be error messages posted before this with more information about the failure.  End Error  Error: 2018-08-14 22:06:56.75     Code: 0xC02020C4    

 Source: Data Flow Task OLE DB Source [1]     Description: The attempt to add a row to the Data Flow task buffer failed with error code 0xC0047020.  End Error  Error: 2018-08-14 22:06:56.75     Code: 0xC0047038    

 Source: Data Flow Task SSIS.Pipeline     Description: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED.  The PrimeOutput method on component "OLE DB Source" (1) returned error code 0xC02020C4.  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:  10:06:37 PM  Finished: 10:06:57 PM  Elapsed:  19.375 seconds.  The package execution failed.  The step failed.

Viewing all 24688 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>