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

OData \ SharePoint List Collection Source

$
0
0

I want to use collection of sharepoint list fields as a source in my data flow.

You can output fields collection through OData like:

https://portal/sites/web/_api/Web/Lists(guid'70592db3-8842-4b84-a5ba-b12a0fb5245a')/fields

I can perfectly see it in IE or import in Excel as a table. But OData source in SSIS can not id this as a collection. Why? How to fix it?

More i found out that items query also is not working with OData source in SSIS:

https://portal/sites/web/_api/Web/Lists(guid'70592db3-8842-4b84-a5ba-b12a0fb5245a')/items?$select=Id,Title

Only _vti_bin/listdata.svc/list without keys (like ?$select=field) can be used as source...



Project connection managers, you cannot be serious

$
0
0

Hello. Yesterday I promoted an SSIS project to production via the project deployment method. Destination ssisdb. SQL Agent jobs that run these packages contain the updated connection info for the project connection managers within. New package runs like a champ. But zero new data lands in production. After a couple hours trying to figure what's going on I see that all the project connection managers are changed in the job! They're changed back to their development defaults. That never happens! I didn't do this.

Has anyone seen this before; it's never worked that way for me. Maybe after redeployment the package info in ssissb is reset. But the SQL Agent job info is nicely abstracted away from this, or so I thought.

Ken

EXECUTE SQL - result set

$
0
0
Hi,

I have a scenario where there are 2 tasks,  first is EXECUTE SQL TASK, second is another EXECUTE SQL TASK, each of which calls one separate Stored Procedure.

1) Depending on the value returned by first SP, a decision is made whether or not to run second EXECUTE SQL TASK.

2) First SP has a final executable statement of SELECT @RESULT_VALUE  AS RESULT_VALUE  (i am working in PDW/APS/MPP, so, RETURN is not allowed)

3) This return value is expected to be captured in first EXECUTE SQL TASK's RESULT SET (Single) mechanism, where a @user variable is used to captured it

4) A PRECEDENCE CONSTRAINT is established between first and second tasks to decide whether or not to run the second task.


in this setup, I get the error that the variable RESULT_VALUE   is not found.

could you please share your thoughts.

thank you

Unicode not unicode and text was truncated

$
0
0

Can anyone explain how can I handle a simple text file? I am trying to load it on SQL and it giving me a lot of error..code 65000, code 1252, D_TEXT, D_STRING...and bla bla bla. Why it's so hard?

Now my problem is cannot convert from unicode to not unicode. And plus:

in the report I got

[Flat File Source [2]] Error: Data conversion failed. The data conversion for column "Column 0" returned status value 4 and status text "Text was truncated or one or more characters had no match in the target code page.".

but when i run the package it does appear Cannot convert between unicode and not unicode string data types. 

Really you do need a degree only for load a text file. I love Microsoft, I love SQL, I love SSIS but please I hope they do something about the uniformity of the data. It's a text so it should be fine to load in a varchar or nvarchar column...annoying...

Many Thanks

اصلاح كارير - 01127571696 - توكيل كارير - 01014723434 - تصليح تكييفات كارير

$
0
0

وكيل كبري الشركات فى مجال صيانة الاجهزة المنزلية , مصرتوفر شركة صيانة كاريير الصيانة والتجديد للاجهزة ارقام اتصال كاريير||0235695244 || 01225025360 |المحمول :| 01014723434 || 01127571696    تكييفات كاريير,تكييفات كاريير, مكيف كاريير, تكييف كاريير, شحن كاريير,CarrierتكييفاتCarrierمكيفCarrierتكييفCarrierشحنمركز صيانة كارييريغطى مناطق ( القاهرة الكبرى ) للاصلاح بالمنزلتعد واحدة من اكبر شركات الصيانة فى مصر ( صيانة كاريير الاولى فى مصر)نحن نعتمد على تصليح كاريير الاجهزة المنزلية الأولي فى مصرمجموعة شركات كاريير احدى الشركات الرائدة فى مجال ( صيانة تكييفات كاريير& صيانة مكيف كاريير & صيانة تكييف كاريير&شحن كاريير&صيانة تكييفات كاريير&صيانة شحن كاريير، صيانة تكييفات كاريير )الصيانة تشمل الجهاز بالكامل (( الصيانة الشاملة ))Carriermaintenance,repair Carrier

0235695244 || 01225025360 || 01014723434 || 01127571696

وكيل كاريير حدائق الهرم ,توكيل كاريير الرماية , توكيل كاريير الجيزة الجديدة

اصلاح تكييفات كاريير, مراكز صيانة كاريير, اصلاح وصيانة كاريير, توكيل صيانة كاريير,الوكيل صيانة كاريير, وكيل كاريير,خدمة كاريير,ارقام كاريير, اقرب كاريير, اصلاح كاريير,افضل صيانة كاريير,اجود صيانة كاريير, الاول كاريير, المتقدم كاريير, ارشادات صيانة كاريير, وكلاء صيانة كاريير, الوكلاء كاريير,الوكالة كاريير,خدمة اصلاح تكييفات كاريير,الرئيسى كاريير,اعمال صيانة كاريير,تعد خدمة الدعم الفنى من احدث خدمات شركة كاريير Carrier agent  وكيل كارييراسرع تحقيق الصيانة الجيدة كاريير&افضل ارشادات صيانة كاريير&نقوم بتقديم خدمة الصيانة الفورية كاريير&الجودة هى العنصر الاساسى فى صيانة كاريير الجيزة & Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier  Carrier تتعهد مجموعة شركات ( صيانة كاريير) بتقديم اجود خدمة وتقديم اعلى مستوى من التدريب اعلى كفائة صيانة كاريير ( مركز صيانة كاريير )   CARRIER حيث اننا المركز الوحيد فى مصر { صيانة كاريير {مع تحيات ادارة توكيل صيانة كاريير

وكيل كاريير الهرم , وكيل كاريير  الجيزة , وكيل كاريير  فيصل , وكيل كاريير  الدقى , وكيل كاريير  العجوزة , وكيل كاريير المنيل , وكيل كاريير  المهندسين, وكيل كاريير الكيت كات,وكيل كاريير  العمرانية , وكيل كاريير حدائق الهرم , وكيل كاريير ام المصريين , وكيل كاريير العمرانية الشرقية , وكيل كاريير المنيب ,وكيل كاريير  شبرا, وكيل كاريير شبرا مصر , وكيل كاريير الترعة البولاقية , وكيل كاريير  احمد حلمى , وكيل كاريير شبرا البلد , وكيل كاريير رمسيس, وكيل كاريير العتبة , وكيل كاريير وسط البلد , وكيل كاريير التحرير وكيل كاريير  القصر العينى , وكيل كاريير جاردن سيتى , وكيل كاريير المبتديان , وكيل كاريير مصر الجديدة , وكيل كاريير روكسى , وكيل كاريير عين شمس , وكيل كاريير مدينة نصر , وكيل كاريير الشيخ زايد , وكيل كاريير  6 اكتوبر , وكيل كاريير هضبة الهرم , وكيل كاريير القطامية , وكيل كاريير ارض الجولف , وكيل كاريير النزهه, وكيل كاريير الرحاب , وكيل كاريير الزمالك , وكيل كاريير القاهرة , وكيل كاريير حلوان , وكيل كاريير المعادى , وكيل كاريير الملك الصالح , وكيل كاريير بين السرايات , وكيل كاريير الزيتون , وكيل كاريير حمامات القبة , وكيل كاريير القبة , وكيل كاريير الكوربة , وكيل كاريير المرغنى , وكيل كاريير  حدائق القبة , وكيل كاريير الدمرداش , وكيل كاريير  الاميرية , وكيل كاريير المطرية , وكيل كاريير  حلمية الزيتون , وكيل كاريير الدرب الاحمر , وكيل كاريير  المقطم , وكيل كاريير عابدين , وكيل كاريير  باب اللوق, وكيل كاريير لاظوغلى , وكيل كاريير  ارض شريف, وكيل كاريير باب الشعرية , وكيل كاريير  الرحاب , وكيل كاريير العبور , وكيل كاريير  الصحراوى , وكيل كاريير ابو رواش , وكيل كاريير  دريم لاند, وكيل كاريير مول العرب , وكيل كاريير  التجمع الخامس , وكيل كاريير التجمع , وكيل كاريير  التجمع الثالث , وكيل كاريير 15 مايو , وكيل كاريير  التجمع الاول , وكيل كاريير امبابة, وكيل كاريير  ارض اللواء , وكيل كاريير المريوطية , وكيل كاريير  المنصورية ,وكيل كاريير المرج , وكيل كاريير  عزبة النخل , وكيل كاريير ماسبيرو , وكيل منشية ناصر , توكيل كاريير  مدينتى , وكيل كاريير الشروق, الاسماعيلية, السويس, الفيوم, بنها , وكيل كاريير  عمارات العبور

توكيل كاريير ,صيانة كاريير ,مركز صيانة كاريير ,صيانة مكيف كاريير ,توكيل كارييرفى مصر , توكيل كاريير الوكيل الرسمى ,مكيف كاريير , صيانة تكييفات كاريير ,كاريير مصر , تكييفات كاريير , مكيف كاريير, شركة كاريير , تكييفات كاريير , شحن كاريير , تكييف كاريير , شحنات كاريير , اصلاح كاريير , اصلاح تكييفات كاريير , الصيانة كاريير , خدمة اصلاح كاريير , جودة خدمة كاريير , دليل اصلاح كاريير , خدمة كاريير السريعة , اصلاح كاريير القياسى , مركز اصلاح كاريير, كاريير صيانة موجهه, تصليح اجهزة كاريير , صيانة منتجات كاريير, ضمان صيانة كاريير , خلية صيانة كاريير , اعمال صيانة كاريير , اصلاح وتشغيل كاريير , صيانة لوحة المتاح كاريير , اصلاح اعطال كاريير , تعليمات صيانة كاريير , ضمان صيانة كاريير , اصلاح اجهزة كاريير,

0235695244 || 01225025360 || 01014723434 || 01127571696

Help for Error 0xC02020A1, 0xC020902A, 0xC0202092, and 0xC0047038

$
0
0

Hii.. I am Newbie User for SQL Server...

I'm getting error while import data to SQL Server. my data have size 2GB.

while i am import data then have error:

" Executing (Error)
Messages
Error 0xc02020a1: Data Flow Task 1: Data conversion failed. The data conversion for column "DEBTOR_PROBLEM" returned status value 4 and status text "Text was truncated or one or more characters had no match in the target code page.".
 (SQL Server Import and Export Wizard)
 
Error 0xc020902a: Data Flow Task 1: The "output column "DEBTOR_PROBLEM" (390)" failed because truncation occurred, and the truncation row disposition on "output column "DEBTOR_PROBLEM" (390)" specifies failure on truncation. A truncation error occurred on the specified object of the specified component.
 (SQL Server Import and Export Wizard)
 
Error 0xc0202092: Data Flow Task 1: An error occurred while processing file "D:\folder\file.txt" on data row 2.
 (SQL Server Import and Export Wizard)
 
Error 0xc0047038: Data Flow Task 1: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED.  The PrimeOutput method on component "Source - Loan_txt" (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)
 
"

Please.. can anyone help my problem

many thanks

Multiple Tables in SSIS CDC

$
0
0
Can we have multiple tables for SSIS CDC while configuring CDC Source?

Buffer Issue with ODBC Driver SSIS 2012.

$
0
0

Hello ,

I have a package with the below tasks.

Source : MYSQL5.6 - Table - 50000000

Source Connection : ODBC Driver

Destination : SQLServer -Table

Destination Provider : OLEDB Driver.

I am trying to read 5000000 rows at a time. But It's throwing the below buffer error. 

Error: A buffer failed while allocating 10485024 bytes.
Error: The system reports 29 percent memory load. There are 32211845120 bytes of physical memory with 22597099520 bytes free. There are 4294836224 bytes of virtual memory with 116981760 bytes free. The paging file has 40801779712 bytes with 30649970688 bytes free.
[ODBC Source [2]] Error: Failed to add row to output buffer.

[ODBC Source [2]] Error: Open Database Connectivity (ODBC) error occurred.

[SSIS.Pipeline] Error: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED.  The PrimeOutput method on ODBC Source returned error code 0x80004005.  The component returned a failure code when the pipeline engine called PrimeOutput(). 

I am new to MYSQL and do not have the visibility on buffer settings of it.

Is it fair to assume that if we change buffer size on ODBC will solve the problem.

How can I solve the problem ? any inputs appreciated.

Thanks in advance.


Best PDF ( Sql server, SSIS and Data warehouse)

$
0
0

Hi,

I have 3-4 years of experience in database and now i want to pursue some certifications..

Could anybody help me to find best Ebook(free) available online?? Sql server , ssis and datawarehouse...

I have searched and there are plenty but i need the best one so that i can solely study and practice..

The book which is easy to understand .....

Please help me with the links...



Abhishek

Cannot Connect to SQL Server 2008 SSIS from SSMS 2014

$
0
0

I just got a new laptop from my work and I installed SSMS 2014 Complete using the SQL Server 2014 Standard disc. I have no issues connecting to my SQL Server 2008 databases. However, when I try to connect to the Integration Services on those SQL Server 2008 machines I get the error show in the screen shot. Does anyone know how to fix this issue?

Export only news rows from excel to sql server table and update rows only if changed

$
0
0

Hi,

We are using sql server data tool for visual studio 2012 and I need to create an ssis package to export excel data into sql server table. the package runs as sql job every day. package needs to insert only new rows into table and if any row is changed, update that row data.

I googled many articles and found the following as good one.

https://itssmee.wordpress.com/2010/10/03/ssis-insert-and-update-rows-in-a-table-based-on-the-contents-of-a-excel-file/

When I tried this, first time populating table worked fine because it treated all rows as new rows because data was not there in table. I added some more data to the file and ran package again. The package ran successfully but new data (2 rows) are not added to the table. I updated couple of rows data and ran the package. It is updating the same data all rows.

Please let me know how to do this.

Thanks

SSIS - How to delete all files in a folder except 1

$
0
0

Hello,

I have an SSIS package that I am using a multiple flat file connection to load files together to create a new flat file.  I am looking for a way to delete the individual files and only keep the newly created file.  What is the best way to accomplish this?

Using stored procedure as OLE DB source with parameters from package variables

$
0
0

Hi Guys,

(I have searched this forum extensively, but still can't find the solution to this problem)

Here it is:

I have step in my ETL process that gets facts from another database. Here is how I set it up:

1) I have to package variables called User::startDate and User::endDate of data type datetime

2) Two separate Execute SQL Tasks populate those variables with appropriate dates (this works fine)

3) Then I have a Data Flow Task with OLE DB source that uses a call to a sproc of the form "exec ETL_GetMyData @startDate =?, @endDate =?" with parameters mapped accordingly (0 -> User::startDate, 1 -> User::endDate)

When I run this I get an error 0xC0207014: "The SQL command requires a parameter named "@startDate", which is not found in the parameter mapping."

It is true that the sproc in fact requires @startDate and @endDate parameters, so next thing I tried to do is call the sproc the following way: "exec ETL_GetMyData @startDate =?, @endDate =?"

To no avail. It gives me the same error. Incidentally, when I hard code both dates like "exec ETL_GetMyData '2006-04-01','2006-04-02'" everything works well.

Also, I want to mention that in the first two cases, I get an error right in the editor. When I try to parse the statement it gives me "Invalid parameter number" message.

This has been such a pain in my neck. I've waisted the whole day trying to monkey with the various parts of package/statements to get this to work and it still doesn't. I dont' want to say anything about Integration Services design right now, but you probably know what I'm thinking...

 

SSIS - SQL 2012 - CozyRoc Dynamic CRM Destination "The value is too large to fit in the column data area " Error

$
0
0

Hi, 

Iam using Cozyroc Dynamic CRM destination plug in to "Update" against a Microsoft CRM entity.

I get the following error while running the SSIS package - 

"

Error: 0xC002F304 at Sync CRM Dynamics Client Updates, CRM Contact Destination [50]: An error occurred with the following error message: "Microsoft.SqlServer.Dts.Pipeline.DoesNotFitBufferException: The value is too large to fit in the column data area of the buffer.
   at Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.SetString(Int32 columnIndex, String value)
   at Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.set_Item(Int32 columnIndex, Object value)
   at CozyRoc.SqlServer.SSIS.CrmDestination._HandleResult(PipelineBuffer buffer, IStatus[] resList)
   at CozyRoc.SqlServer.SSIS.CrmDestination._SetupData(PipelineBuffer buffer, ArrayList records)
   at CozyRoc.SqlServer.SSIS.CrmDestination.ProcessInput(Int32 inputID, PipelineBuffer buffer)".
Error: 0xC02090F9 at Sync CRM Dynamics Client Updates, CRM Contact Destination [50]: The CRM Contact Destination was unable to process the data.
Error: 0xC0047022 at Sync CRM Dynamics Client Updates, SSIS.Pipeline: SSIS Error Code DTS_E_PROCESSINPUTFAILED.  The ProcessInput method on component "CRM Contact Destination" (50) failed with error code 0xC02090F9 while processing input "Dynamics CRM Destination Input" (62). 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." 

There is no way to find out what the specific error is , as it doesn't mention the "failure column" details.

Can someone provide any information in this regard?

Thanks!



Issue with Microsoft OLE DB Provider for Oracle

$
0
0

One of my SSIS packages connect to Oracle database using connection from Microsoft OLE DB Provider for Oracle. This was working fine until a recent Microsoft patching (with the following KB articles:kb3135445, kb3121255, kb3134214, kb3126587, kb3126593, kb3133043, kb3122648, kb3127220)

Could this be because of any of the above patches? Or is there another reason for this?

Now this connection does not work and the error seen is:

Error: 2016-02-21 07:13:25.19

   Code: 0xC0202009

   Source: pkg_XXXXXXXXXX Connection manager "XXXXXX"

   Description: 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: "Oracle client an\

d 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.".

End Error



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

$
0
0

I am utilizing BIDS on a SQL Server 2008 R2 build; sending data from Excel to Oracle 10g. On my local machine this works without issue as I had saved the password for the connection to Oracle as the package was set to Encrypt Sensitive with User Key.

Once this was working, I moved ahead by creating a configuration file;  change the Protection Level to Don't Save Sensitive; and ensure the package and elements within it are running in 32-bit mode.  The goal is that I will be able to add the password to the xml configuration file (not ideal--I get it).  However when I do this, save the package, and then run within VS I get the error in the subject line?

I have been all over the internet reading a multitude of similar problems with successful answers.  The answers I found did not work for me.  What am I missing?  I fear it is right in front of me and I can't see it.  I thought maybe I needed a TNSNames.ora file but I have one.  I edited the XML and added the password, to no avail. 

I look forward to any help and guidance the members here can provide.

Thank you.


MT

BIDS 2008R2 -- Templates Dissapeared -- Really

$
0
0

I have a problem that I cannot seem to solve; even after researching the I-net.

I have Visual Studio 2008 loaded; SQL 2008R2 and SQL 2008 (may be express); as well as BIDS.  These are a new install last week on a new(er) machine (clean).  I was able to create an SSIS package using the standard create SSIS package template.  That was last Wednesday. 

Since that Time I installed some programs. And now, my SSIS templates (within VS2008) are gone!  My question is where did they go?  How do I get them back? Is it possible that Crystal Reports (2008/2011 - both installed) could have removed my templates.  While unlikely I have to ask as the templates were in place prior to the installation of Crystal Reports and another developer I work with is not experiencing this issue (he does not have Crystal loaded).

You should know that I tried to run DEVENV /INSTALVSTEMPLATES (this did not work--unfortunately).

Thank you for any leads toward a solution to this issue.


MT


Changes in the deployed SSIS Packages ( MSDB 2008)

$
0
0

Hi,

I am working on old SSIS packages which have a particular string hard coded  example P32111  in the  various tasks.

They are deployed in MSDB ( Using SQL 2008)

As part of a transition I need  to replace that string with a new one ( P32111 with P1221) 

I know there are many tools to search SQL easily like Apex SQL ,RED Gate in a database etc but any way to

search/replace the query of the deployed SSIS packages  (MSDB) without manual intervention.

 Many thanks in anticipation

Issue Facing while rounding of numeric(20,2) to numeric(20,0).

$
0
0

Issue Facing while rounding of numeric(20,2) to numeric(20,0). 

SSIS package is not rounding to the nearest whole number, instead it is truncating the data after decimal points because the destination column is NUMERIC [20,0]. 

Issue:- We have numeric(20,2) in input file and numeric(20,0) in destination column. 

While loading data from file to table this data is getting truncated instead of rounding.

For e.g. input data is 2546.56 then SSIS is truncating to 2546 instead of making it to 2547.

-- Can you please help us in solving this truncation issue ?

[Forum FAQ] How to get SSIS packages XML definition which are stored in SQL Server Integration Services instance

$
0
0

Introduction

Integration Services gives you the ability to import and export packages, and by doing this change the storage format and location of packages. But after import packages into package store, how can we get the package XML definition?

Solution

As we know, SSIS packages are stored in msdb using existing SSIS storage table([msdb].[dbo].[sysssispackages]). The “packagedata” column store the actual SSIS package with Image data type. In order to get the package XML definition, we need to convert “packagedata” column through Varbinary to XML. You can refer to the following steps:

  1. Using the following query to get package GUID:
    SELECT [name],
                [id]
      FROM [msdb].[dbo].[sysssispackages]
  2. Using the following query to convert packagedata column to XML: SELECT id, CAST(CAST(packagedata AS VARBINARY(MAX)) AS XML) PackageDataXML
    FROM      [msdb].[dbo].[sysssispackages]
    WHERE id= 'ABB264CC-A082-40D6-AEC4-DBF17FA057B2'

More Information

sysssispackages (Transact-SQL): http://msdn.microsoft.com/en-us/library/ms181582.aspx

Applies to

SQL Server 2005
SQL Server 2008
SQL Server 2008R2
SQL Server 2012
SQL Server 2014


Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

Viewing all 24688 articles
Browse latest View live


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