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

DTSER FAILURE(1)

$
0
0

I get this error on a script task which executes File.Move on a production server but the same package works fine on a development machine.

Can anyone please advise what I can do? I have admin rights on both machines and I have assigned full control on the directory where the data source is store.





Dynamic folder to choose using SFTP

$
0
0

I am following the below approach to download files from a server using SFTP.

http://www.codeproject.com/Articles/845262/Using-WinSCP-and-SSIS-to-Download-files-from-SFTP

Its working fine for one scenario where my source folder name is like "/opt/var/fileint/pm/filename_YYYMMDD"

but in my other scenario i need to download files from multiple folders only common thing in these folders are the date.

 Eg.

TKKM1_0_data_2016-8-27-9-5-58_ImmdTask12

TKKMSC01_0_Userdata_2016-8-27-0-0-53_ImmdTask11

so how do i mention the folder name in the script. Below is the script I am using

Open sftp://username:password@hostname/ -hostkey=/"ssh-rsa XX:20:6e:6XX:e1:fe:5XX:37XX"
get /Export/nefile/ne_5/VLROutPut/TKKM*Data_*2016-8-27* E:\BI\INPUT_FILES\Daily\FTP

but my execute process task failed.

[Execute Process Task] Error: In Executing "C:\Program Files (x86)\WinSCP\winscp.exe" "-script=E:\BI\INPUT_FILES\IT\MAIN\Daily\EXE\VLR_Script.txt" at "E:\BI\INPUT_FILES\Daily\FTP", The process exit code was "1" while the expected was "0".


Sarvan

Import Multiple Excel Files of Different Format

$
0
0
Looking for suggestion on how to go about importing multiple distinctly different excel spreadsheets into separate tables. File names will be unique and wondered what options there are in SSIS to conditionally process files. Running SQL Server 2005 and BIDS 2005. What I would like to stay away from is 1 package for each file. Thanks.

SSIS 2014 deployment error

$
0
0

Hi, I am using SSIS 2014, I get system out of memory exception while deploying project to SQL Server. The work around I used was to use 32-bit deployment deployment wizard. Could you please explain what might have caused this and how to deploy from my SSDT environment.

There's nothing different than what I had since my last deploy.

Thank you in advance.


SQLEnthusiast

how to split the three category in one conditions using ssis

$
0
0

Hi,

i have created one table.

table name-tested. it contains no,name,value

idname platform
1aaaa NULL
2bbbb NULL
3cccc NULL
4digital NULL
5digital NULL
6digital NULL
7digital NULL
8digital NULL
9digital NULL
10digital NULL

i need to split three categories based on name column

if name='digital' split three category and update the platform value 

1. update platform=a if name='digital'

2. update platform=b if name='digital'

3. update platform=c if name='digital'

randomly update the values. totally 15 records in name='digital'

we have a category 5 records, b category 5 records and c category 5 records.

Regards,

Abdul 


Odd behaviour in a simple data flow

$
0
0

Data source Oracle as linked server (table G1)

Data Destination RAW File

I am at 750.000.000 rows and the package is still running

If I do select count(8) LinkedS..[LKI].[G1]

I retrieve only 650.000.000 rows..

How can the data flow keep going after 650.000.000 rows ?

Thanks

How to get Server Name from Config file

$
0
0

Hi All,

Can anyone help me out how to get the server name from config file , i need to set the server name from config file to a variable so that i can concatenate it to the destination file.

My config file will include connection string and Server name  properties. 

Thanks in advance

SSIS package failed after security patces

$
0
0

Hi,

 I have SSIS package which is pointing Oracle database and it starts failing after O/S security patches applied in server.The error says(: Oracle client and networking components were not found. These components are supplied by Oracle Corporation and are part of the Oracle Version 7.3.3 or later client software installation.    Provider is unable to function until these components are installed.".  ).

After investigation, we did not get any workaround and later roll back the security patches and SSIS package started working.Is tehre any solution for this without uninstalled patches.

Cheers,



Mapping Oracle datatype Varchar2 to SQL Server in SSIS

$
0
0

We are developing SSIS packages extracting data from Oracle to SQL Server. One of the datatype we have from Oracle is Varchar2. My understanding is that Varchar2 in Oracle holds both Unicode and Non-Unicode data, so the best match in SQL Server would be Nvarchar.

Oracle Varchar2 -> SQL Server Nvarchar

However, SSIS thinks these two data types are mismatch, so we decided to use CAST (to Nvarchar) on Oracle side. Most of time it works perfectly until we get a problem.

Here is what we are doing.

We get from Oracle Varchar2 (casted to Nvarchar) and compare with SQL Servers Nvarchar field. If it is not matching, we treat as a new record and store it in SQL Server. So the next run it shouldn’t create another record again. Unfortunately, for partial of our data, it always couldn’t match and creates new rows all the time. And yeah, partial of the data from the same table.

Wondering if any of you have this type of issue and could help me out greatly.

Appreciate your response.

Loyd

ssis 2012 configuration package wizard is hanging

$
0
0

Hi,

I am trying to edit the dtsconfig package xml file in SSIS 2012 VS envoirnemnt and the wizard is hanging up for minutes until I need to close VS.

Has anyone experienced this problem and what can be done to solve other than editing the XML file directly.


Attunity connector issue in VS2015

$
0
0
Hi All,


I have installed the Attunity connector (Microsoft Connectors v4.0 for Oracle and Teradata ) . I set a flat file source to oracle destination and tried to execute the container in VS2015 professional edition.

But I am getting the below error. Any help on this.

Exception deserializing the package "The package failed to load due to error 0xC0011008 "Error loading from XML. No further detailed error information can be specified for this problem because no Events object was passed where detailed error information can be stored.". This occurs when CPackage::LoadFromXML fails.
".

------------------------------
ADDITIONAL INFORMATION:

The package failed to load due to error 0xC0011008 "Error loading from XML. No further detailed error information can be specified for this problem because no Events object was passed where detailed error information can be stored.". This occurs when CPackage::LoadFromXML fails.
 (Dev Package2)

Running an SSIS 2008R2 Package from a 2012 SQL Server Job

$
0
0

I have an SSIS Package that was created in 2008R2. When I attempt to execute the package using the 2008R2 execute package utility, I receive no errors. When I try the same with the 2012 execute package utility, I receive these errors: 

Error: To run a SSIS package outside of SQL Server Data Tools you 
must install Derived Column of Integration Services or higher.

Error: To run a SSIS package outside of SQL Server Data Tools you 
must install Conditional Split of Integration Serivces or higher.

Error: To run a SSIS package outisde of SQL Server Data Tools you 
must install SSIS Log Provider For SQL Server of Integration Services 
or higher.

--****

When I attempt to run the package with a SQL Server 2012 Job, I receive this error: 

Executed as user: NT Service\SQLSERVERAGENT. Microsoft (R) SQL Server Execute Package Utility  Version 11.0.2100.60 for 32-bit  Copyright (C) Microsoft Corporation. All rights reserved.    Started:  10:20:56 AM  Error: 2016-08-31 10:20:56.22     Code: 0xC0011007     Source: {F21F6C0C-91E9-4444-B3C2-8BD4670D8953}      Description: Unable to load the package as XML because of package does not have a valid XML format. A specific XML parser error will be posted.  End Error  Error: 2016-08-31 10:20:56.22     Code: 0xC0011002     Source: {F21F6C0C-91E9-4444-B3C2-8BD4670D8953}      Description: Failed to open package file "C:\IHA\IHA_HOSPF105.dtsx" due to error 0x80070005 "Access is denied.".  This occurs when loading a package and the file cannot be opened or loaded correctly into the XML document. This can be the result of specifying an incorrect file name when calling LoadPackage or the specified XML file has an incorrect format.  End Error  Could not load package "C:\IHA\IHA_HOSPF105.dtsx" because of error 0xC0011002.  Description: Failed to open package file "C:\IHA\IHA_HOSPF105.dtsx" due to error 0x80070005"Access is denied.".  This occurs when loading a package and the file cannot be opened or loaded correctly into the XML document. This can be the result of specifying an incorrect file name when calling LoadPackage or the specified XML file has an incorrect format.  Source: {F21F6C0C-91E9-4444-B3C2-8BD4670D8953}  Started:  10:20:56 AM  Finished: 10:20:56 AM  Elapsed:  0.016 seconds.  The package could not be found.  The step failed.

Is it possible to configure the SQL Server Job to point to the 2008R2 execute package utility?  In the 'steps' section of the Job, is there a way that I can change the 'Command Line' to do this? 

Also, I noticed that the machine I am running the Jobs/packages from has the SQL Server Integration Services 10.0 service installed. I don't see version 11.0. If I had that, I would assume that this would also correct the problem. Is that the case?

Thank you for your help. 

SSIS 2016 and Hadoop

$
0
0

Hello, 

I was looking at the SSIS 2016 documentation noticed that we have some new features for Hadoop support like running Hive or Pig script in a Hadoop cluster. However those control flow tasks only allows me to run scripts. I am wondering if I could actually see Hadoop objects so that we could orchestrate/manipulate them.

Thanks   

Flat File Import issues

$
0
0

I have been working on this import for days and I just can't figure this out.  All I am trying to do is import a flat csv file into a new table using the default settings in the import tool and it just won't work!  I have tried it hundreds of different ways, including saving the package and opening it in BIDS. Sorry, I am new to SQL and SSIS...  Errors are below.

- Executing (Error)

Messages

Error 0xc02020a1: Data Flow Task 1: Data conversion failed. The data conversion for column "Column 2" returned status value 2 and status text "The value could not be converted because of a potential loss of data.".

 (SQL Server Import and Export Wizard)

 

Error 0xc0209029: Data Flow Task 1: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR.  The "output column "Column 2" (18)" failed because error code 0xC0209084 occurred, and the error row disposition on "output column "Column 2" (18)" 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.

 (SQL Server Import and Export Wizard)

 

Error 0xc0202092: Data Flow Task 1: An error occurred while processing file "C:\Users\Tony\Documents\HR\AP20110506TCH.csv" on data row 1.

 (SQL Server Import and Export Wizard)

 

Error 0xc0047038: Data Flow Task 1: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED.  The PrimeOutput method on component "Source - AP20110506TCH_csv" (1) returned error code 0xC0202092.  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.

 (SQL Server Import and Export Wizard)

 

 

 

 

Thanks!

SQL 2016 Tabular Model processing fails when running from Integration Services package

$
0
0

When I run a SSIS package to do a full processing of a SQL 2016 Tabular Model deployed on SQL 2016 with compatability set to 1200, it fails and gives me the following error:

"[Analysis Services Execute DDL Task] Error: This command cannot be executed on database 'TabularDatabaseName' because it has been defined with StorageEngineUsed set to TabularMetadata. For databases in this mode, you must use Tabular APIs to administer the database."

How do I change the StorageEngineUsed to the Tabular API's so that the I can process it correctly?

When manually processing this model within SSAS, it works 100% correctly.


SSIS Data Profiling Task ProfileInputXML Property issue

$
0
0

Currently using the ProfileInputXML property to load XML via the Expressions pane. This is all part of a For-Each Loop solution I have.

All ok so far with the results UNTIL I alter the XML to go from a single determinant column in the Functional Dependency and add an extra column to make it multi-determinant.

The profiler only returns a single determinant result in the XML even though it has captured that there is multi-determinant columns as part of the request:

I've run a Quick Profile set to multi-determinants and it returns multi columns in the XML results.

Hoping there is a simple fix to this.

Thanks.

P.

Continue the Sql Server job steps if particular one task is failed

$
0
0

Hi Floks,

I have one SSIS Package, that has lot of tasks are there in controlflow level, one task is frequently faile(assume XX task), the SQl server Integration is the First step, another 3 steps are T-sql queries, the failling task is not important to us, only if that XX task is fail job will continue to the second step, If the rest of the tasks fails job should stop.

Ca you please give me your comments will appreciate you.

Advance Thanks to your valuable time.

Talend TMap function in SSIS

$
0
0

Pretty simple ask is there a roadmap feature in SSIS for similar functionality as the TMap component in Talend.

The Tmap is a brilliant component, being able to hardset values for outputs, map in multiple sources drag and drop mappings (left join, inner join), and run expressions on the data between source and destination all within a single/simple interface.

Please it would be of high value for a similar functionality to be in the SSIS world.


Change Data Capture Requesting Username / Passwd after crashing

$
0
0

Hello, 

I am running a PoC for a compete against Oracle Golden Gate. Our solution is made up of SSIS and CDC. One of the tests we were running was to simulate a system crash and observe if the replication was resumed smoothly. However, we noticed that the CDC service was always asking for username / password to connect to Oracle before reconnecting/restarting.

Also, we noticed this this issue only happened when CDC was configured to run in a cluster. The standalone scenario was fine.

The following error message was captured :

20:42:57, "INFO", SXBTD0017CLD","RUNNING","INIT","ORACDC315I:Asymmetric key xdbcdc_asym_key was recreated for the database SWCAPT_CDC_DATA. The Oracle password in the table cdc.xdbcdc_config should be reentered. ","infrastructure","","""05/08/2016 20:42:57",ERROR", "SXBTD0017CLD","ERROR","PASSWORD-REQUIRED","ORACDC414E:The engine Initializer component failed with return code 13.","engine","","05/08/2016 20:42:57","INFO","SXBTD0017CLD","ERROR","STOP","ORACDC312I:The Oracle CDC instance for service OracleCDCService and database SWCAPT_CDC_DATA finished abnormaly.","service","",""  

Missing locale data in Windows Informix Client Tools SDK ODBC install?

$
0
0

Hi all

I'm attempting to use an ODBC connection from a Windows 2012R2 server  to an Informix server using the clientsdk.4.10.TC6DE.WIN install.

However, when I try to test my ODBC connection, I get the following error:

'Test connection was NOT successful.[Informix][Informix ODBC Driver][Informix]Unable to load locale categories.'

If the locale data was correctly installed, where should it be? I don't see a gls folder in my INFORMIXDIR.

setnet32 seems to have the correct locale values, and matches what is in the registry.

Does anyone have any ideas on how I might resolve this issue? Am I installing the correct driver? I'm using clientsdk.4.10.TC4DE.WIN on Windows Server 2008 machines without any problems.

I want to use the driver with SSIS so I'm installing the 32 bit version.

Thanks in advance.

Viewing all 24688 articles
Browse latest View live


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