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

Clean solution to use Database Links in OLEDB source

$
0
0

Hi,

I have a connection to server A and from there, I have access to a set of views that are behind a database link.

All the queries I can do follow have the following semantic:

SELECT CODE, DESCRIPTRION

FROM STUDENT@DBLINK_DEV

but then in production it will be

SELECT CODE, DESCRIPTRION

FROM STUDENT@DBLINK_PRD

Is there any clean solution to have the dblink in a parameter without having to use a SQL statement inside package variable?

Thank you

 


SQL Server Denali is required to install integration services

$
0
0

Hi,

I've just installed a named instance of SQL Server 2014. I'm trying to create the SSISDB catalog and getting the following error.

"SQL Server Denali is required to install integration services"

I have 3 instances on my machine.

1. Default instance SQL Server 2012 SP1

2. Named instance SQL Server 2008 SP1

3. Named instance SQL Server 2014 SP1

The SSISDB creation works on the 2012 instance.

SQL Server BI Development Environment Setup

$
0
0

I am seeking recommendations on environment setup for SQL Server 2014 BI Development (small team)

Currently we are a team of 2 persons doing some development on our laptops.

We do not have local environment - i.e. we are running SSMS and VS2013 locally, but no local DB's.
SSIS packages are are also stored locally during development.

All integration testing is run from our laptops pointing the SSIS packages to our development server.

Deployment is done from VS2013 to the SSIS package store on our dev / prod server.

This is working ok as long as we are working on separate solutions.
Of course we would prefer using a source control tool like TFS Source Control / Subversion, but that's not an option at the moment.

I would like to avoid being dependant on laptops for dev work.

Any suggestions on how to setup an environment for a small team (2-3 people) avoiding using local laptops.

Is it possible to use a server for development work ? Our DBA will not allow installing VS2013 on our SQL dev server, so we need another server for development work only.

I am thinking a windows server with SSMS and Visual Studio installed and work directly on this via RDP.

Any ideas how this will work if multiple users will log in an work here ?

Any good suggestions on other setups ?


dakine

A buffer failed while allocating bytes.

$
0
0

What is the Exact fix for the following error message in SSIS 

Error: A buffer failed while allocating 3640 bytes.
Error: The system reports 89 percent memory load. There are 8544776192 bytes of physical memory with 886386688 bytes free. There are 4294836224 bytes of virtual memory with 113836032 bytes free. The paging file has 24271511552 bytes with 14344065024 bytes free.

Thanks in Advance

Can I access a variable from a dataflow task?

$
0
0

I have a dataflow task with an OLE DB Source which uses a SQL Command.

I need to have the sql text access a variable that is at the package scope.

Is there a way to do this without resorting to a SQL command from variable (define the sql command in a script etc...)

Need: Offline Help in Visual Studio 2013 for Integration Services

$
0
0

Hello,

i began with an fresh Windows 7 Box.

  1. First i install SQL Server 2014 Client Tools.
  2. Then install BOL 2014 for offline use, with Help Manager 1.0
  3. Then install SSDT-BI for Visual Studio 2013
  4. Download, extract and install Visual Studio 2013 Help (thanx to: https://social.msdn.microsoft.com/Forums/en-US/0287fdc7-c1e1-4491-b39b-bb7ab7ae7e33/error-installing-local-help-with-help-viewer-2?forum=devdocs)
  5. Install BOL for SQL Server 2014 in with the Visual Studio 2013 Help Manager 2.1 for offline use.
  6. I turn on: "open in Helper Window" in Studio 2013

But now, if i'm inside in the SSIS designer and click for help, an browser session is opening. And because we dont have internet the question runs into an error.

What can i do, to change the SSIS Designer Help to use the contents from disk?

greetings

selcer

BIDS in VS2008 not working for SSIS packages. - cannot load IDTSPackageSigning100......

$
0
0

Folks,

I'm trying to create a new SSIS 2008 package on my dev machine, but I suddenly get:

Error loading 'Package.dtsx' : Could not load type 'Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackageSigning100' from assembly 'Microsoft.SqlServer.DTSRuntimeWrap , Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91'.. 

I had SQL Server 2008 R2 on that machine for a bit, but removed it and re-installed 2008 with SP1. I also ran the "Repair" function of the SQL Server 2008 installation on it, to no avail....

Any ideas??


Marc - Berne, Switzerland - May The Source Be With You!

SQL server import and export wizard

$
0
0

I am using SQL Server 2012 Version  11.0.2100.60

Whether I try to import data into a database or export I receive the following error: 

SSIS Runtime Object could not be created.  Verify the DTS.dll is available and registered.   The wizard can not continue and will terminate.

Additional imformation :

Creating an instance of the COM component with CLSID {8BF6572D-674B-494E-9047-DDD0E24BB785} from the IClassFactory failed due to the following error : c0010014Execption from HRESULT : 0xC0010014 . (DTSWizard)

I have no idea why I am getting this error and would appreciate any help. please tell me what i have to do step by step


SSIS Package failing with error.

$
0
0

Microsoft (R) SQL Server Execute Package Utility  Version 10.0.5500.0 for 64-bit  Copyright (C) Microsoft Corp 1984-2005. All rights reserved.    Started:  8:15:01 AM  Error: 2015-03-05 10:00:01.95     Code: 0xC002F210    Source: Execute SQL Task     Description: Executing the query "DECLARE @DataDate DATETIME  SET @DataDate = convert..." failed with the following error: "Unspecified error". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.  End Error  DTExec: The package execution returned DTSER_FAILURE (1).  Started:  8:15:01 AM  Finished: 10:00:02 AM  Elapsed:  6300.29 seconds.  The package execution failed.  NOTE: The step was retried the requested number of times (2) without succeeding.  The step failed.

I am unable to run the package in BIDS Either.

I ran the script manually and i get below error

"A severe error occurred on the current command. The results, if any, should be discarded."

Lookup, Columns, Cannot map the input column, 'LastName', to the lookup column, 'LastName' because the data types do not match

$
0
0
Hello everyone,

I am using SSIS 2008.

I am trying to do a lookup to see if a student already exists.  I have tried several things but I keep running up against the same roadblock.
 
I am importing from an Excel spreadsheet.  In it is a name field, which has the last name first, a comma, then the first name and middle name.  I am exporting to a table StudentIdentification.  LastName, FirstName and MiddleName are all varchar(100) columns.

When I edit the Lookup Transform, On the Connection screen, I pick the StudentIdentification table.


Try 1: I wrote a view against StudentIdentification to produce a Fullname_LNF (last name first) column.

On the Columns screen, I click on the Excel Name column and drag it to the Fullname_LNF column and I get the error: Cannot map the input column, 'Name', to the lookup column, 'Fullname_LNF' because the data types do not match

Try 2: I dropped the view.  I made a computed column in StudentIdentification, called it Fullname_LNF, with the formula RTrim(LastName + ', ' + FirstName + ' ' + Coalesce(Middlename, ''))

On the Columns screen, I click on the Excel Name column and drag it to the Fullname_LNF column and I get the error: Cannot map the input column, 'Name', to the lookup column, 'Fullname_LNF' because the data types do not match

Try 3: I made a derived column within the Excel input stream, called it LastName.  The expression is Substring(Name, 1, Findstring(Name, ",", 1) -1)

On the Columns screen, I click on the Excel LastName column and drag it to the LastName column and I get the error: Cannot map the input column, 'LastName', to the lookup column, 'LastName' because the data types do not match

I appreciate any assistance in this matter.

Thank you,

Bryan Shaw
bryanshaw46@yahoo.com

Can we pass a object variable to a child package???

$
0
0

I have a parent package in which i have a recordset destination task. I want to store the rows of record set destination into a object variable and send that to child package in which fora each loop container uses the object variable to process a logic for each row 

Is that possible ???

how to send a object variable to a child packahe In SSIS 2012??

Issue of Text Qualiffier after upgrading to SQL Server 2014 Standard

$
0
0

Hi,

I'm facing an issue of Text Qualifier after I upgrading my system to SQL Server 2014 Standard Edition (Microsoft SQL Server 2014 - 12.0.2000.8 (X64)
    Feb 20 2014 20:04:26
    Copyright (c) Microsoft Corporation
    Standard Edition (64-bit) on Windows NT 6.3 <X64> (Build 9600: ) (Hypervisor)
).

I have a csv file with format: Text Qualifier is double pipes ||, Vertical Bar (|) as Column Delimiter and  Row Delimiter is CRLF.

For example file:

||Col1|||||Col2||

||ABC|||||XYZ||

This file is working OK in SQL Server 2008 R2 (SP2) but it does not work in SQL Server 2014. It raised error message while running.

Error: An error occurred while skipping data rows.
[SSIS.Pipeline] Error: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED.  The PrimeOutput method on MediaAgencyGroup returned error code 0xC0202091.  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.

Any suggestion here?

Thanks,


missing .dtsx files

$
0
0

Hello,
When I open the ssis .sln file, it only shows a few of the .dtsx packages whereas there are more .dtsx files to be shown too.
Any suggestions please?

Thanks

change capture

$
0
0

in ssis

i have 2table, one has latest copy of data s whatever changes made for current date i have to capture that change 

and send on text file,

how to do changes in ssis or sql

Issue in downloading XML Files dyanmically

$
0
0

Hi 

I have been trying this for last 3 hours and not really sure what I am doing wrong. 

I have a package to download xml files from the web.

Current I have

1. SQL Task which gets a list of rows from database table and assign to a object

2. Foreach loop through the object to pass 4 values to 4 variables. This 4 variables  are used to generate url and eCourseName value (shown below)

3. Inside the Foreach loop, I have a script to generate a url. 

4. I have another script to download the xml from the url. 

They works all just fine. The problem is the dynamic naming of the download files. 

I create a file connection called 'Course.xml'. The script from the step 4 use this connection to download the file. 

as shown below, I set connection string set by an expression for the flat file connection. But the connection file name uses only the default value set on the 4 variables mentioned on step 2. I checked many times whether the foreach loop task is passing the right values. And They are. The scripts are creating the right url and download files from the right place. 

I set a breakpoint and check the value for eCourseFileName chaning. 

I am not so sure what I am going wrong. 

Below is portion of the script to download the file

mySSISWebClient.DownloadFile(Dts.Variables["CourseURL"].Value.ToString(), Dts.Connections["Course.xml"].ConnectionString);



how do i import data into an existing table

$
0
0
how do i import data into an existing table?

Is this a bug????!!!

$
0
0

Hi 

It is a bit annoying. I have a package to download files to process. After that, I'd like to move it to the archive folder.

I used File System Task...  set IsDestinationPathVariable as True. Then I tried to set DestinationVariable. But every time I tried to click the dropdown arrow button to set the variable, the task editor closes. I tried it again and again...  I restart the system.. restart the app... I still have the same issue.. 

Is this a bug or something?????!!!!!

j

Any help please!!!!!



SQL Server Agent and SSIS

$
0
0

I created a SSIS package that litterally just export a view onto a server. The database, ssis and location are all on the same server. When I run the SSIS package in SSIS works perfectly. When I run it in SQL it doesnt work. I have read way to many articles trying to figure out how to fix this. The best was something about a proxy. I really just want to run the package through as a JOb through SQL Server Agent. Any directions would be great. 

Message
Executed as user: NT Service\SQLSERVERAGENT. Microsoft (R) SQL Server Execute Package Utility  Version 11.0.2100.60 for 64-bit  Copyright (C) Microsoft Corporation. All rights reserved.    Started:  3:15:00 PM  Error: 2015-03-05 15:15:00.41     Code: 0xC0011007     Source: {A9456201-8A74-44C9-839F-1CD3CC02637F}      Description: Unable to load the package as XML because of package does not have a valid XML format. A specific XML parser error will be posted.  End Error  Error: 2015-03-05 15:15:00.41     Code: 0xC0011002     Source: {A9456201-8A74-44C9-839F-1CD3CC02637F}      Description: Failed to open package file 
"C:\Users\lasadmin\Documents\Visual Studio 2010\Projects\Integration Services Project1\Integration Services Project1\Package.dtsx"
 due to error 0x80070005 "Access is denied.".  This occurs when loading a package and the file cannot be opened or loaded correctly into the XML document. This can be the result of specifying an incorrect file name when calling LoadPackage or the specified XML file has an incorrect format.  End Error  Could not load package "C:\Users\Documents\Visual Studio 2010\Projects\Integration Services Project1\Integration Services Project1\Package.dtsx" because of error 0xC0011002. Description: Failed to open package file "C:\Users\Documents\Visual Studio 2010\Projects\Integration Services Project1\Integration Services Project1\Package.dtsx" due to error 0x80070005 "Access is denied.".  This occurs when loading a package and the file cannot be opened or loaded correctly into the XML document. This can be the result of specifying an incorrect file name when calling LoadPackage or the specified XML file has an incorrect format.  Source: {A9456201-8A74-44C9-839F-1CD3CC02637F} Started:  3:15:00 PM  Finished: 3:15:00 PM  Elapsed:  0.015 seconds.  The package could not be found.  The step failed.

thanks


bryan

SSIS ftp question

$
0
0
I have been asked to create an SSIS package (executed from an sql agent job), part of which will be ftping a file from a network server to another server.    I have done dos ftp's before, but never done an ftp thru SSIS.   Does anyone know of a link that shows how to do something like what I'm needing to do?

SSIS Raw File Reader Utility for SQL Server 2014

$
0
0

I have a RAW File reader that worked with SQL Server 2012, but since I've installed SS 2014, it doesn't work.  Can anyone direct me to a RAW file reader?

Thanks.

Viewing all 24688 articles
Browse latest View live


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