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

How to append local variable to global variable in ssis?

$
0
0

Hi,

I have created global connection manager for my Packages and I have variable call filePath , file is on netwrok drive.

for example T:\\testConn\\testProject\\*.txt  is my full file path.

file path (T:\\testConn\\testProject\\) var is created under project.params

and file name is local variable.

How should I append both this values in all my packages(they are all independent packages) in SSIS?

Thank you.


chipsy


Is Visual Studio 2013 ulitmate version compatible with MS SQL version 2014?

$
0
0

Hi

What version of SQL Server are compatible with Visual Studio 2013 Ultimate edition?

Will MS SQL Server 2014 Enterprise Edition be compatible?

Thanks

Velma

To run a SSIS package outside of SQL Server Data Tools you must install Standard Edition of Integration Services or higher.

$
0
0

Hi,

May be this issue already raised on this forum but am facing following error. 

To run a SSIS package outside of SQL Server Data Tools you must install Standard Edition of Integration Services or higher.

As package build using Microsoft Visual Studio 2015 Shell (Integrated) and T-SQL job created for execution in SQL Server 2016. Following T-SQL command used in SQL Agent job for package execution.

D:\Program Files (x86)\Microsoft SQL Server\140\DTS\Binn\dtexec.exe /F D:\Packages\MyTest.dtsx /Conf D:\Config\Config.dtsconfig

Read on some threads advising to install Integration services on SQL Server but my colleagues packages built on same Visual Studio working fine.

Many Thanks,
Muhammad Yasir



Many Thanks, Muhammad Yasir

SSIS Pipeline: Perform upgrade method failed

$
0
0

While executing SSIS Package from Visual studio data tools 2010 (MS SQL 2012) getting below error

[SSIS.Pipeline] Error: The component metadata for "ABC Domain, 
clsid {874F7595-FB5F-40FF-96AF-FBFF8250E3EF}" could not be upgraded to the newer version of the component. 
The PerformUpgrade method failed.

Let me know if anyone can help to fix this issue.

Thanks,

Sriram

Minimum permission to execute a SSIS package deployed in the SSIS catalog - SSIS 2014

$
0
0

Hi,

I've implemented a SSIS 2014 project and deployed it into the SSIS catalog. I need to allow another person to run a package, but I'd like to assign him the minimum permission to do it.

Any suggests to me, please?

Thanks

CDC Implementation using Flat File

$
0
0

Hi,

Is there a way to implement CDC by using flat file as source?

Thank you,

Dimitris

Simplest possible configuration to read Oracle 11g data

$
0
0

My development machine runs Windows 7 64-bit, with Visual Studio 2017 Community Edition, v 15.9.3, and with SSDT for Visual Studio 2017 (15.8.2). My SQL Server box runs Windows Server 2012 R2 Standard, with SQL Server 2012 SP 4 (build 11.0.7001.0). I use SQL Server Management Studio v 17.4 on my Windows 7 development machine.

I have Oracle's SQL Developer installed and working fine: I can write and execute queries. Now I need to create an SSIS package that does the same thing: execute a SELECT query on Oracle, then load it into a SQL Server table. There are hundreds of different drivers and tools on the Oracle and Microsoft sites, but so far none of them work -- where "work" means "allow me to execute the package in Visual Studio and also deploy and execute the SSIS package on SQL Server." I get myriads of different error messages, depending on which drivers I try. I have no problem with the SQL Server connection, of course -- only the Oracle connection.

My hope is that there is a driver I can install on my development machine using nothing but (the appropriate bitness of) regsvr32 and a corresponding driver I can install on my SQL Server box using nothing but Regsvr32. I don't want hundreds of java files, development tools, setup.exe's that stuff thousands of entries in my registry. I just want to register a single dll (or maybe two if you tell me I need both 32 and 64 bit drivers). After registering the DLL, I need it to appear in the drop-down list of providers at the top of the Connection Manager window in Visual Studio (the one that shows various .Net Provders and .Net Providers for OleDb.

Surely thousands of people have figured out how to do this -- but days of Googling inevitably lead down the path of "install the Oracle Instant Client" or "use the Oracle Universal Installer" or some such -- and these are like throwing a fragmentation grenade into the registry -- and still don't work (see my above definition of "work").

Any suggestions?


Leigh Webber


SSIS Packacge not loading data when ran from SQL Server Job

$
0
0

Hi Guys,

I have an issue that I am yet to understand. I have an SSIS package that loads data from cdc.fn_cdc_get_net_changes function using OLE DB Source.

The last time I ran the package was 2 months ago and it worked fine.

Funny though, I tried running it today and I noticed some wierd behavior:

The package runs and loads data to the target table if I run it from Visual Studio, but once I deploy the package to SSISDB and try running it from SQL Server Agent Job, the package runs successfully but then no data is loaded to the target table when even the cdc function query is returning data when I run the same query using SSMS. Any idea why I am having this?

Thanks 


me


Execution window with half lines

$
0
0

I'm using Visual Studio 2017 Community 15.9.3 with BI tools installed.  When I execute SSIS packages the execution window is very hard to read as the lines overlap.  I've taken a screenshot where you see the effect.  Any ideas how I can solve it?







Installed Attunity but SSIS does not see Attunity drivers

$
0
0

Hi,

I'm trying to open up a SSIS package but getting this error message "The connection type "MSORA" specified for the connection manager is not recognized as a valid connection manager type.

I have Visual Studio 2015 EE and using SSIS 2014.  I've installed Attunity drivers 3.0 and 4.0, as well as, installed Oracle drivers (Oracle Developer Tools for VS 2015 and Oracle SQL Developer).  I've installed both 32 and 64 bit drivers for both Attunity and Oracle.  What else needs to be installed?  From everything I've googled it seems that I have all the required drivers. Why do I still get this error message?

DTS.Events.FireInformation, Fire* commands

$
0
0

Hi,

I understand that DTS.Events.Fire* commands are used for logging purposes. I would like to know where exactly this information gets into when it logs the text given in the command.

Regards,


Phani Note: Please vote/mark the post as answered if it answers your question/helps to solve your problem.

Script task to generate dynamic tables from flat files for any type delimiters

$
0
0

Hi Friends, I need a script task in ssis which should find type of delimiter used in flat file source and based on that dynamic table has to be created on the flat files column names, Please help me out.

E,g:

File 1:

Name|EmpId|Salary

Angelina|PD500|500

File 2:

Name,EmpId,Salary

Anna,PD700,700

Thank You

Adding CRLF for an header of a flat file to create - SSIS 2016

$
0
0

Hi,

for a SSIS 2016 package, in order to produce a txt file with one header row, some body rows and one footer row, I'd like to put a carriage return + line feed inside the header of the flat file destination that writes the footer row.

I've executed some proofs but without any results.

Any suggests to me, please? Thanks

Flat File Source truncates Data

$
0
0

Hey,

I am trying to read a flat file of 17,2 MB data and write it into a SQL table as a XML file. The flat file source is a .nbits file and i read the whole file as one row with data type DT_TEXT. I try to transform the source data to unicode and write it into the SQL table as xml data type. The last step fails reporting following description: "XML parsing: line 147914, character 30, unexpected end of input."

While debugging i tried to read the flat file source and write it directly back into another file, resulting that the written file has only 8 MB instead of the expected 17,2 MB.

Why does the data gets truncated?


The encrypted data in the project manifest failed to load

$
0
0

Hi all,

So, we have a solution developed in visual studio 2012. Our goal is to move everything to Azure SQL Data Warehouse.

What I noticed:

-Visual Studio 2012 integration services (SSDT,...) does not support Azure Active Directory Authentication, so I need to use a newer version which myself I prefer 2017. Can someone please confirm that this is not supported in 2012?

--> 

I managed to open the solution maintained in TFS in Visual Studio 2017. However, the solution contains 7 seperate solutions (folders) for each environment that we have, all with the same password. When I try to run one of the packages, it complains about 

"The encrypted data in the project manifest failed to load". This is because the solution only prompts me for the password once, then continues to open the solution but gives me warnings about all the other solutions. Is there any way to solve this? I read that this is a bug in Visual Studio 2017 but I cannot find much information about this.

Thanks in advance!


The AcquireConnection method call to the connection manager "Excel Connection Manager" failed with error code 0xC0202009

$
0
0

I have deployed my packages into Sql Server and I am using Configuration File. As my Data Source is Excel, I have changed the connection string during deployment with Server Path. But I am getting the following errors. Actually the File Exist in Path. May I know What is cause of the issue? Do I need to give any permission to execute the package.

 

SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.  The AcquireConnection method call to the connection manager "Excel Connection Manager" failed with error code 0xC0202009.  There may be error messages posted before this with more information on why the AcquireConnection method call failed. 

 

component "Excel Source Service Contract Upload" (1) failed validation and returned error code 0xC020801C. 

One or more component failed validation. 

 

There were errors during task validation. 

DTS_E_OLEDBERROR, Error Code: 0x80004005 Source: "MS JET DB Engine" Description : Path is not valid


 

Database Project - SQL Script Execution

$
0
0
I am facing some issue while executing scripts via CI/CD. I have created Database Project in Visual Studio and add the simple script of update. In my script, i have update the name like this 'abc - 123'. but after executing it via CI/CD or through power shell file, name is appearing like this 'abc ? 123'. i.e '-'  is converting into ? , while executing the same script manually giving me the correct name. Can you please guide what should i use so i can get the - in result.

Database Project - SQL Script Execution

$
0
0
I am facing some issue while executing scripts via CI/CD. I have created Database Project in Visual Studio and add the simple script of update. In my script, i have update the name like this 'abc - 123'. but after executing it via CI/CD or through power shell file, name is appearing like this 'abc ? 123'. i.e '-'  is converting into ? , while executing the same script manually giving me the correct name. Can you please guide what should i use so i can get the - in result.

Masking data using SSIS

$
0
0

Masking data using SSIS

I have a table Employee and Employee_Mask and need to mask the Employee table by refering the Employee_Mask table.

Example :

source:

Employee

EmpID EmpName

1       AAA
2       BBB

Employee_Mask

EmpID EmpName
1      XXX
2      YYY


Output:

Employee
EmpID EmpName

1       XXX
2       YYY

Questions

1) This is sample records and have millions of records to mask which mean millions of records to update employee
table by referring employee_mask table.

2) what are the best ways to peform masking. I want to do it as bulk update in source table. Is Lookup tranformation will help in SSIs?

3) I dont have 2016 version so i cannot use new functions

4) what are the best ways to mask the data using SSIS ?

data-warehouse design the Organization dimension

$
0
0

I have to create a dimensional data model for my company across various departments.HR,Finance Recruitment etc . We have a Hierarchical dimension

SBU BU Sector Org

However we recently came to know that Finance is the only department which goes to Org level rest all other department just capture values till sector level or BU level.

Should I break this dimension into multiple parts or just keep it as one.

What would be the best way to handle this.

Company sturc (SBU->BU-> Sector)

Org

Attached the picture of conceptual model


Viewing all 24688 articles
Browse latest View live


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