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

Another question about the Deploy Packages with SSIS

$
0
0

I've got to the section in Lesson 1-4 (To create the XML configuration for the DataTransfer package)
Point 9: On the Select Properties to Export page, expand DataTransfer, Connection Managers, Deployment Tutorial Log, and Properties, and then select theConnection String checkbox.

However there is no Connection String on this page>

This is the Properties to export on my copy of SSDT, has it changed since this was written?

When you click on Data Transfer, all the boxes are checked?  Do you accept all of these boxes as checked?


TEH


Creating a reference to Microsoft.Office.Interop.Excel for SSIS 2008 Script Task C#

$
0
0

I have to uses SSIS 2008 and working with excel docs.  I have tried to add a reference to Microsoft.Office.Interop.Excel (inside my script task) that is on my Windows 10 machine.  I was able to add the reference in VS2017.  However, when adding using VS2017 I can dig down to C:\Windows\assembly\GAC_MSIL\Microsoft.Office.Interop.Excel\15.0.0.0__71e9bce111e9429c\Microsoft.Office.Interop.Excel.dll to add the reference and all the code works. I am trying to use the same code in SSIS 2008 but am unable to add the reference. In SSIS 2008, I can get to C:\Windows\assembly and then it gives me a list of assembly names.  

I select Microsoft.Office.Interop.Excel and then OK button but the browser window just jumps to the top of the list and nothing is selected.  Using windows explorer I see a similar view.  VS2017 seem to be able to go down through the folders to find the reference but nothing else does.  Any ideas?

Exception deserializing the package "Value does not fall within the expected range.

$
0
0

Visual Studio 2015 Integration Services

Whenever I try to Execute a package I get the error below. The connection managers all look good and I can preview any dataset that I am sourcing or writing to (Ole DB and odata). In addition I created an empty package and tried to execute it and still got the error .. so I assume it's something at the solution level.

Some background. I am moving many packages over from an existing solution into a new solution. (the old solution and it's packages work fine) I have copied over many of the package components into new packages in the new solution. I made sure to update connection managers, etc. I have already verified I can preview source data and that fields match up in data types, etc.

FULL ERRROR:

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

Exception deserializing the package "Value does not fall within the expected range.". (Microsoft Visual Studio)

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

   at Microsoft.DataTransformationServices.Project.DataTransformationsPackageDebugger.LaunchVsDebugger(IVsDebugger iVsDebugger, DataTransformationsProjectConfigurationOptions options)
   at Microsoft.DataTransformationServices.Project.DataTransformationsPackageDebugger.ValidateAndRunDebugger(Int32 flags, IOutputWindow outputWindow, DataTransformationsProjectConfigurationOptions options)
   at Microsoft.DataTransformationServices.Project.DtsPackagesFolderProjectFeature.ExecuteTaskOrPackage(ProjectItem prjItem, String taskPath)

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

Value does not fall within the expected range. (Microsoft.SqlServer.ManagedDTS)

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

   at Microsoft.SqlServer.Dts.Runtime.Interop.ProjectInterop.GetPackageByName(String bstrPackageStreamName)
   at Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSProject100.GetPackageByName(String bstrPackageStreamName)
   at Microsoft.DataTransformationServices.Project.DebugEngine.DtsProgramNode.CreateRuntimePackageInternal(IDtsHost& host, Process& process, Package& dtsPackage)

ORACLE TO SQL SERVER DATA ISSUE USING SSIS

$
0
0

hI aLL,

i am using oracle as source and the column name is arabic_name datatype in oraclae is varchar2(50),here in oracle basically the data is some rows in arabic and some rows in english .while i am loading this into sql server destination ,where ever the rows with english names its showing and in the arabic rows its showing me like below screenshot.

and also i tried to cast that filed into nvarchar2(50) also its not worked out.please suggest me the solution.


SSIS Failed When reading XLSB File and works fine with XLSX File.

$
0
0

Hi,

I have a SSIS package that executes from C# Code. the objective is to upload the data from xlsx or xlsb file to DB tables.

When I use xlsx file, The ssis runs fine. But, When I Upload xlsb file. I am getting the following error:

Event Name: OnError

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

Event Name: OnError

Message: component "Excel Source" (1) failed validation and returned error code 0xC020801C.

Event Name: Diagnostic

Message: ExternalRequest_pre: The object is ready to make the following external request: 'IDataInitialize::GetDataSource(NULL, CLSCTX_INPROC_SERVER, ConnectionString: Provider=Microsoft.ACE.OLEDB.12.0;Data Source=<FilePath>;Extended Properties="EXCEL 12.0;HDR=YES";,...)'.

Can you please help me what  I am missing here?



Stored Procedure Extract from SSIS job not completing

$
0
0

Hi,

We recently upgraded from SQL server instance from 2008 to 2016 and also upgraded the SSIS jobs accordingly. One of the SSIS job is executing a stored procedure to create an extract file by pulling data from a SQL server table and this job is NOT completing in SSIS 2016. When I run the same job with 2008 SSIS, it runs fine and creates the extract file. In SSIS 2016, the job is executing but never completing.

Can someone help?

Thanks

Cannot see the excel sheets

$
0
0

Hi All

I am using an excel source and when i click on the drop down i cannot see the excel sheets. I installed 32 bit drivers as well from the link, set the delay validation to TRUE, in the debugging made the runtime 64 bit false and still cannot see the sheets. I am getting the following error message

32 bit download link

https://www.microsoft.com/en-za/download/details.aspx?id=13255&ranMID=24542&ranEAID=TnL5HPStwNw&ranSiteID=TnL5HPStwNw-AUi_lfXisPbhod_3GtusXQ&epi=TnL5HPStwNw-AUi_lfXisPbhod_3GtusXQ&irgwc=1&OCID=AID2000142_aff_7593_1243925&tduid=(ir__bbofls6nwwkfrnpp2j3ttrvko32xj6k2r6s1wgaf00)(7593)(1243925)(TnL5HPStwNw-AUi_lfXisPbhod_3GtusXQ)()&irclickid=_bbofls6nwwkfrnpp2j3ttrvko32xj6k2r6s1wgaf00

TITLE: Microsoft Visual Studio

------------------------------

Could not retrieve the table information for the connection manager 'Excel Connection Manager'.

Failed to connect to the source using the connection manager 'Excel Connection Manager'

------------------------------

BUTTONS:

OK

------------------------------

Please advice. Do i need to restart the machine?

Thanks

SSIS job is getting failed.

$
0
0

Hi Experts,

Please help with the below issue -

Detailed Error Description:

Executed as user: PRODGRP\!bd_production. Microsoft (R) SQL Server Execute Package Utility  Version 12.0.2430.0 for 32-bit  
Copyright (C) Microsoft Corporation. All rights reserved.    Started:  11:25:28 AM  Error: 2019-08-16 11:25:32.98   
  Code: 0xC0202009     Source: CustomerSiteGroupLoad Connection manager "ExcelSrcFile"    
  Description: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005.
  An OLE DB record is available.  Source: "Microsoft Office Access Database Engine"  Hresult: 0x80004005  
  Description: "External table is not in the expected format.".  End Error  Error: 2019-08-16 11:25:32.98    
  Code: 0xC020801C     Source: (DFT) Stg_CustomerSiteGroup (ES) Customer Site Group [31]    
  Description: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.
  The AcquireConnection method call to the connection manager "ExcelSrcFile" 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: 2019-08-16 11:25:32.98     Code: 0xC0047017   
  Source: (DFT) Stg_CustomerSiteGroup SSIS.Pipeline    
  Description: (ES) Customer Site Group failed validation and returned error code 0xC020801C.
  End Error  Error: 2019-08-16 11:25:32.98     Code: 0xC004700C    
  Source: (DFT) Stg_CustomerSiteGroup SSIS.Pipeline     
  Description: One or more component failed validation.  
  End Error  Error: 2019-08-16 11:25:32.98    
  Code: 0xC0024107     Source: (DFT) Stg_CustomerSiteGroup      
  Description: There were errors during task validation.  
  End Error  DTExec: The package execution returned DTSER_FAILURE (1).  
  Started:  11:25:28 AM  Finished: 11:25:32 AM  Elapsed:  4.297 seconds.  The package execution failed.  The step failed

Version of SSIS : 2013

Deployment mode  : Package Deployment

Bit version : 32 bit

We have deployed using do not save sensitive

We have saved the excel file in .xlsx format.

one other observation : SSIS Job failing to ingest data from excel to stage table with row count 191246 , but successful in loading same file with row count 76510 .

Requesting you help.


Abhisek Mondal



Visual Studio 2017 SSIS Package - Excel Source Generating Error at Data Flow Task 1 - No column information returned by SQL command

$
0
0

I'm using an SSIS package (MS Visual Studio 2017) to import an Excel spreadsheet (97-2003 Workbook) into a table (SQL Server Management Studio 2017). The import needs to skip over the first four rows because the column headings start on row 4. Here is an example:

I use a SQL script to skip the first four rows in the spreadsheet: 

SELECT F1,F2,F3,F4,F5,DATE() AS InsertDate
FROM [Jobs$]
WHERE 
F5 IS NOT NULL 
AND F5 <> "Service Address"
This code works in the SQL Server Import and Export Wizard but when I try to use it to create an Excel Source in a Visual Studio SSIS package, I get the following error message: 


Is there a fix for this?

Import geography and geometry data from a csv file to a table

$
0
0

Hi,

I have a csv file with fields( Id,stnumber,stname,latitude,longitude,se_east,se_north,street_area,street_lenght)

 I need to import the data into a table, but the fields after  stname,will be converted into two fields(geography)and (geometry)

Can somebody please guide me how I can achieve that through a package?

Thanks a lot

Jenni 

Access Dynamics CRM via SSIS OData: estimatedclosedate null

$
0
0

Hi all,

I'm developing a SSIS solution to import Opportunities data to a OLAP Cube via SQL 2016 SSIS new Odata for Dynamics CRM online.

All Works fine, except that the 'estimatedclosedate' and 'actualclosedate' fields are NULL but they are informed in CRM.

There is not problema with other date fieldas like 'modifiedon' or 'createdon'.

Any idea?

Regards!

how to add variables in package

$
0
0

Hi,

I want to add some variables to the package. I know how to add it in the SSIS menu. Is there any other way, such as using code?

Any helpful information will be very appreciated!

Thanks

SSIS connecting ole db driver Oracle 11g but not Oracle 12c

$
0
0
On my system, Oracle 11g and Oracle 12c are installed. When i try to create a connection using "Oracle provider for ole db" it is picking up 11g thru SSIS. How do I change to Oracle 12c? My source system changed to Oracle 12c so am not able to connect using  "Oracle provider for ole db" . It's throwing an error: Ora-28040 no matching authentication protocol

SSIS Azure Flexible file destination - Java OutOfMemory

$
0
0

I have a pretty big file to off load in a parquet format

How to overcame that error Microsoft.DataTransfer.Common.Shared.HybridDeliveryException: An error occurred when invoking java, message: java.lang.OutOfMemoryError:Java heap space total entry:11

Using SSIS :What is better between using REST API or querying a database directly?

$
0
0

I am working on creating a data warehouse for a client. To extract data, I can use :

  • Direct T-SQL queries to the production database
  • API/JSON 

I want to know what is better concerning the data quality and performance between these two alternatives ?


api rest

$
0
0

Hallo everyone ,

i need to get infromation from a website (i have a Url from the Rest API) and to enrigester there in a file (txt or exel ) can someone Help me?

Thanx

Yet another problem doing the Deployment Tutorial!

$
0
0

I am tring to do the SSIS Tutorial on Deployment.

I have the following problem:

On the Data Flow diagram the OLEDB Destination has an error.
When I go to the editor and look at the Mappings, the Input columns are to do with Shipping and orders,where as the Destination is to do with the database version, as the table was set to the AWBuildVersion??

I did try to see if could match it with the correct table, but can't spot which is the correct one.

Has anyone who may have looked at this before know which table to use?

These are the 3 exceptions:
Error        An error has occurred while connecting (local).AdventureWorks: Exception from HRESULT: 0xC0202009.        LoadXMLData    0    
Error        Validation error. Load XML Data: Load XML Data: The number of input columns for OLE DB Destination.Inputs[OLE DB Destination Input] cannot be zero.        LoadXMLData.dtsx   0    
Error        Validation error. Load XML Data OLE DB Destination [46]: The number of input columns for OLE DB Destination.Inputs[OLE DB Destination Input] cannot be zero.        LoadXMLData.dtsx   0    

I am using:

Microsoft SQL Server Data Tools for Visual Studio 2017  (SSDT)
Version 15.9.15
VisualStudio.15.Release/15.9.15+28307.812
Microsoft .NET Framework
Version 4.8.03752

I know that this is an outdated tutorial, but can someone help me solve this?

TEH

OST to PST Conversion

$
0
0

I have tried a lot of tools for conversion but found OST to PST Converter one of the best, it is ads free , easy to use, fast in processing, please recommend me any other tool also that can help me in  easy conversion from ost to pst conversion online.

coolutils dotcom slash OSTtoPSTConverter


getting up to speed on the ssis catalog

$
0
0

Hi we run 2017 STD. I just read the basics on setting up and using the ssis catalog.

It looks relatively easy.

It seems that I'd be well advised to have both a production branch and dev branch in my source control if i'm always deploying a project rather than an individual pkg.  Otherwise I might deploy something not yet ready for prime time along with the change that is ready. 

Any thoughts?


Yet more problems with SSIS Deployment Tutorial!

$
0
0

I am trying to complete the Deployment tutorial (https://docs.microsoft.com/en-gb/sql/integration-services/packages/legacy-package-deployment-ssis?view=sql-server-2017) and I have got to Lesson 1-5.

When I check the Data Flow diagram the OLE DB diagram has an error.

When I looked at the Package Configuration for this item, it is looking for a table [dbo].[OrderDatesByCountryRegion], but this does not exist.  I assume that this information is imported when the existing package is added.  On inspecting all of the Adventureworks DB's that I have copies of, I can't find a table of that name.

I'm stumpted until I can get the correct DB or at least a copy of the table.

Does anyone know what DB was used when this was first used.   I understand that this was written a long time ago, things may have changed.


TEH

Viewing all 24688 articles
Browse latest View live


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