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

SAP BI connector 1.1 - Getting [SAP BW Source] Information: ArgumentOutOfRangeException is met: row 9 total length 750, declared lines per recod 3, actual lines 3 , column 31, offset 713, length 40

$
0
0

HI

I am connecting SAP BW server through ssis 2014 ( sap Bi connector 1.1) . while connecting one of the OHS in BW server to pull the data , getting the below information and the process in running infinitely in debugging mode .

[SAP BW SOURCE] information : Argumentoutofrangeexception is met : row 9 total lenght 750 , declared lines per record 3, actual llines 3, column 31, offset 713 , length 40

[SAP BW SOURCE] information :Append Blank line:row o total length 1000, declared line per recod 3 , actual lines 4 , column 31 , offset 713 , length 40

same SAP BW server ,  if i connect  and pull the data using ssis 2008 ( sap bi connector 1.0) its running without any issues.

my production server has sql 2014 so I need to know why this issue in SAP BI connector 1.1 alone and how to fix it ?

Thanks & Regards,

Gopal



Execution Error message: The operation cannot be started by an account that uses SQL Server Authentication.

$
0
0

I created a package that runs successfully on my workstation. I deployed this package to the server and tried to execute it directly from the SSISDB location and I also tried executing it as a job. I'm getting an "Execution Error" message:

How do I resolve this error, in the SSIS package or in SQL Server ? Looking like it needs to be the package. Anyway that I can just use database security ?


John


Problem with creating Integration Services Catalog(SSISDB) in SQL SERVER 2014

$
0
0

I was trying to deploy a SSIS project to SQL SERVER 2014. I cant see any option to create the Integration Services Catalog(SSISDB).  Here I'm attaching the screen shot.Can anyone help me to create it?

No Available External Columns

$
0
0

Hi Experts,

I have a stored procedure that I used to extract data using SQL Server 2005.

This stored procedure is ran on SQL SERver 2005 that has a linked server, the actual source from where data is extracted from.

DECLARE @return_value INT
DECLARE @sDate as DATETIME
DECLARE @DateStart as DATETIME
--SET @sDate = replace(convert(VARCHAR(10),DATEADD(dd, -30, getdate()),111), '/', '-')
SET @sDate = CONVERT(date, DATEADD(dd, -30, getdate()))
DECLARE @eDate as DATETIME
SET @eDate = DATEADD(dd, 0, DATEDIFF(dd, 0, GETDATE()))    --GetDate() 

exec @return_value = [WORLDS02].TransferofMoney.dbo.sp_TransactionDetail 
        @UserName = N'AUser',
        @Password= N'auser!1234',
           @DateStart= @sDate ,
        @DateEnd  = @eDate

I created a SSIS package and the extraction ran well until recently our SQL SERVER 2005 has crashed and we moved to SQL SERVER 2012.

When I use the same above stored procedure and run on SQL SERver it shows the results without any error.

However, the SSIS package now shows errors and I do not see any External columns on the OLE DB source object.

Can you please help resolve this issue.

SSIS 2012 Data Flow Task - Fail If there's blank rows on the bottom of the file

$
0
0

Hi Everyone,

We're currently upgrading our packages from 2005 to 2012 and we noticed that in SSIS 2012, if there's extra spaces on the bottom of the file. It will fail the task whereas, in 2005 it will ignore it and finish successfully.

Is there a way in SSIS 2012 to ignore those spaces without adding a task? We're trying to minimize the changes as we have a lot of packages to be upgraded.

I know we can just remove the spaces but we can't control the file once we receive it. Also, why can't SSIS 2012 ignore those space like in 2005 did?  

Error Message: An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 11.0"  Hresult: 0x80004005  Description: "Invalid character value for cast specification".

Thanks in advance!



SSIS 2016 Incremental deployment: Catalog not reading values from XML configuration files.

$
0
0

I am trying to explore on the new SSIS 2016 feature (Incremental Package dpeloyment). I have deployed my packages successfully to Integration services catalog.

Those are even getting executed successfully but there are few scenarios:

1. I am not sure if the packages are reading values from xml configuration files at all when i have deployed them to the catalog, although it seems that in the first deployment they read the xml config values but i am still not 100% sure on this.

2. When i change the values in my XML configuration files and re-execute the SSIS packages deployed in integration services catalog, it does not take the updated value from the file, instead keeps running on existing value.

3. I have imported the SSIS solution to visual studio as well and tried running packages from their after updating XML configurations. Through visual studio it reads the config file and executes appropriately while same is not the case when the packages are executed form the catalog.

Can someone please clarify on above points? 

SSISDB Ugrade Wizard

$
0
0


My SQL Database Engine edition is 13.0.4001.0 and trying to upgrade my SQL 2014 to SQL 2016 side by side.

Getting an SSIDB Tool version error while trying to upgrade the SSIDB after restore.

SSMS is also the latest and greatest.

Any workarounds?

Need to Transfer a backup filr from production to test server using SSIS, Suggest me steps to achieve same!!!

$
0
0

Hi,

I have a .bak file in my production server, Using SSIS I want to move the backup file from the production to test server on regular basis.

Please give me a idea and solution to achieve it... Thanks in advance.


Could not load file or assembly Microsoft.SqlServer.ConnectionInfo, Version=13.0.0.0

$
0
0

Hi,

I'm trying to connect to PDW database using VS-SSIS. Though I'm able to connect to the server and browse data using SQL server explorer, I'm unable to create connection to PDW in SSIS package.

When I click on existing packages having PDW connection, I'm getting below error - 

Could not load file or assembly 'Microsoft.SqlServer.ConnectionInfo, Version=13.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified.

Environment Details are as below - 

/*
Microsoft Visual Studio 2013 Shell (Integrated)
Version 12.0.40629.00 Update 5
Microsoft .NET Framework
Version 4.6.01055

Installed Version: IDE Standard

Team Explorer for Visual Studio 2013   06154-004-0430007-02604
Microsoft Team Explorer for Visual Studio 2013

Common Azure Tools   1.6
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

Microsoft Azure Mobile Services Tools   1.4
Microsoft Azure Mobile Services Tools

PreEmptive Analytics Visualizer   1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.

SQL Server Analysis Services
Microsoft SQL Server Analysis Services Designer
Version 12.0.2000.8

SQL Server Data Tools   12.0.60812.0
Microsoft SQL Server Data Tools

SQL Server Integration Services
Microsoft SQL Server Integration Services Designer
Version 12.0.2430.0

SQL Server Reporting Services
Microsoft SQL Server Reporting Services Designers
Version 12.0.2430.0

Windows Phone 8.1 SDK Integration   1.0
This package integrates the tools for the Windows Phone 8.1 SDK into the menus and controls of Visual Studio.
*/

Additionally, I've also installed "Microsoft SQL Server PDW SSIS Destination x86 Components 2014".

Any help in this regards is highly appreciated.


Need to Transfer a backup file from production to test server using SSIS, Suggest me steps to achieve same!!!

$
0
0

Hi,

I have a .bak file in my production server, Using SSIS I want to move the backup file from the production to test server on regular basis.

Please give me a idea and solution to achieve it... Thanks in advance.


How to fill columns for translated values

$
0
0

Hi,

I have the following problem:

I am designing a Dimensional Model, that must be used in multiple languages.

So for instance I have a Subscriber dimension with, amongst others, the following columns:

  • StatusEnglish
  • StatusDutch
  • StatusFrench

In my source database the Status descriptions are contained in a table with the following columns:

  • Code: 'Status'
  • Culture: 1 = Dutch, 2 = English, 3 = French
  • Value: 0, 1, 2, 3, 4, etc for the various statuses.
  • Description: 'Actief' or 'Active' or 'Activ', depending on the culture.

Now I want to use SSIS to copy the proper translated values into the Status columns.

I could do this directly in T-SQL, but because the Subscriber table has a lot of columns to translate, this would mean many JOINs.
Should I use a Lookup Transformation? If yes, how? That would mean a lot of Lookup Transformations and what if later a language is added?

What's the proper way to handle this?

Regards, Patrick


BIDS helper - BIML for VS 2015 and sql 2016

$
0
0

I am trying to use BIML for a project - where I need to generate 30-40 similar packages. I think BIML is good choice here to auto generate the packages.

I am using visual studio 2015 and SQL server 2016.

so, for me to accomplish this  need BIDS Helper:

I got the 2016 preview from here : https://bidshelper.codeplex.com/releases/view/621339

after the installation, I think I am supposed to see "BIML FILE" if I right click on the Project Name in SSIS -Solution Explorer.

But I do not see this. BIDS Helper installation was fine.

Whenever I click in the solution explorer, I see this in the output windows from BIDS HELPER

This is confusing. any help appreciated.


Hope it Helps!!

Renaming files by using SYSDATETIME() built function??

$
0
0

Hi there,

My last task in my Control Flow is just backing up the files and moving them to my Backup folder -before deleting them once for all.

So far so good. How can I rename them as well? I think adding trailing date and time something like that:

"xxxx_purchases_AA2017-02-06 15:59:13.9539598.txt"

How can I achieve this by using a File System Task and Rename operation?

SSIS Script Task Fails - XML Spreadsheet 2003 Excel File Format Interop Workbook Open Command

$
0
0

I'm using a script task to open and change file format of an excel XML Spreadsheet 2003 file to a Excel Workbook.

The package runs fine on development machine on VS 2015, but fails with a vague error message on server.

'Script Task: Error: Exception has been thrown by the target of an invocation.'

The package also runs fine on the server after I manually open the file and change the file format from XML Spreadsheet 2003 to Excel Workbook.

I've narrowed it down to the open command of my Office Interface Excel Workbook. 

Here's my script main 

public void Main()
{
            // TODO: Add your code here
            var format = (Microsoft.Office.Interop.Excel.XlFileFormat)XlFileFormat.xlWorkbookNormal;

            FileInfo file = new FileInfo(@"C:\Temp\EmailAttachments\New folder\Open_PO_Lines_03Feb2017_0915AM.xls");
            object misValue = System.Reflection.Missing.Value;
            var excelApp = new Microsoft.Office.Interop.Excel.Application();
            excelApp.Visible = false;
            excelApp.DisplayAlerts = false;
            Microsoft.Office.Interop.Excel.Workbook excelWorkbook = excelApp.Workbooks.Open(file.FullName);

            

            excelWorkbook.SaveAs(file.FullName, format);
            excelWorkbook.Close();
            excelApp.Quit();

            System.Runtime.InteropServices.Marshal.ReleaseComObject(excelApp);

            excelApp = null;

            Dts.TaskResult = (int)ScriptResults.Success;
}

missing data from final table (having staging table)

$
0
0

Hi, 

I missed some time period on my final destination table which I have in staging table. How can I move that data from staging to final table. (I have shceduled job for every 5mins, Its moved into staging table not moved into final table).

Please help me in this. And let me know if you need anymore details.

Thanks


prabha


importing tsv 200 columns, 500,000 rows

$
0
0

Hi experts, I get the error.

 

 

Warning 0x80049304: Data Flow Task 1: Warning: Could not open global shared memory to communicate with performance DLL

 

- Copying to [dbo].[Oct_06] (Stopped)

Messages

Error 0xc02020a1: Data Flow Task 1: Data conversion failed. The data conversion for column "Column 29" returned status value 2 and status text "The value could not be converted because of a potential loss of data.".

 

Error 0xc0209029: Data Flow Task 1: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. The "Source - 01-townnn_2016-10-06_tsv.Outputs[Flat File Source Output].Columns[Column 29]" failed because error code 0xC0209084 occurred, and the error row disposition on "Source - 01-townnn_2016-10-06_tsv.Outputs[Flat File Source Output].Columns[Column 29]" specifies failure on error. An error occurred on the specified object of the specified component. There may be error messages posted before this with more information about the failure.

 (SQL Server Import and Export Wizard)

 

Error 0xc0202092: Data Flow Task 1: An error occurred while processing file "C:\Users\admin \Documents\01-townnn_2016-10-06.tsv" on data row 1908.

 (SQL Server Import and Export Wizard)

 

 

 

 

The problem is that I am inserting 200 columns, 500,000 rows…

 

I cannot go row by row or column by column; I rely on it to get the data types automatically…. I increased the number of rows for the sample to 100,000 and even with that got it wrong. (I tried with 500,000 but goes to ‘not responding’)

how to handle Connection failure errors in SSIS packages

$
0
0

Hi Guys

Actual Work of my package: in my SSis package what i am doing is from loading DB from one db to another (so i have source connection, destination connection and some file connection in my connection manager).

i have a send mail task in my events (when package fails, it send a mail) it is working fine.but now the problem is when ever it is unable to connect to source DB (such as Source connection manager DB is unable to connect ) then it is not throwing any errorhow can i make my package, that returns even this kind of fail overs... Is it possible without Script Components. I want to do this without using Script Component.. Is any other Control flow task available in SSIS to do this.

Thanks....


Azure Feature Pack for Integration Services (SSIS) - Azure Storage Connection Manager always throws false error & Doesn't work with Project Parms

$
0
0

I'm using the 2016 Feature Pack in SSDT 2016..

I've added the Azure Blob Upload Task to my control flow.

I'd like to use parameters for the account name and account key for this connection and not have them hard coded.

The component appears to ignore the Delay Validation setting. If I can use Project level parameters it will always fail at runtime even though I have delay validation = true.

If I use local variables within the package, and populate the variables at runtime from a database query, it will appear to work. However, it still throws an error in the logs at run time: 

Azure Storage Connection Manager is invalid due to missing required property: AccountName

Even though the task runs successfully. 

Does anyone know how I can get around these errors and/or use Project level parameters successfully?

Transpose A Single Column of Data to Multiple Rows

$
0
0

In another thread, I was seeking help in importing an XML file into SQL via SSIS.

The problem I was having is that the XML has multiple namespaces and that was prohibiting SSIS from generating an XSD file - as there was no provided SSIS file nor was it available inline.

Russ Loski mentioned using XLST to remove namespaces and an independent search brought me to a site that explained that process pretty well - well, like a cookbook; I really don't know how it did what it did - and enabled me to create a task to remove all namespaces and save the result as a new XML file. This new file, however, is fairly cumbersome, but the data I'm after is there; albeit, all of it, including the column headers, in a single column.

Essentially, this column has all the data transposed to a single column. But, I'm doing this by ear, so I figured, "Well, it's something and SSIS is reading it."

So, OK, I then can use an XML Source Data Flow task to read the new XML with the transposed data. I tell it the block of data to work with and that block has three columns, the second of which is my transposed data ro3s all stacked vertically with the first set of rows being the header names.

The way the data is set up in the new XML file is every 58 vertical rows is equivalent to 1 horizontal row. So, I figure I need to transpose it back to horizontal, skim off the first 58 pieces of data for the header columns - or, just dump that set entirely and just export the data to a premade SQL table. Best I can see to do that so far is a Pivot Data Flow task, but it doesn't like something.

What I'm doing is, I create a Pivot Data Flow task and it pops up a dialog asking for Output. The Input is set by default.
I set the Output to the block of data from the new XML file, named Data, and click OK. The Pivot task displays an error, "The number of input columns for input "Pivot Default Input" (3268) cannot be zero."

OK, from there, I open up the Pivot editor, go to the Input Columns tab and select only one of the available input columns, the one that has the headers and all the data. Then, I go to the Input and Output Properties tab and, using the Pivot Default Input/Input Columns/text (text is the column name), I set the PivotUsage for that column to 1. I then get a new error saying that the number of output columns can't be zero.

OK, so I click on Pivot Default Output/Output Columns and I get nothing. But, there are buttons below to Add Output or to Add Column. Well, alright, if the thing says it has no output columns, I'll add some.

So, what I do is a add a column for each of the headers - naming them as they are named in the source file. 58 columns.

But, now I get the error, No PivotKey, even though PivotUsage is set to 1 for the input column which is, from what I've read, the value to set that column as a PivotKey.

Now, it may be that I'm not understanding at all what a Pivot Task is for. Am I mistaken that it is used to transpose data from a single column to multiple rows? All of the searches I've made seem to indicate that pivot is what I'm looking for, but the examples do all seem to show multiple input columns, not just one.

Any ideas?

Need any clarification?

Thanx in advance for any help!

SSIS Package Validation taking a long time

$
0
0

I have SSIS Projects taking a long time to open with packages with a large number of data flows.   Is there a way to turn off validation of metadata when a package opens?   Turn off validation during execution on SSIS Service (after previously validated in dev)?   Or be able to control when validation takes place in general?  

 

In my one package (1 of 5) I have 43 data flows (with a single source to target mapping) in 4 sequence containers, and it takes approximately 2-3 seconds per source to target mapping and sequence container to validate which will translate to 1 ½ to 2 ½ minutes to open.   When the project with all 100+ tables for the data warehouse goes through validation, I can make coffee in the time it takes to open the project.    I have to delete *.suo file (or verify all packages are closed in the designer and save the project file), and when I open the project, I have to jump immediately to SSISàWork Offline to set it to not validate the metadata to be able to work in a timely fashion.   DelayValidation=TRUE does not help much.   

 

Running in debug mode, has an effect of causing packages that were not open and validated to go through validation though I am not running those packages.   Validate once during design and run forever.   

 

Even if I re-open a package that I just closed from designer and had gone through validation, it will go through the validation process again.    

 

It would be great if there could be an on-demand option off the menu bar to allow one to control when validation can take place for a project, or a more granular validation option for a specific data flow or container.   

 

 

 

 

 

 

 

 

Viewing all 24688 articles
Browse latest View live




Latest Images