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

how to pick up latest file in a folder using ssis package?

$
0
0
Hi  i want to pick up latest file from folder using ssis package,file name is set by cleint it self and we have no right to modiffy it,file name does not contain  any date to pick.how to pick latest file fro ssis package.

Dublicate entry problem in SOAP service

$
0
0

Hello,

I try to retrieve data from http://ws.arvento.com/v1/report.asmx?wsdl It works with SOAPUI app but I get the following error with SSIS;

I deleted all the lines which contains "callback" in the xml and selected OverwriteWSDL as False. It seems worked and I am able to select Service and Method now. But Method parameter are is blank so I can't select any parameter. I checked wsdl xml line by line but couldn't find anything wrong. Could you please help;

Service address is public so you can try until selecting method name; http://ws.arvento.com/v1/report.asmx


Err Code: 0xC0209303. Using SSIS for Data from Access2007 to MSSQL2008 using SSIS created with VS2008

$
0
0

Hi folks,

I wonder if you can help me with the following problem?

Text of err:

   Code: 0xC0209303
   Source: CTS_01AbcTest Connection manager "SourceConnectionOLEDB"
   Description: SSIS Error Code DTS_E_OLEDB_NOPROVIDER_64BIT_ERROR.  The requested OLE DB provider Microsoft.Jet.OLEDB.4.0 is not registered -- perhaps no 64-bit provider is available.  Error code: 0x00000000.
An OLE DB record is available.  Source: "Microsoft OLE DB Service Components"  Hresult: 0x80040154  Description: "Class not registered".

History:

After migrating from WinXP & old PC to Win10 with new SolidStateDrive PC.

Old PC worked OK using this Script:  xp_cmdshell 'dtexec /f "C:\SSIS\AbcTest.dtsx"'

Now xp_cmdshell will always give above Err but Package will Run OK with 'ExecutePackage Utility' on DoubleClick in WindowsExplorer.

After searching the web I found this:

'Navigate to “Debugging” option from left panel and from Right panel, change Run64BitRuntimevalue tofalse.'

But I just cannot find these Panels.

I would be extremely grateful if you can help.   

BTW: I upgraded to Access2016 hoping it might be 64bit but same problem remained.

Thank you

Padraig


Move Data from Source table from Server A to Destination Server B and Delete only those records which has moved from Server A

$
0
0

Hi All,

Move Data from Source table from Server A to Destination Server B and Delete only those records which has moved from Server A

Please let me know the best solution in SSIS.

Thanks,

Puneeth

Excessive transaction log size in SSIS catalog database (SSISDB)

$
0
0

I am having a recurring issue with the size of the transaction log for the SSISDB database. The database is running in simple mode (it's only a development instance) so it's not related to log backups. If I look at the utilisation of the log file it is mostly empty but when I try to truncate the log file I get an error stating that the log cannot be truncated due to ACTIVE_TRANSACTION.

I'm also getting a similar error in the "SSIS Server Maintenance Job":

Is there any reason why SSIS would be holding open transactions on the SSIS catalog database and thereby preventing the log file from being truncated?

SSIS PAckage failing with "Error: The attempt to add a row to the Data Flow task buffer failed with error code 0xC0047020"

$
0
0

I have an SSIS package.

To simplify , I would say that it reads data from hundreds of Oracle tables – making a copy of each one in a SQL server table.

The issue appears to be one big data flow task. In this it has approx. 120 oracle sources and SQL destinations (one for each table).

It has been running fine for several years in SSIS 2008 (as a SQL agent job).

I need to move it to SSIS 2012.

It works ok in data tools, but when I deploy the project and run the job from Sql agent it fails.

The Windows server running the SSIS SQL instance now has 8 GB RAM (same as the development machine). The SQL instance on this server (i.e. running SSIS and SQL agent) has max server memory 7168 MB – i.e. 7 GB (leaving 1 GB for the server OS).

In the SQL Server agent job step properties (advanced tab on left) I have ticked INcludde step in output history. Logging level is set to verbose.

The agent job is set to use 32 bit runtime.

After the step has failed, if you run the all executions report – there are two distinct error messages (repeated approx. 120 times – looks like one for each source/destination combo):

  1. Load standard  Tables to staging tables:Error: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED.  The PrimeOutput method on Connect to table1 returned error code 0xC02020C4.  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.
  2. Load standard Tables to staging tables:Error: The attempt to add a row to the Data Flow task buffer failed with error code 0xC0047020.

Looking at the “Error: The attempt to add a row to the Data Flow task buffer failed with error code 0xC0047020” error, some have advised that we change the DefaultBufferMAxrow, and the DefaultBufferSize.

I have changed (separately) the DefaultBuffermaxrows from 10000 to 1000, and then the DefaultBufferSize from 10485760 to 50485760 (ie approx. 5 times the size – leaving the defaultbuffermaxrows at 1000) – and redployed the solution and re-run – but get the same error message.

Why is the package failing ?

Launching a SSIS 2014 package from C# application - SSIS 2014

$
0
0

Hi,

I need to verify if it is possible to execute a SSIS 2014 package from a C# application and how it is possible it.

The reference data platform is SQL Server 2014 and SSIS 2014.

The SSIS package must be deployed on SSIS catalog.

Any suggests to me, please?

Thanks

Source: "Microsoft OLE DB Service Components" Hresult: 0x80040154 Description: "Class not registered". - MSAccess

$
0
0

Hello,

 

I am running Windows Server 2003 R2 Enterprise Edition SP 2

 

I have created an integration package in VS 2005 which extracts data from Access 2000 and imports it into a table on SQL server 2005 running on this server.

 

The package runs ok in Visual Studio 2005, but when i schedule it as a step in 2005 SQL Agent to execute as a SQL Server Integration package using SQL Agent Service Account it comes with the following error -

I did a bit of research which suggests this is due to SQL 64 bit and Windows 64b bit, however I am running 32 bit !! also the sql server agent is a domain admin user...can you gurus please help ?

 

 

 

 Microsoft (R) SQL Server Execute Package Utility
Version 9.00.3042.00 for 32-bit
Copyright (C) Microsoft Corp 1984-2005. All rights reserved.

Started:  10:07:42 AM
Error: 2007-10-31 10:09:13.85
   Code: 0xC0202009
   Source: Copy all Data to Reporting Prod Connection manager "Access Allocations.mdb"
   Description: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80040154.
An OLE DB record is available.  Source: "Microsoft OLE DB Service Components"  Hresult: 0x80040154  Description: "Class not registered".
End Error
Error: 2007-10-31 10:09:13.85
   Code: 0xC020801C
   Source: 5_Copy vw_Allocations 5_Access Allocations [1]
   Description: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.  The AcquireConnection method call to the connection manager "Access Allocations.mdb" failed with error code 0xC0202009.  There may be error messages posted before this with more information on why the AcquireConnection method call failed.
End Error
Error: 2007-10-31 10:09:13.85
   Code: 0xC0047017
   Source: 5_Copy vw_Allocations DTS.Pipeline
   Description: component "5_Access Allocations" (1) failed validation and returned error code 0xC020801C.
End Error
Error: 2007-10-31 10:09:13.85
   Code: 0xC004700C
   Source: 5_Copy vw_Allocations DTS.Pipeline
   Description: One or more component failed validation.
End Error
Error: 2007-10-31 10:09:13.85
   Code: 0xC0024107
   Source: 5_Copy vw_Allocations
   Description: There were errors during task validation.
End Error
DTExec: The package execution returned DTSER_FAILURE (1).
Started:  10:07:42 AM
Finished: 10:09:13 AM
Elapsed:  91.422 second

 

 

 


Load Data from excel sheets to database table and then fact and dimensions table.

$
0
0

Hi,

I've multiple excel sheets and one database table with the same columns name. So I want to load data from excel sheets to that table and then from that staging table, I want to load data into fact and dimension tables. 

I've loaded data from multiple excel sheets to one table but I am not getting how can I continue to this package for fact and dimension tables.

Please help me for this.



Environemental setup for SSIS Creation

$
0
0

Hi Team,

I am very new to SSIS Package. My requirement is -

To Extract data from SQL Server2012 and restore it to flat files. I have 250 GB data with me, including 150 GB blob file(pdf,images etc...).

Could you please advice me on below Queries,

1.Is it possible through SSIS Package?

2. Which is the environmental setup to work with SSIS Package?

3. Normal C# coding is possible?

4.Could you please sare me some effective tutorials to work with SSIS 


sajitha



error with reading variable data type not supported in expression in SSIS package

$
0
0

Hi,

In my Sequence container

SQL Task for FULL RESULT SET-SINGLE ROW assign variable with filename:: VFILENAME(Variable in SCOPE of Package level),

SQL task- Create Excel sheet

Data flow-OLEDB -Excel

Package 3 Tasks run successfully and Excel generated as per requirement but Sequence container shows in Red

and while saving the package shows Error of

Non fatal error occurred while saving the package

Data type of variable:VFILENAME not supported in expression

Error code: reading variable :0*COO470D0

Please help on to green in Sequence container

Thanks

--MADHU

SSIS Loading Data From Excel With Multiple Data Types in Column is not working properly

$
0
0

Hello Everyone,

We are trying to Load data from several Excel Spreadsheets into SQL Server Tables.

For this purpose, we are using SSIS to read and load the data. However we have found that the Excel data is not getting loaded properly into the SQL Server Table. Basically we noticed that if there is an Excel Column with All Integer Values in the first 8 rows and then it holds Character or Alpha Numeric values in the rows below, the system by default identifies that column as an Integer column and sets all the cells with Character or Alpha Numeric values as NULL.

The SSIS Excel connection manager nor the Excel Data source gives me an option to manually alter the expected data types.

This issue has been very heavily discussed in several forums but Microsoft has not given any solution for this till date.

Here is a sample excel file:

When i try to import this in SQL Server Table using SSIS, this is how it shows the data preview:

Many people have suggested Windows Registry Edit to force excel to read all records before deciding on the data type. This is not possible in my case as the clients will not allow us to play with the registry settings of the system.

Some have suggested to add "IMEX=1" Extended Property in the Excel Connection String. This is not working for my case.

Some have suggested to add "TypeGuessRows=99999" in the Extended Properties of the Excel Connection String. This also does not work in my case.

I have no control in the way the excel is being generated or formatted, hence having additional hidden text rows before the actual data starts, or having the cell format as TEXT for all the columns of excel is also not an option for me.

Below is the standard connection string from the Excel Connection Manager that i currently have:

Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Users\suvrat\Desktop\RawExcel.xlsx;Extended Properties="Excel 12.0 XML;HDR=YES";

This is such a simple requirement, but unfortunately i could not find any useful solutions to this problem.

Any thoughts on how this type of data can be loaded into the system?

Thanks in advance!

Suvrat


Data viewer not visible - SSIS 2017

$
0
0

Hi,

I'm creating a simple SSIS 2017 solution that reads from a SQL Server table to write on another SQL Server table. I'm using SQL Server 2017 and SSDT for Visual Studio 2017 vers. 15.8.6.

When I enable a data viewer for the data flow task to accomplish the above activity and run the task I cannot see any data viewers.

Any suggests to me to solve this issue? Thanks

SSIS environment variables for SQL instances – SQL Server 2008

$
0
0

Hello everyone,

I have a small challenge that I'm facing.

CONTEXT: I am doing this project for this client where they are still using SQL Server 2008R2. There are three environments Dev, Test, and Prod, as the case usually is. However, these environments are down as instances of a SQL Server installation which is sitting on a single Windows Server. I am working on the SSIS packages that use SQL Server package configuration. I am trying to get an indirect configuration by using environment variables.

QUESTION: How do I set environment variables for different environments of instances sitting on only one Windows Server system? If there were three separate standalone servers I would have individual environment variables with the same name across all the three servers and just change the connection property. Does anyone have a better approach on how to configure SSIS packages for environments such as I have described above?

Please note that at the moment the client is using XML Configuration, which I’m finding to be so cumbersome and clunky with so many files scattered everywhere. I wanted to bring everything into one SQL table according to the environment.

Many thanks,  


Mpumelelo

Accumulating Snapshot Fact Table

$
0
0
I have to create an Accumulating Snapshot Fact Table using SSIS to track the performance of bowlers on teams. The fact table consists of 4 foreign keys and 2 fact metrics. I have started the ETL for the fact table, but I am not sure how to finish it. I don't know how to get the fact metrics loaded into the fact table. 

FTP task fails on timeout, Exception from HRESULT: 0xC001602A

$
0
0
I wanted to "thank" the SSIS team for their traditionally wonderful job at error handling. From what I understand the 0xC001602A is a catch-all for pretty much any and every problem, which I personally find incredibly helpful when debugging a "weird" problem. But enough with the well-deserved praise, let's turn to the problem at hand.

I have an FTP task that basically goes places and get me all XML files from that directory. It is a standard "Receive files" not a script, and when I try it on VS 2005 with SQL 2005 on x86 XP Machine it works like a charm. From the same network to the same FTP server running from VS 2008 with SQL 2008 on x64 Win 2008 machine it gives me the timeout exception. 32 bit filezilla runs fine on both platforms, so the issue is not the network, nor permissions. The issue is that I created a blank package, and than added a singular task, setup an FTP Connection in the Manager, and tested it successfully. When attempted to run it produced an error message saying that task timed out, which is funny since the task was set to time-out in 60 seconds, but came back in 30. I'm not a great specialist, but I am running against a deadline so any help, that is actually helpful is appreciated.

Thanks
Vadim

Actual Output: "0xC001602A at Package2, Connection manager "FTP Connection Manager": An error occurred in the requested FTP operation. Detailed error description: The operation timed out"

data arehouse developer

$
0
0
can a table as both source and destination in ssis  data flow?

OData Source in Foreach Loop

$
0
0

Hi All,

I have an OData Source and I'm getting the data through URL, I have more than 50k records but sometimes SSIS package stopped during execution after some thousand records, due to ODATA source error.

The OData Source was unable to process the data. Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.

so, to overcome this error I want to use OData source in the "foreach loop" and I will get 1000 records in one iteration using $top in OData query.  

for this, there are two issues.

1: I don't know how many rows will come from the URL.

2: and how can I use the foreach loop for this solution.

I have checked one thing, I can count all rows using Rowcount. but rowcount accepts int type variable and "foreach loop" doesn't accept int variable. how can I use this variable in foreach?

Any Help...

Thanks in advance


Anyone running Teradata Drivers/TTU 15.1 connected to Teradata DB 16.2, running on Intellicloud?

$
0
0

Hello,

The title says it all. We are migrating our Teradata platform to Intellicloud and upgrading the database to version 16.2. Anyone still running Teradata 15.1 drivers and utils and connected to Teradata in Intellicloud that is DB version 16.2? And not having issues?

On our Windows Server 2012 R2, and SQL Server 2016 SP1 EE, we had Teradata 15.1 Drivers and TTU, Attunity 4, and VS15 w/ SST14, then upgraded to Teradata 16.2, Attunity 5, and VS 17 w/ SSDT15, and uncovered a host of issues and basically all our jobs had to go down till we figured out the correct combo of tools and versions.

We discovered that VS17 w/ SSDT, the SSIS side is not compatible with Attunity 5 when your SQL Server is version 2016. Along with other issues.

I had to leave Attunity 5 in, and add Attunity 4, before things would work, plus add VS15 back, to edit, create a Connection Manager that works, and can deploy without error and run without error. Crazy thing is with just Attunity 5, once 4 was added, it would work but sill only showed Attunity 5 being the version of MSTERA used, odd. Yet it can’t open an existing SSAS model without error. I can open it in VS17 SSAS though.

I’ve spent a lot of time and money with Microsoft Premiere Support, and we have it limping in 32 bit mode now as that’s what can successfully deploy and run right now, we’re working on the 64 bit side, and will address the SSAS issues once the whole driver/connector and likeable version of VS/SSDT can play nice with Teradata 16.2 drivers and utilities.

Would love to hear war stories from other who have been through this to compare notes.

Thanks

Parse body of email and send report based on parsed parameters

$
0
0

OK Gurus,

I have an assignment to check for emails to a certain exchange email address and pull parameters either in the body or subject (I can decide how sender will compose). The email will contain a company number (xxxxxx) and I need to use that as a parameter for a report that I want to send them. I have already built the report, I just need the mechanics of how to extract the company number from an email and plug it into my report.

How would I build an ssis package to complete this task? Of course they want it yesterday.

Thanks

Viewing all 24688 articles
Browse latest View live


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