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

How to search SSIS in MSSQL2014

$
0
0

Team, is there a easy way or a tool for search SSIS for text. For example, we like to know what package(s) updates a particular column. We are finding SSIS though powerful, is like a black box, unless you have perfect memory or infinite time to step thru each package and tasks within, it is impossible to find things. Please help me. How to seach SSIS, please !  Thank you,


Oracle Client DataProvider VS Oracle Provider for OLEDB.

$
0
0

Hi,

Iam creating SSIS package in VS2013 to retrieve data from Oracle 10G (64bit) and save into SQLServer2014 (64bit).

When I tried to create a source connection for Oracle, I found the below options.

1. New ADO.NET Connection --> .NET Providers \ Oracle Client DataProvider

2. Oracle Provider for OLEDB

3. Microsoft OLEDB Provider for Oracle

What are the differences between these ? Which one to choose ? Can any one help ?

Thanks


unable to allocate memory for heap node

$
0
0

Hello,

I am loading data in fact table. I am using some lookups other lookups work fine except one. When i checked for the
Error, i got error in pre execution. Unable to allocate memory for heap node. But i have 128gb RAM and 1 TB of physical memory with sql server 2016 enterprise edition hosted on windows server 2012 r2 standard.
What should i do in this case?

Thanks.

Excel Connection Manager Issue

$
0
0

Morning,

Background:  I have a very simple job that imports data from 3 xlsx files to 3 sql tables using ssis (VS 2013). I am on a large corporate network, so my scheduling capabilities are slim. I have been using an excel scheduler for 3 years with no real issues to speak of. The scheduler uses a batch file to fire off and kill various projects. The times do not overlap.

Issue:  That said, I have been having a really strange issue. On the above mentioned job, it runs fine when opening VS and running manually (99% of the time). When the scheduler fires off the job with the batch file, it OPENS all of the excel connections (the actual FILES open with a read write prompt) when it gets to that part of the ETL process!

Final Word:  Now this could just be me, but I feel like I see it happening on the other packages where an excel connection manager exists (there are only 2 others out of 15).

Has anyone ever seen this behavior? I am at a complete loss and its killing my vibe! :)


Cannot open a file after creating in C# script task

$
0
0

Hi,

I am creating an empty text file with a script task and it is working fine.

with the following code:

  String badDataFullPath = Dts.Variables["User::bad_data_full_path"].Value.ToString();
 System.IO.File.Create(badDataFullPath);

Dts.TaskResult = (int)ScriptResults.Success;

But later on during the task flow execution I am trying to open the file with a flat file connection to write into it and I am getting an error:

"Cannot open the file because it is being used by another process"

The question is - Do I need to close or write any other code after creating the file in the script in order to avoid the problem ?

Dani

using mssms connection to ssis services "Access Is Denied"

$
0
0

hi friends

my mssms client and ssis services  are SQL 2012 version

But my client and the server is not the same domain, On the server has a "ssis984" local account, on the client also has a smae local account, when using "ssis984" account to connect to the server , prompt "Account Is Denied",

When I use another client of the same domain, using a "ssis984" domain acccount for connection to the server, and the ability to connect success.

dcomcnfg.exe permissions I had been configured.

It is a reason of a domain? I should how to solve????????

Thanks!

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

resolved!

Added to the "Distributed COM Users" group


Scandic letter not imported correctly to SQL Server when collation is sql_scandinavian_cp850_ci_as

$
0
0

I have SQL Server 2014 with collation sql_scandinavian_cp850_ci_as.

I have CSV file and importing data to table. Problem is that scandinavian special letter looks very wear. "ö" letter looks  as "÷"

What could be wrong? I have tested changed locale of Connection Manage to English and local Scandination languates. Not effect.


Kenny_I

OLE DB Source is missing rows randomly in a Oracle data source

$
0
0

Hi Guys,

We are suffering a very, very strange issue regarding the rows extracted by a OLE DB Source component from an Oracle DB in a Data flow task. 

For a very long time (years) a given package designed to extract rows from a Oracle database has been working without problems. SSIS package is executed in 64-bits mode and contains a data flow task which includes a OLE DB source component. The connection manager is based on Native OLED DB\Oracle provider for OLE DB.

As said, the component (and package itself) as worked fine for years without any issue. But since a couple of weeks ago we have started to notice that without triggering any kind of error alert (we haven't found any error/warning message) the OLE DB Source is missing large numbers of rows from the source (10000 vs 200000). Problems seems to be fixed after restarting the SSIS server but problem arises again after several days despite that during all the period the source table remain with no changes (always contains same number of rows)

Attched screesnshot [IMG]http://i63.tinypic.com/ftnb6d.jpg[/IMG] shows audits results across several days. Day 1 all rows are loaded. Days 2 and 3 many rows are missed with no reason. 

We are completely lost about what is the root causes of these missing rows. Certainly, issue seems to be related with the OLE DB Source component and Oracle combination but it has been working for ages without any change

This is the technical scenario (I can provide more details if needed)

Source: Oracle 12c database

SQL Server Integration Services 2014

Visual Studio 2013

Any clue or help would be galdly welcome!

Thx



User variables in Derived Column expression

$
0
0

Hi there,

How can I put 2 value in the following line by using an User Variable?

(DT_STR,2,1252)REPLICATE(" ",1 - LEN((DT_STR,2,1252)[Copy of NETWORK_LEVEL])) + (DT_STR,2,1252)[Copy of NETWORK_LEVEL]

Thanks for your time,

SSIS Designer is Solid White

$
0
0

I've been creating many SSIS packages lately using VS2013 Ultimate w/ Update 4.  On several occasions, I have built packages and have them working then come back later and re-open the package in the designer and all I get is a solid white designer.  The first times this happened it was because I had eliminated one of the tables that it sourced from.  I was able to pick through the XML and remove it then it opened again where I could make the needed changes.  However, I now have two packages with the same problem and no idea why they will not open.  Even if the source was changed or removed, I would still expect to be able to open the package and be warned that something has changed and be given an opportunity to correct it.  The only fix I have now is to start over on these packages.  That represents many hours of work.  I'm really starting to doubt that SSIS is the best tool for the job.  If anyone has a solution that will let me view the designer again, you'll be my hero.

Thanks!

Ian


Ian

SQL Server 2016 OData Source Component doesn't work in multithreaded scenario

$
0
0

We have an SSIS project which executes multiple packages at a time through a main orchestration package.  Up to eight packages can be triggered at once and we are separating our data flow tasks into individual packages which are triggered through a control framework via this orchestration.  In SQL Server 2014 with the OData component available on Microsoft's website this all worked well.  We are connecting to an O365 sharepoint site.

After moving to SQL Server 2016, we found that executing one package containing an OData source, which is now a standard source component in SSIS w/ 2016 - that went well.  We could put multiple dataflows sourcing OData from sharepoint into the same package and that worked OK too.  When we use the "Execute package task" from a separate package to execute two single dataflow OData transfer tasks at once, the entire solution hangs on validation - making it to 50% on the data flow task and reporting no other information and never hard-failing, it just hangs.

If anyone has experience with this OData component in 2016 under a multithreaded scenario, I'd appreciate some help.  We have tried multiple environments (Windows 10, Windows Server 2012 R2, new environment, old environments) and the results are the same.

OLEDB Command how to get the value of OUTPUT Clause of Insert Statement

$
0
0

Hi,

I have 2 tables, the Identity column in Table1 is foreign key in Table2. I need the parent table identity column value to insert the records into child table.So iam using OLEDB command in the SSIS Data flow task to insert the record to parent table after insert i would like to get the identity column value for that inserted column. I found that using OUTPUT Clause of the Insert statement we can get the identity column value. I am not able to figure it out how to get the column value and store in a variable since i need it down the line. Can any one help me in these regard.

 

OLEDB command:

insert into Table1(col2,col3,col4) output inserted.col1 values(?,?,?)

col1 is identity column

in the column mapping iam able to set the values for the inputs. Now how can i get the col1 to a variable.Or is there any other method to work out.

Any help?

 

Thanks


latha

SAP BW connector

$
0
0

Hi

never get success using SAP BW connector .  

RSB_API_OHS_3RDPARTY_NOTIFY not find 

Try to upload the pic  but 

  • Body text cannot contain images or links until we are able to verify your account.

SAP  side keep  said that  have a problem in my SSIS package. However the package is only content  data source(SAP BW) and data destination (SQL server)

Is any  people  have this problem   before , and any answer

Thank-you 

SSIS how to import lists of .csv file name and files and .csv by using import column

$
0
0

I have created a foreach loop that creates all of the unique invoices into a folder. Within the for each loop, I have created a list of all of the invoices to a variable called invoice results. For each loop through invoice results and outputs a list of .csv files into a folder. I will then need to then import the file name of the .csv and the actual .csv into a table.  It was recommended that I use a import column, but I will need to grab all of the files within the folder.

Any help will be appreciated.

bulk insert runs out of room

$
0
0

Hi we run 2012 enterprise. When I look at the properties of my db there are 19,000 + mb available in space.  There are 4 logical names under the "files" property, 3 of them being file types of "rows data", one being "log".  Two of the "rows data" entries have an extension of .ndf, initial size 21000 mb.  The mdf entry has an initial size of 512 mb.  All autogrowth/maxsizes are "None".  Under filegroups I see a primary and a data entry under Name.  The Files column in filegroups shows 1 and 2 respectively.  The only check mark I see is in the default column where Name is "data". 

When I try to bulk (fast)  load my 20 million records that average approx 110 bytes a row I get the error you see below. My last "desperate" settings are 0 commit size and keep identity.  There is an integer pk.  I believe I got the same error with a commit size of 2147483647 and not checking keep identity.  The oledb source turns green when I debug with the 0 commit size and keep identity.

Can someone tell me why the error is happening when it appears there is ample space?

[OLE DB Destination [2297]] Error: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005.
An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 10.0"  Hresult: 0x80004005  Description: "Could not allocate space for object 'dbo.xxx'.'pk_yyy' in database 'zzz' because the 'PRIMARY' filegroup is full. Create disk space by deleting unneeded files, dropping objects in the filegroup, adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup.".

[SSIS.Pipeline] Error: SSIS Error Code DTS_E_PROCESSINPUTFAILED.  The ProcessInput method on component "OLE DB Destination" (2297) failed with error code 0xC0202009 while processing input "OLE DB Destination Input" (2310). 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.


Collection was modified enumeration operation may not execute

$
0
0

Hello, we are getting the following error while trying to create/update a record in CRM from SSIS package. We used Kingsway soft SSIS integration toolkit for Microsoft Dynamics CRM to connect to CRM. Please help us to resolve this problem.

"KingswaySoft.IntegrationToolkit.DynamicsCrm.CrmServiceException: CRM service call returned an error: Collection was modified; enumeration operation may not execute".


Best Way to Automate Run of SSIS Package

$
0
0

I have an SSIS package built in VS 2013 with SSDT that runs fine when launched within VS against Sql Server 2008. We have tried running it from the command line and are getting the following error:
   Code: 0xC0011007
   Source: {4029292E-1829-452A-AFC1-84615740499B}
   Description: Unable to load the package as XML because of package does not ha
ve a valid XML format. A specific XML parser error will be posted.
End Error
Error: 2016-09-19 10:07:00.55
   Code: 0xC0011002
   Source: {4029292E-1829-452A-AFC1-84615740499B}
   Description: Failed to open package file "project.dtsx" due to error 0x800C00
06 "The system cannot locate the object specified.".  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 LoadP
ackage or the specified XML file has an incorrect format.
End Error
Could not load package "project.dtsx" because of error 0xC0011002.
Description: Failed to open package file "project.dtsx" due to error 0x800C0006
"The system cannot locate the object specified.".  This occurs when loading a pa
ckage and the file cannot be opened or loaded correctly into the XML document. T
his can be the result of specifying an incorrect file name when calling LoadPack
age or the specified XML file has an incorrect format.

The long term goal is to automate the running of the package but since we can't even get it to run outside of VS I'm not sure what we are missing in our environment.

ODBC Destination/Source Issue in VS 2010/2012 for Snowflake ODBC

$
0
0

Hello all, I am working on a SSIS package that will pull data from SQL server then load it into our DW (Snowflake). I have installed the ODBC driver for windows and I can connect the snowflake just fine. I have also setup a connection in connection manager and I can connect to snowflake there too. The problem is when I create an ODBC destination I can see all the table but once I select the table it just crashes VM. It seems to be the same problem when I create an ODBC source connection too for snowflake. 

I have tested other ODBC connection to a mysql server and that works just fine so I am at a lose as to what is the problem. 

Split text into 4 characters each

$
0
0

Hi, I have a requirement that requires a long string to be split into 4 characters each. Any idea how i can achieve this?

Basically the high level description of the problem is..

Source File:

S/NoValue

1112233445566

212345678901234567890

311123223344456780001112

I would want to split the value column by 4 characters:

S/NoValue1 Value2Value3 Value4Value5 Value6

1112233445566

212345678 901234567890

3111222333444567800011112

Problem now also that the longest i have is about 10,000 text letters and i will need to split them as well. There is not separator within the value column. Therefore, the number of "Value" columns can shoot up depending on the length of the text.

Anybody has any idea please? 

Thank you.



I am trying to import a Tab-delimited Text file with multiple tabs in a single column using SSIS package to sql server database. Basically the data is bleeding over to the next columns. Transformations to clean the format and load to SQL Table?

$
0
0

So for example i have columns:

IDName AddressCity StateZip-codeEmailPhone Number

1abc zzzzzvgse MN85241 wsget@abc.com5214632854

2sge zzzzvgse MN85241 sge@sge.com4569872314

So, this is an example of the bad data rows that have multiple tabs in a single column. In Row 1 you have 3 tabs between the zip-code and Email and in row 2 you have 2 tabs in between ID and Name, 3 tabs in between zip-code and email. As a result, data is bleeding over to the column next to it and causing data_type errors. There should be a way to clean the format of the tab-delimited text file. thank you.

Viewing all 24688 articles
Browse latest View live


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