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

OLEDB Deprecation and SSIS

$
0
0
Hi, 

Though this question has been asked numerous times before, I think I am one of the few people still who are still not 100% sure about what the deprecation of OLDDB means for SSIS/ SSAS,  

The deprecation was announced several years ago (more than 5?) and here we are with SSIS 2016 and there is still no support for non OLEDB connection managers for components like Lookups. SSAS Multidimensional still reads via OLE DB drivers. There are other OLEDB only implementations too. Is there any definitive guide for OLEDB deprecation and what it means for SSIS (and SSAS Multidimensional)?

I have trawled through numerous forum posts and links but can’t say for sure if the direction is clear. Switching to ODBC doesn’t seem like an option due to performance reasons. ADO .Net is faster but still isn’t quite as fast as OLEDB. 
Ofcourse we could start switching to something like ADO.Net for new development but this is still not what  Microsoft recommended as OLEDB had been deprecated in favour for ODBC and also the fact that data loading performance using ADO.Net / ODBC connection manager is still not at par with OLEDB 

Does anyone know what exactly is happening around it please? Any link or details published officially would be really helpful. 



Issue connecting to Oracle source using OLE DB source

$
0
0

Hello,

I am in need to use OLE DB Source to connect to oracle (I cannot use ADO.net and ORacle SOurce sources, because these not provide SQL Comand from variablke option).

I am able to view the records on preview while configuring OLEDB source and getting metadata columns as well.

However when I execute the package, I am receiving error as below. Hope thgis is not issue with the Oracle driver installed as I am able to connect to oracle.

[Connection manager "xxxxxx/xxxxx"] Error: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005.
An OLE DB record is available.  Source: "Microsoft OLE DB Provider for Oracle"  Hresult: 0x80004005  Description: "Error while trying to retrieve text for error ORA-01019
".

Can anyone help me to resolve this issue.

Br,

Shamsuddeen

Operating system error code 5(Access is denied.) when deploying ISPAC

$
0
0

I have a script that I have been using the deploy my ISPACs for some time.  I ran it in our development environment and it worked just fine.  When I tried to move the same package to staging I get the "Cannot bulk load because the file "\\myserver\SSIS\Reclass Reserve Values Import.ispac" could not be opened. Operating system error code 5(Access is denied.)."

I grabbed just this part of the query and ran it in both dev and staging: 

SELECT  *
FROM
        OPENROWSET(BULK '\\myserver\SSIS\Reclass Reserve Values Import.ispac', SINGLE_BLOB) BinaryData;

...in dev it works fine and in staging it does not work, so it is not the file path and the permissions on the file as both environment are hitting the same file and both are using my login.  

Here is the script I tried to run to see if the file can be acessed.  Works find on our development server.  When I switch my connection to staging it does not. 


I also tried using scripts that had run successfully on that server in the past and no longer do.  Kerberos?

Any ideas?

Thanks.

Lenka

Configure Microsoft OLEDB provider for Oracle.

$
0
0

Hello,

I have a really basic question here. How do I install drivers for "Microsoft OLEDB provider for Oracle" so that connection starts working in BIDS?

I've found this link so far and it says "Make sure the Oracle client software on the server running SQL Server is at the level required by the provider." Does it mean that the only way to install drivers on my development machine is to install an Oracle client?

Thanks!

Need To Send Email In HTML Format Using SSIS Script Task

$
0
0

Hello Everyone,

As I have very less knowledge over C#,I am facing  lot of trouble in generating EMAIL in HTML format.
My requirement is  to get the latest row from the AUDIT LOG table and send it in HTML formatted email using SSIS and SCRIPT TASK.
Using [msdb.dbo.sp_send_dbmail] within Execute SQL task, I was able to achieve the desired email,But the requirement should  be completed using SSIS SCRIPT TASK.

The above result has been achieved using {[msdb.dbo.sp_send_dbmail] within Execute SQL task}

Any help would be appreciated.
Thank you,
Rahul

how use microsoft ?

توكيل نورج مدينة نصر (خبراء صيانة غسالات نورج)( 0235695244) ( 01225025360 )

how to view historical changes in ssis package

$
0
0

Hello ,

is there a way to see the deployed package instead of the current package

explain:

there is a deployed package that works

i entered to the package via ssis and start modify changes to the package didn't save/deploye/rebuild/build

and i think the server reboot or "Admin" kick me and restart the server

now i entered to the package and see changes save  (didn't deployed/build again)

is there a way i could see the deployed package with all of the workflows (etl -the control flow,data flow, parameters etc..) so i could compare between the versions: the deployed and the current displayed

or something close because there is SCD process that is now empty that i believe it shouldn't  be empty

some info:

working on sql server 2012

ssis 2010

thanks in advanced


SSIS VB Script Sensitive to String syntax

$
0
0
I've been searching to find out if an SSIS VB script component can get the sensitive value of a parameter to string to use it for a connection.  I can find all kinds of reference to C#, but nothing for VB.  Greatly appreciate if someone has the syntax or at least confirm a VB script cannot do it.
string you_secret_value =Dts.Variables["$Package::XYg"].GetSensitiveValue().ToString();

Oracle Destination Editor - Error Output Capture records insert into temp table

$
0
0

Good day,

I changed my Oracle Insert from OLEDB Connection to Oracle Connection.

We had inserts per file and moved to bulk insert, due to speed issues we tried the Oracle destination (and no longer oledb destination).

1. If Oracle connection drops while insert how do I capture those records to re-insert?

2. The oracle destination on fast load & oled db fast load, on error output I don't get the fields available to write in new table

 - I tired 1 record per batch, I still don't get the fields available to move into temp table (theres nothing under error output but error_column) also it defeats the purpose of improving the speed

Any other ideas, please help


error code 0xC0202009

$
0
0

Hi,

I've a weird issue, i've a package on SSIS 2017, the source is SQL 2017 DB,  the OLE DB source fails with that error when I run it locally or on the server.

but I can click on "Preview" from the OLE DBSource Editor and see the data.

I can edit the connection string and test the connection successfully.

but at run time it gives this error...has anyone encountered that before?

I tried setting "delay validation" to  TRUE on the package but that didn't help.

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


How to check sql connection in ssis package

$
0
0

Hi

I want checking  sql server connection before run query and execute task. how can i check it?

thanks

Replace Cell if Null

$
0
0

Hi,

I have several records I need to update but I only want to update if a cell is null and the source contains data. I have added a Rank column from a duplicate detection run so each row is now either a 1 or 2. 1 will be the master and 2 will be deactivated.

Before I deactivate 2, I want to get as much data from 2 and update 1, but I only want to update 1 where data does not exist with data from 2.

Rank = 1 |Contact#| Address1City=Null

Rank = 2 |Contact | Address1City=Detroit

In this case, I would want to update Rank 1 with Rank 2. 

I think I need a step between my lookup and my destination. As configured, rank 2 just updates rank 1 regardless of Null or not. I could not upload an image but below is what I have so far. 

Rank 2                        Rank 1                                     

   |                                    |  

   |______  Lookup _______|

                    |

                    |

                             |

                       Destination





Error creating SSIS 2019 package programmatically

$
0
0

I am able to create package programmatically when it comes to ssis 2016 but when i try to create package programmatically i am getting below error.

"could not load file or assembly 'microsoft.sqlserver.dtsruntimewrap, version=15.100.0.0, culture=neutral, publickeytoken=89845dcd8080cc91' or one of its dependencies. the system cannot find the file specified."

Created sample package and uploaded in below one drive location.

https://1drv.ms/u/s!AlyBhK9gzDw2lHGXZzgWLbSNZZ_5

What i have observed is Microsoft.SqlServer.DTSRuntimeWrap for 2016 exists in "C:\Windows\Microsoft.NET\assembly\GAC_32\Microsoft.SqlServer.DTSRuntimeWrap\v4.0_13.0.0.0__89845dcd8080cc91" but ssis 2019 which is part of visual studio 2017 installation didn't install in GAC_32 but installed in "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\SSIS\150\Binn\Microsoft.SQLServer.DTSRuntimeWrap.dll".

So installed it into gac using gacutil but now i am getting below error.

"Microsoft.SqlServer.Dts.Runtime.DtsComException: 'An Integration Services class cannot be found. Make sure that Integration Services is correctly installed on the computer that is running the application. Also, make sure that the 64-bit version of Integration Services is installed if you are running a 64-bit application."


Sam


Table or View -fast load is failing on SQL Server 2012 but working on SQL Server 2016.

$
0
0

Hi I am facing this issue where I am not able to use the Table or View -fast load to load into a Oracle Staging table.

The reason I am using the Fast Load is it is very very fast compared to the regular load and I am loading to a staging table only which is a truncate and load daily.

Our DEV Server is SQL Server 2016 and PROD is 2012.

I am loading data from Oracle to Oracle only.

When I run on my DEV machine, It is running fine but in Production I am getting the below error.

I tried to open the solution on my Visual studio on PROD server and see the error and below is what it says.

Any Help is Really Appreciated.


Using CNAME Instead of ServerName is failing when used in SSIS Environmental Variables.

$
0
0

HI,
I Created an SSIS Package which downloads a zipfile from Internet and unzips it before loading the data to my SQL Server Table.

Everything is working fine till now.

But out team asked me to use the CNAME instead of ServerName to place the downloaded files and I changed the Environmental variables accordingly.

But My Job is failing with the below error.

If I use the Environmental Variable with ServerName Instead of CNAME then it is working. But in Visual Studio it works with both. Only on the SQL Server Agent it fails when I use the CNAME.

Working :\\PLONDBSQL731\WellData\Colorado\AnnualProductionSummaryData.zip

Not Working:\\P-DB-WLD-01\WellData\Colorado\AnnualProductionSummaryData.zip

FYI.. Environmental Variable pic shown below.

Any help is really appreciated.


Thank You.

For each loop editor - Filter files don't work fine.

$
0
0

Hi

I have the filter....

But I see that the package find not only files such as *.xls. In addition, it finds files as: *.xlsx, *.xlsm


صيانة كاريير فرع الزمالك 01014723434 ضمان معتمد *- 0235695244

OLEDB Deprecation and SSIS

$
0
0
Hi, 

Though this question has been asked numerous times before, I think I am one of the few people still who are still not 100% sure about what the deprecation of OLDDB means for SSIS/ SSAS,  

The deprecation was announced several years ago (more than 5?) and here we are with SSIS 2016 and there is still no support for non OLEDB connection managers for components like Lookups. SSAS Multidimensional still reads via OLE DB drivers. There are other OLEDB only implementations too. Is there any definitive guide for OLEDB deprecation and what it means for SSIS (and SSAS Multidimensional)?

I have trawled through numerous forum posts and links but can’t say for sure if the direction is clear. Switching to ODBC doesn’t seem like an option due to performance reasons. ADO .Net is faster but still isn’t quite as fast as OLEDB. 
Ofcourse we could start switching to something like ADO.Net for new development but this is still not what  Microsoft recommended as OLEDB had been deprecated in favour for ODBC and also the fact that data loading performance using ADO.Net / ODBC connection manager is still not at par with OLEDB 

Does anyone know what exactly is happening around it please? Any link or details published officially would be really helpful. 


SSIS OLE DB deprecation... what to do about it?

$
0
0

Hi

I know that Microsoft announced deprecation of OLE DB for SQL Server but what does it mean for SSIS Developer? I've started doingSSIS Tutorials YouTube and thought I will find this out and mention it... as it sounds like an important one ;)

Questions I have:

1) Is OLE DB is deprecated in next release than would I have to upgrade existing connections?

2) I think ADO.NET runs on top of OLE DB? If yes than I have the same question as question 1 for ado.net as I suspect the answer will be the same?

3) What about Lookups? I thought they support only OLEDB?

4) What connections should I use? ODBC? Is there anything else that can connect to SQL Server? 

5) What are drawbacks of ODBC for SSIS? Any extra considerations for development / deployment?

Many thanks in advance!

Emil

Viewing all 24688 articles
Browse latest View live


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