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

Licensing Cost when Connect and Pull Data from SAP HANA using SSIS

$
0
0

Hi All, 

I know this isn't the perfect forum for this question. I'm trying to connect to the SAP HANA database and pull the data out using SSIS. I noticed there is an answer mentioned in forum, which can be achieved using ODBC connector for HANA. SSIS Connectors for SAP HANA and MaxDB

I'm new to SAP HANA, May I know, is there any licensing cost involve to read data out from HANA? If the answer is yes, then roughly how much cost? and what are the cost effective alternatives? 

Thank you!.

Regards,

Nisal 



Downgrade SQL Server 2012 Edition (Ent to Std) with SSIS on same Server

$
0
0

We got SQL Server 2012 with SSIS running on Enterprise Edition and need to downgrade it to Standard Edition. We need to uninstall SQL Ent and re-install Standard Edition.

I am looking for instruction around backup, restore and post-testing of SSIS part.

The document "Backup, Restore, and Move the SSIS Catalog" has instruction but not sure if I need to follow exact same instructions for SQL 2012 ? 

I found another article where the guy the mentioned the easiest way is

  1. Back up the SSIS Database on Old Server
  2. Create an SSIS catalog on the new server.
  3. Restore the SSIS catalog database from the old server over the newly created catalog.
  4. Restore the original password use to create the catalog on the old server.

Can anyone provide any feedback or any step-by-step instructions for SSIS.

Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSObject100'.

$
0
0

Hi,

Recently my client had to make changes to their firewall.  I have a SSIS package that communicates with an outside source that has worked without issues prior to this.  I am now getting the following error message.  Does anyone have any suggestions where to start to correct this issue?  Thanks

TITLE: Microsoft Visual Studio
------------------------------

Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSObject100'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{30E5D0EF-E33D-4945-8A7F-F5178FC64C24}' failed due to the following error: The application called an interface that was marshalled for a different thread. (Exception from HRESULT: 0x8001010E (RPC_E_WRONG_THREAD)).

how to capture file processed start date time and end date time

$
0
0

I have  multiple text files while I'm processing the file to OLEDB destination. I want to capture File Processing Starting time and End Processing time . For example FOR EACH  LOOP Container if the file1 have 1000 records when file started to load first record i want to capture that time and loaded 1000 records that End time and again same for file2,file 3.I have two variables

USER::Started_Time andUSER::End_Time

I have used script task

Dts.variables["USER::Started_Time"].values.Datetime.Now()
Dts.variables["USER::End_Time"].values.Datetime.Now()

Here I'm getting date time for Started_Time variable and date time for End_Time variable . But I'm not sure whether it is correctly capturing the time. I have tried System::CreateDate variable but not getting exact result. Any suggestions...

Find out the number of delimiters

$
0
0

Hi All,

 The field 'codes' is multi valued, according to how many values there are I need to replicate the tariff, 


Example if codes = "HFD|SW|HD"

Then:

tariffs= “15|15|15”

if = '' HGF|SW''

Then:

tariffs= “10|10”

Use 2014 SQL server version. 



How to Change Connection Manager at Runtime Dynamically

$
0
0

I am developing a ETL project using oracle. I am using both attunity connector and oracle connector. Recently I got a requirement to load data in 2 different oracle database environments with same ETL project.  

I have project.params file for TNS, Username and Pwd for oracle connections...

How can I change this during runtime?  Is there a way I can dynamically change the connection string?

Invoking Child Package from SSIS C# Script Task

$
0
0
I am able to invoke a child package in my project via C# code in the script task of a parent package. I am also able to assign a variable in the child package a value prior to execution. My main issue, however, is that I am only able to reference this child package using an absolute file path to the child package's .dtsx file residing on my local machine housing the folder for my Visual Studio solution. When I deploy this to my production SSIS catalog in SQL Server, I have no idea how to make this work. I do not want to save the child dtsx package to the server's file system. I have tried to use the "LoadFromSqlServer" method from my Visual Studio solution locally, but I can't seem to get it to work. I have tried the countless examples I have found online. Is there not an easier way to do this in C#? I do not want to use an Execute Package Task because there is no way I have found to pass a variable to the child from the parent while invoking execution. I do not want to have to reference the parent from the child because that seems backwards to me. Any suggestions?

Derived column from string variable unicode problems

$
0
0
I have a variable as a string, ends up about 20 characters long.  then I have a derived column (add new) in my data flow to grab the value of that variable.  then ssis complained so I transformed it to a non-unicode value, dtstr, passing it out to a oledb destination, which is a sql table where the type is varchar(100).  it ends up in the destination table blank.  why? 

SSIS, SSISDB and SQL Server

$
0
0
Hello all,
thank you for reading this post. Could someone please tellme how  to get the SQL statements inside a Catalog Service package . The package is available in the SSISDB.
Many thanks
Pluto

Connecting to oracle 12c Database using Visual Studio 17 V 15.9.14 and SSDT 15.1.6106.03120

$
0
0

Dear SSIS community,

I am simply trying to extract data from a Oracle 12c database and load it into a SQL server Database. The Oracle database is on an external server and the SQL server instance is on a totally different server. I am trying to accomplish this using SSIS version 15.0.1301.433. What I want to do is create a package that utilizes the Attunity or oracle OLEDB connectors. Please provide me with what Oracle software I should install how to configure them and how to get SSIS to play nice with Oracle. I have read 20-30 different blogs, threads, documentation web pages and videos attempting to get this right but have been unsuccessful. I have to be missing something but I  don't know what I don't know could someone please break this process down for me.

Respectfully,

Thardwick- a lost SSIS developer

Microsoft SSIS Service failed to start. Error: Access is denied.

$
0
0

Hi,

I am having the above error and I am unable to start the sql server integration services on my machine. What am I doing that's wrong, I am using the network service as its account.

cannot find the TargetServerVersion in properties of SSIS Project

$
0
0
  1. I want to change the targetServerVersion of SSIS project but i am not able to find the option.
  2. In the solution explorer,  I Right clicked on the SSIS Project Node and clicked Properties and I selected Configuration Properties and I didn't find any option to change the Versions.
  3. can any one help on this?



XSD file source ssis 2010 - data at root level is invalid to SQL server table

$
0
0

I am trying to learn how to load an XML (XML source) into SSIS 2010 , the data will then go to an SQL Server 2012 Table.

The issue I am having, Is I am trying to follow a tutorial, and I am getting the same error:

The XML Source was unable to read the XML data. Data at the root level is invalid. Line 1, position 1.

This when downloading any of the tables - the one I have chosen is region.

The trail site is http://api.worldbank.org/countries

I have tried changing the top line

<?xml version="1.0" encoding="UTF-8"?>

with no success. Please help

Here is the beginning of the script - this is in an XSD file

<?xml version="1.0" encoding="UTF-8"?><xs:schemaxmlns:xs="http://www.w3.org/2001/XMLSchema">


SSIS load XML Invalid character in the given encoding

$
0
0

I'm using SQL Server 2014\SSIS.

I have a C# script task that loads XML data from a 3rd party XML file that has been working. Recently it has been failing stating:

Invalid character in the given encoding.Line201, position 169.

Using breakpoints, the following C# line is when the error is generated:

XMLDataset.ReadXml(XMLFileNameWithPath);

fyi - XMLFileNameWithPath is a local variable that I pass the XML filename to.

When I open the XML file in Notepadd++ and go to Line 201\position 169, it appears the character 'ñ' is the culprit.

The first line of the XML states it is in UTF 8:

<?xml version="1.0" encoding="UTF-8"?>

How do I get around this?


Maintenance task to rebuild index fails--seems to clash with CEIP task

$
0
0

Hiya

Where using SQL 2016 and it looks like the person who installed accepted the default and installed the CEIP services.

We have a bout 10 instances running on this server(box)

I've just started at the company and several of the instances have Maintenance plans setup for rebuilding the index of DBs and work fine.

I was asked to set up rebuild indexing tasks on some of the other instances, so copied the setting from the other instances.

The settings are as follows and the jobs are running under the SQL Server Agent service account.

The jobs I created for rebuilding indexes failed and I cannot find an error code in logs or in event viewer.

But I've noticed there are SQLISpackage130 events running all the time in event viewer which include indexing. When my jobs are set to run, the SQLISpackage130 jobs fail as well as mine as if the jobs are conflicting.

But why wouldn't this happen for the indexing tasks configured for the existing instances.

Also whats the best way to resolve?

Any Ideas would help?

 



Access denied Attaching database (mdf file)

$
0
0

Downloaded and restored backup of 'AdventureWorksDW2012', then tried to 'Attach' but get the following error:

TITLE: Microsoft SQL Server Management Studio
------------------------------
Failed to retrieve data for this request. (Microsoft.SqlServer.Management.Sdk.Sfc)
For help, click: https://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&LinkId=20476
------------------------------
ADDITIONAL INFORMATION:
An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)
------------------------------
CREATE FILE encountered operating system error 5(Access is denied.) while attempting to open or create the physical file 'C:\Program Files\Microsoft SQL Server\MSSQL14.SQLEXPRESS\MSSQL\DATA\AdventureWorksDW2012.mdf'. (Microsoft SQL Server, Error: 5123)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&ProdVer=14.00.2027&EvtSrc=MSSQLServer&EvtID=5123&LinkId=20476
------------------------------
BUTTONS:
OK
------------------------------
This is the folder that I copied the .bak file to:

C:\Program Files\Microsoft SQL Server\MSSQL14.SQLEXPRESS\MSSQL\Backup

Can't understand why?


TEH

Why can I only see OnError messages in the Catalog All Executions report?

$
0
0

Using SQL 2016 with projects deployed to the Catalog. We have many projects that work fine and one new one that doesn't catalog any messages except errors. The logging level on the server is set as Performance.

The package is run as a SQL Agent job step and the logging level set there is Performance.


Nick Ryan MIS Programmer Analyst, ANZ Bank

Upgrade projects from SSISDB Catalog (2012 ->2017)

$
0
0

How to upgrade Projects stored in SSISDB catalog ? 

Upgrade of Catalog doesnt upgrade the packages.

I still get messages " package format was migrated from version 6 to version 8".

Tried it while whole SQL Server was upgraded from 2012 to 2017. Also tried to restored backup from 2012 and manually running ISDBUpgradeWizardtool (C:\Program Files\Microsoft SQL Server\140\DTS\Binn\ISDBUpgradeWizard.exe).

There is Upgrade wizzard for packages but it only upgrades packages stored in package deployment model , stored either on File System or in MSDB. (SSISUpgrade.exe file from the C:\Program Files\Microsoft SQL Server\130\DTS\Binn) ..

So what is the way for upgrading all projects stored in SSIDB Catalog, except for getting it from GIT ( or whenever u keep your source code) and Upgrading all packages in SSDT ( Visual Studio) and redeploying those ??

Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSObject100'.

$
0
0

Hi,

Recently my client had to make changes to their firewall.  I have a SSIS package that communicates with an outside source that has worked without issues prior to this.  I am now getting the following error message.  Does anyone have any suggestions where to start to correct this issue?  Thanks

TITLE: Microsoft Visual Studio
------------------------------

Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSObject100'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{30E5D0EF-E33D-4945-8A7F-F5178FC64C24}' failed due to the following error: The application called an interface that was marshalled for a different thread. (Exception from HRESULT: 0x8001010E (RPC_E_WRONG_THREAD)).

merge join

$
0
0

Hallo experts,

Using merge join (inner join) I don't get the same results as tsql in management studio. The tables in Management Studio and Visual Studio are the same ones. 

Table A populate table B. For a next step, I need to match some columns from both tables (with the same data). But when I run the merge from 74 records it matchs only 3.

In Management Studio I do the inner joins and work perfectly, but in SSIS doesn't.

I already check the data-types of both tables, they are the same.

Is there a parameter that I need to set or a configuration in Visual Studio or something else?

Can somebody help me?!?!

Viewing all 24688 articles
Browse latest View live


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