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

Exel Report

$
0
0

Hi

I am given a excel sheet for me. I want to know whether data is locally present or it is coming from somewhere?. I want to know what are all the functions present in that table ? Its a pivot table and cube related these are the information I know. Please help me to understand this report. Raise me questions so that I will answer by seeing my excel report.


SQL BI Developer (Starting to learn more about SQL&BI)


Convert Multiple Output Columns to single xml column

$
0
0

Hi All 

As i am new to C# can you please help me out , how to convert multiple output columns from oledb destination of SSIS in to one single xml column using C# 2010, I need to use this in my script Component.

Thanks,

Register a dll to the global assembly cache on a windows server

$
0
0
I have a SSIS package where I am using a 3rd party ExcelDataReader dll and the package fails as this assembly is not registered on the GAC. Could you please guide me on how to install ExcelDataReader assembly to the GAC on the server where no visual studio or windows sdk is installed. 

Thanks in advance....

SQLEnthusiast

CSV file load issue error says truncation but data length when checked in csv is lower than db field length

$
0
0

CSV file load is failing for "Name" column having following value

hello world (test)            

Error: Data conversion failed. The data conversion for column "Name" returned status value 4 and status text"Text was truncated or one or more characters had no match in the target code page.".

The error message is weird because the target table has 100 length for the name column in the database

CSV file has LF as row delimiter 

My flat file settings



Column length was 56 when i measured it correcty with spaces

Cannot to add Data Flow Task

$
0
0

I created Integrated Services Progect in Visual Studio 2013

When I am trying to add Data Flow Task into Control Flow it shows Error massage:

_______________________________________________________________________________________

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

Failed to create the task. (Microsoft Visual Studio)

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

Cannot create a task from XML for task "", type ", {1CF081CA-677D-4561-967A-D06798F62DD6}" due to error 0xC0010014 "One or more error occurred. There should be more specific errors preceding this one that explains the details of the errors. This message is used as a return value from functions that encounter errors.".
 (Package)

------------------------------
Program Location:

   at Microsoft.SqlServer.Dts.Runtime.Executables.Add(String moniker)
   at Microsoft.DataTransformationServices.Design.DtsBasePackageDesigner.CreateExecutable(String moniker, IDTSSequence container, String name)

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

Cannot create a task from XML for task "", type ", {1CF081CA-677D-4561-967A-D06798F62DD6}" due to error 0xC0010014 "One or more error occurred. There should be more specific errors preceding this one that explains the details of the errors. This message is used as a return value from functions that encounter errors.".
 (Package)

------------------------------
Program Location:

   at Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSExecutables100.Add(String bstrMoniker)
   at Microsoft.SqlServer.Dts.Runtime.Executables.Add(String moniker)

____________________________________________________________________________________

Other tasks I can to add without problems.

Why it happens please anyone explain to me? Thanks in advance

Applying the column width changes best approach

$
0
0

Hi Experts,

We have a few changes in the source system.

The column widths are changed and the sizes are bigger in the new system.

I am just wondering if there is a best approach for applying these changes in the packages?

I am going to manually run the scripts to change the staging and the final DWH table column widths but not sure of implying the changes in SSIS packages.

I appreciate any help on this. Thanks in advance.

Regards,

Shyam.

hashing/checksum functionality

$
0
0

I use the HASHBYTES function on virtually every SSIS project i work on, its invaluable for performantly allowing checking for new/updated rows.

Is there any plans to add this functionality as a package shape that can create a has in memory and in the data flow?
All i can find are 3rd party options on codeplex that work but can be buggy and have no support.

Master of Import/Export (SSMS) do not work

$
0
0

Hello all,

Windows 7 Ultimate  x64

SQL Server 2014 ver. 12.0.4100.1 with SSIS

When I do right click to Data Base - then click Tasks - then click Import Data... - after this immediatelly show Error message:

TITLE: the import Wizard and export of SQL Server
------------------------------

Failed to create a data flow task SSIS. Make sure that the library DTSPipeline.dll available and registered. The wizard cannot continue and will be closed.

------------------------------
FOR MORE INFORMATION:

Cannot create a task from XML for task "", type,", {1CF081CA-677D-4561-967A-D06798F62DD6}" because of error 0xC0010014 "there was one or more errors. Should be more specific errors preceding this one that explains the details of the errors. This message is used as return value from functions that encounter errors.".
({89A919A6-2EF2-418C-A376-207A939AF8F3})

------------------------------
BUTTONS:

OK
------------------------------

I deinstalled and install the SQL Server again....but it didn't help me

Please help me to solve this problem?


Job teriminated due to communication in the midle of the process, data loded partially into destidation table, what is best approach?

$
0
0

Hi can any one suggest me how to resolve the below issue

If Job failure occurred in the middle of the process due to network issue and data loaded partially from source to dwh.

When we restart the job process, I don't want to load data that has already been loaded.

for example in detail :

I've got about 100 million rows that I'm moving in SSIS 2012 via a Data Flow Task.  It's pretty much a straight table data copy from source to destination. 

Due to communication problem job has been terminated and loaded 50million records into destination table.

to resolve this issue what is the best approach

please share your ideas from your experience.

thanks in advance


HarSan



HarSan

SSIS OData Source \ SharePoint List \ Multiple Lookup Fields

$
0
0

So if you install OData source into SSIS ETL package and feed it with sharepoint list like "/_vti_bin/listdata.svc/list", it will be eaten.

BUT, multiple lookup fields are just totally absent. Even if you would love to parse it manually there is just nothing to deal with.

So in order to get it you must use another syntax:

/_api/web/lists(guid'<guid>')/items?$select=Title,LookupField1/FieldToBeExpanded1

If you use it there will be an xml output

BUT, how to feed it to SSIS OData Source? It chokes no matter how you turn it.

Metadata getting corrupted when changing dev to prod?

$
0
0

I have project level parameterized connections and when I switch from dev to integration and production I have two fields that frequently lose their mappings to the source and/or destinations.  Occasionally I will get an error indicating a problem with metadata.  As far as I can tell the tables and fields are identical in each database (data type and size).  I have tried deleting transformations and re-adding but that does not seem to help.  It's a real hassle to have to go in every time I change from dev to int and production and check and remap these connections.  Any ideas as to how I might resolve this issue?

Regards,

Mike

ssis package when run from sql agent shows issue

$
0
0

Issue : . Microsoft (R) SQL Server Execute Package Utility  Version 10.50.6000.34 for 64-bit  Copyright (C) Microsoft Corporation 2010. All rights reserved.    Started:  1:57:02 PM  Error: 2016-04-06 13:57:13.90     Code: 0xC0012024     Source: Delete the log files older than 7 days      Description: The task "Delete the log files older than 7 days" cannot run on installed  (64-bit) of Integration Services. It requires Standard Edition (64-bit) or higher.  End Error  DTExec: The package execution returned DTSER_FAILURE (1).  Started:  1:57:02 PM  Finished: 1:57:13 PM  Elapsed:  11 seconds.  The package execution failed.  The step failed.

 Environment - SQL sERVER  2008 R2.
 SSIS Package - package containsData flow task - gets the data from sql server database and stores in flat file.

Script task - Delete the log files older than 7 days -used to delete the log files that are older than 7 days
File system task - to create a folder
When I am running the package from Business development studio, the package runs fine without any issue but when I am running the package from sql agent as job it fails and shows me the error message.Could you please guide me?

Dts.Connections Once acquired, do they need to be released?

$
0
0

Greetings,

I happened upon a generated comment at the top of an SSIS script that makes me wonder whether I have been using connections properly. I have generally done something like:

using (var connection = Dts.Connections["myConnection"].AcquireConnection(Dts.Transaction) as OleDbConnection)

{

//do stuff with the connection.

}

That has always worked but I may have just been lucky. Then I read the following comment:

         * Example of using an ADO.Net connection manager:
         *  object rawConnection = Dts.Connections["Sales DB"].AcquireConection(Dts.Transaction);
         *  SqlConnection myADONETConnection = (SqlConnection)rawConnection;
         *  //Use the connection in some code here, then release the connection
         *  Dts.Connections["Sales DB"].ReleaseConnection(rawConnection);

What does the ReleaseConnection do?

Does it dispose the connection or is it just returned to a pool and disposed by some sort of connection manager?

Should there be a try around the acquireconnection with a finally releaseconnection?

Thank you,

David Morris

ssis vs ssas

$
0
0

Hello,
I do not know much about ssas... How do I make sure the ssis resources do not use the same resources as those in ssas.
Any suggestions where to start and what to do please?

Thank you

latest on ssis and secured ftp servers

$
0
0
Hi. Its been a while since I needed to deal with this but in previous ssis products secured ftp and ssis didn't play well together. Is there anything new in the 2014 enterprise product that offers a more seamless approach to writing flat files from ssis to secured ftp servers?  I'm hearing that the target sftp server is "camel".

SSIS Create and populate Excel file on desktop

$
0
0

New to SSIS and requesting some assistance.

I have a pipe-delimited text file with lots of unneeded data and I only need two columns of this data.   Data needs to then go into a SQL Server database, run a stored procedure (SP), and output the SP results to the current user's desktop in an .xlsx file.

So far I have created a Data Flow task in my project that uses about six components to transform and load the data into the database successfully.  I have created a project that will create and save the Excel file as expected, but because of my lack of experience I can't quite get the parent SSIS to run the Excel-creation project. Not sure how to do that.  Have tried all manner of scripting within the parent project and had no luck.  My struggle is in figuring out how to APPROACH the next steps. 

Here are some specific questions:

1) Would the exporting of data in this case be better handled by SSRS?  I have read a little on triggering SSRS from SSIS and it totally confused me and I think was for older versions of SQL server anyway. Makes sense that SSRS might handle it better, but that's another learning curve I was hoping to avoid for the moment. 

2) Do I need to set up the import and export processes as separate projects, or are there built-in tasks that would accomplish this?  

3) Can anyone provide guidance on which type(s) of task(s) I might need to use to finish out this process?  Also any input on how to tie the two processes together would be most helpful.

Getting totally overwhelmed by the amount of information out there related to this type of project and having a hard time filtering it to what might be pertinent to my specific project.

Any help is greatly appreciated!

Where is SSIS package configuration menu?

$
0
0

Working in Visual Studio 2015 with SSDT-BI. Trying to pass a variable from a parent package to a child package as described here (in step 3 under the heading "To add a parent package configuration to a child package"):

https://msdn.microsoft.com/en-us/library/ms345179(v=sql.120).aspx

When I click on the design surface of the control flow tab and then go to SSIS menu, "Package Configuration" is not an option.  Same is true whether working in either package.

What am I missing here? 


Load data from Excel - "Text was truncated or one or more character had no match in the target code page" -ERROR MESSAGE INCLUDED

$
0
0

I have the meta data to nvarch(MAX) but it still does not work..

The error message is shown below. 

Error: at Data Flow Task, Excel Source

There was an error with Excel Source.Outputs[Excel Source Output].Columns[F6] on Excel Source.Outputs[Excel Source Output]. The column status returned was: "Text was truncated or one or more characters had no match in the target code page.".

Error: 0xC020902A at Data Flow Task, Excel Source [14]:

The "Excel Source.Outputs[Excel Source Output].Columns[F6]" failed because truncation occurred, and the truncation row disposition on "Excel Source.Outputs[Excel Source Output].Columns[F6]" specifies failure on truncation. A truncation error occurred on the specified object of the specified component.

Error: 0xC0047038 at Data Flow Task, SSIS.Pipeline:

SSIS Error Code DTS_E_PRIMEOUTPUTFAILED.  The PrimeOutput method on Excel Source returned error code 0xC020902A.  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.

Best regards,

BadenSQL

Basic doubt about Excel Destination

$
0
0

Hi All,

I have very rarely used Excel Destination in my projects. Yesterday while exploring for it, i found that it is necessary to have excel file first created at that particular location to creating Excel Destination. Every example i saw and tried were such that i had to create a excel file at a particular location and then create a Excel Destination.

So, Is it true that if i have to configure a Excel destination, Excel file should be present there while creating Excel destination for the first time.I am sure that i am missing something over here and i am not able to get that.

Error 7438 - 32 bit OLE DB provider cannot be loaded in process on a 64-bit SQL Server

$
0
0
Can someone help me with this problem.....please
Viewing all 24688 articles
Browse latest View live


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