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

Execute DTS 2000 package task not working

$
0
0

I have SQL Server 2005 SP5 on window server 2003R2 with SP3.

2 days back we moved our 1 instance of 2005 from existing server to new server with same infra. I restored the MSDB on new server so that i can have all SSIS package and jobs on new server. All SSIS packages worked fine except which were connecting to SQL 2000 with DTS package task.

The package which have Execute 2000 DTS package task throws below error in control flow while executing or when i click to edit this task.

TITLE: Microsoft Visual Studio
------------------------------

The task with the name "Execute DTS 2000 Package Task" and the creation name "Microsoft.SqlServer.Dts.Tasks.Exec80PackageTask.Exec80PackageTask, Microsoft.SqlServer.Exec80PackageTask, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" is not registered for use on this computer.
Contact Information:
Execute DTS 2000 Package Task

As per my understanding its due to some version difference, however i am unable to troubleshoot where the version diff is.

Quick help is appreciated.


Charanjit Jagdev



Connect SSIS - IBM MessageQueues

$
0
0

Hello All,

I want to connect SSIS to IBM Message Queues in order to submitte FCR (cobol records) to message queue and also want to read FCR from message queues But  have never done these things also my Business Intellegence is istalled on Citrix Server can anyone please let me know what are prerequisites is there any drivers do i need to install for this and anything else.

After doing google i found one link

http://social.technet.microsoft.com/wiki/contents/articles/ssis-connectors-with-ibm-mq-series-websphere-mq.aspx

But i didnt understand how to implement these thing can anyone have idea in detail how to do achieve this task please let me know.

Thanks


Lookup Transform Not Getting Matches

$
0
0

Hello!

I am using a Lookup transform to transform some data. I observed that columns with an int as a data type are picking up matches but not so with nvarchar and varchar columns. I have tried and done all I could but still no success at the moment. I understand that if you are matching up with data from Excel, you've got to trim, even so, I have done so with data coming from the database - rtrim and ltrim all to no avail.

What it is is that in a table I have a column called Code with values like (a, b, c,) etc and a lookup table where the ID matches like :(a = 1, b = 2, c = 3 and so on). I want the lookup to pick up the ID where a = a and give the ID as '1'... but that is not happening.  Rather, every role returned results in nulls.

What do I do to get a match using this transformation or is there a better way of doing this (not fuzzy lookup)?

I anticipate your answer. Thank you.


Zionlite




OLE DB Source Columncannot be found at the datasource.

$
0
0

I have  a series of dataflow tasks and the last one is giving me trouble.  There is no intermediate steps involved, its simply a oledb source and oledb destination. The source data access mode is "sql command from a variable", which if i check the query at debug time, is fine.

At first I was getting errors similar to this

component "OLE DB Source" (414)" failed validation and returned validation status "VS_NEEDSNEWMETADATA"

Then, I changed the property "ValidateExternalMetadata" to false

When I run the package, I get an error similar to

OLE DB Source [414]: Column "my_column_name" cannot be found at the datasource.

Well, dadgumit...I know that column is there, the mappings look fine and Ive tried deleting and re-creating the source/destination a few times, same error.

I know the source and destination tables are the same, because I took the create script from the source to create the table at the destination.

suggestions?


sfsf

replace null with blanks

$
0
0

I am loading excel files into a SQL database as tables using SSIS.

In the excel file some values in a every column were blank. After loading this data into the database table the blanks are appearing as "NULL". My task is to get rid of these "NULL"s and replace them with blanks.

What transformations in SSIS can be used to solve this issue?

NOTE: I want to solve this problem using SSIS and not SQL or excel.


Dhananjay Rele

SharePoint Adapter x86 or x64?

$
0
0

I have a ssis package developed on x86 machine using the sharepoint list source adapter. 

I need to deploy the package to a x64 server, that runs my package on 32bit mode.

I have to install the version x86 or x64 of this adapter?


Se esta sugestão for útil, por favor, classifique-a como útil. Se ela lhe ajudar a resolver o problema, por favor, marque-a como Resposta.

Predicate pushdown through a linked server

$
0
0

In sql server
create view db2ravi as select * from Openquery(hellodb2, 'select * from proj');
select * from db2ravi where pnum=P1"
but in the db2 server it is executing only select * from proj in place of select * from proj where pnum=P1
The above behaviour is same in Informix as well

 What all the settings I need to tweak from sql server end to push the predicate to Informix/DB2 


Thanks in advance.

Execute T-SQL Statement Task

$
0
0

Hi All,

what is Execute T-SQl statements, which secenario we are going to use ? what's the advantages and disadvantages example of with source code..

Thanks

Ram


max error count rollup behavior

$
0
0

Hi.  I have a master pkg that contains a large number of containers.  Many of these containers call multiple sub packages which of course contain a number of components.  

I see that max error count is a setting on a variety of things including pkgs, containers and components.  So I assume if two components in the same sub pkg experience an error, and the sub pkg's max error count is 2, it will abort.  But not if the max is 3.   Or not if only one error is encountered.

Can I also assume that those 2 errrs roll up as max error counts to the container that called the sub pkg?  And if that exceeeds or equals the container's max, I'll abort?

Can I also assume they'll roll up to the master pkg and count towards it's max?

I should mention that the reason I'm asking is that we get cryptographic errors that mean nothing after our variables etc finally map to some of our flat file attributes.  And some of them dont even show a source in the ssis log which makes me wonder if they count toward any of the components' maxerrorcounts. 

But unfortunately some (perhaps ones with sources) are counting toward our max error count at what looks like more than 1 level in the log.  So I dont yet understand.  

I may be looking at delay validation next but have always been resistent to using it.  And I'm not sure if it would help here.  And not sure if it can be set once at a pkg level for all containers and components contained in that pkg.


db042188





How to fail a dataflow task if no records updated?

$
0
0

I have several dataflow tasks with a sequence, and they should all find 1 or more records in their source to insert into the destination.  If the destination doesnt get any records to it, the dataflow task should fail, as well as the package.  The package is using a transaction, but how do I make the dataflow task fail based on the situation I just described?

For Each Loop issue

$
0
0

Hi,

I'm trying to use for elach loop in SSIS to pass the variables in the Oracle source query, But on running the package I'm getting error as -

1)   [OLE DB Source [1]] Error: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80040E10.

2)   [SSIS.Pipeline] Error: component "OLE DB Source" (1) failed the pre-execute phase and returned error code 0xC0202009.

I could not find much solution on this.

Thanks,

Madhur


madhur_ms


.Net provider for OleDb, Sybase Adaptive Server Anywhere OLE DB Provider 9.0, can't be located when creating Connection Mgr

$
0
0

I have SQL Anywhere 9 for Windows x64 (Developer Edition) installed on a Windows 2008 R2 server and on my Windows 7 desktop.  The reason for the out-of-date SQL Anywhere is that this is the level of the embedded database used by our POS application, Micros.  I downloaded the SQL Anywhere 9 for Windows x64 (Developer Edition) back when it was available on the Sybase website as an unlimited trial version, in order to get two components: Sybase Central for querying the database, and the OLE DB provider for developing MS SQL Server Integration Services packages to extract data from the Sybase database and load it into MS SQL databases for reporting and analysis.

After having had my PC updated from Windows XP to Windows 7, the problem I am having is that when I try to create a Connection Manager to access the Sybase database, using BIDS/Visual Studio on my desktop, the OLE DB driver is not listed under "Provider:"; on the Windows 2008 R2 server where I also installed SQL Anywhere 9, and which also has BIDS/Visual Studio, the "Provider:" dropdown in the Connection Manager dialogue lists "Sybase Adaptive Server Anywhere OLE DB Provider 9.0".

In both cases (on my desktop, where it doesn't work, and on the server, where it does) I am right-clicking in the Connection Managers pane and selecting "New ADO.NET Connection".

Is anyone aware of any additional steps I need to take in order to make this work.  We have production packages pulling data out of Sybase into MS SQL, and I'd prefer not having to log on to the server in order to maintain these or to create new Sybase to SQL packages.


replace null with blanks for float

$
0
0

I am loading excel files into a SQL database as tables using SSIS.

In the excel file some values in a every column were blank. After loading this data into the database table the blanks are appearing as "NULL". My task is to get rid of these "NULL"s and replace them with blanks.

What transformations in SSIS can be used to solve this issue?

NOTE: I want to solve this problem using SSIS and not SQL or excel.

NOTE: The column is of datatype double precision float.


Dhananjay Rele

Unable to see global temp table in OLE DB Destination

$
0
0

I'm unable to see/view global temp table in OLE DB Destination.

I'm first creating SQL Task to create temp table. Then in DFT ,Im using OLE DB destination which should point out to that global temp table which I created in SQL Task.

Also, I have set the destination connection property " RetainSameConnection" property to TRUE.

Here is the script for sql task:

IF OBJECT_ID('tempdb..##tmpTeams') IS NOT NULL DROP TABLE ##tmpTeams

CREATE TABLE ##tmpTeams ( Team VARCHAR(255), Mascot VARCHAR(255), State VARCHAR (2) )

Please let me know , if Im making mistake somewhere. Your help is appreciated.


ZK

FireInformation Method parameters

$
0
0

http://msdn.microsoft.com/en-us/library/ms136054.aspx?cs-save-lang=1&cs-lang=vb#code-snippet-1

signature

Parameters

informationCode
Type: System.Int32
An Integer that identifies the informational message.
subComponent
Type: System.String
A String that contains more detail about the event source.
description
Type: System.String
The text of the message.
helpFile
Type: System.String
The path to the Help file that contains detailed information.
helpContext
Type: System.Int32
The identifier of the topic in the Help file.
fireAgain

Type: System.Boolean
A Boolean that indicates this should continue firing or stop firing. A value oftrue indicates that it should continue firing.

If I am logging to a file, what do i pass for informationCode, ive seen both 0 and -1

For example, im doing this in a script task

Dts.Events.FireInformation(0, "Order# ", "Processing Order# " + sOrderNum, "", 0, False)

When looking at the log, i see a line starting with OnInformation, but my log entry is not there. It does look like my variable value for sOrderNum made it, but the text did not?

(the script task is named Update query strings and write to Log)

OnInformation,blablabla,blablabla,Update query strings and write to Log,{BB714A61-42A6-4156-9DCA-8C41272E8849},{B532673B-60A2-4BCA-A427-C2559608B9E3},6/27/2013 3:05:32 PM,6/27/2013 3:05:32 PM,0,0x,0081782220

Shouldnt both strings "Order#" and "Processing Order#" show up on the same line ?



SSIS error Failed to start project...

$
0
0

Hi all,

I created a simple package in SSDT(SSIS) 2012 and configuring it with xml configuration.

i am getting the following error

TITLE: Microsoft Visual Studio
------------------------------

Failed to start project

------------------------------
ADDITIONAL INFORMATION:

The package has been modified since the last build. Build the project and try again.
 (Microsoft.DataTransformationServices.VsIntegration)

With out xml configuration,it is working fine.Do any 1 has idea about this ??

Regards

Shoeb

Conditional split or not

$
0
0

Hello,

I need some columns of my CSV file to be split depending on the data and part of it need to append to the next column.

service center|center name|car|car name|missing, defects

I want to see

service|service center|car|car name,missing-defects

This is the case for only a partial set of my data. 

How can I achieve this in SSIS?

Thanks

inavap

SSIS GETDATE() expression returning null or blank value

$
0
0

Using SQL2008 SP3, I have an SSIS package that uses an SQL Task. Within it, I have the following expresion to get the current date and time and insert it in a table:

SUBSTRING((DT_WSTR, 50) GETDATE(), 1,  FINDSTRING((DT_WSTR, 50) GETDATE(), ".",1) -1)

it works great 99.9% of the time, yet once in a while, I get the following error message when evaluationg this expression:
The length -1 is not valid for function "SUBSTRING". The length parameter cannot be negative. Change the length parameter to zero or a positive value.

So, my guess is that on that run the GETDATE() function returned null or blank or something that was not able to be used by the SUBSTRING function.

Any ideas what could be wrong? Is it just a hick up in the system?

Thanks so much for your feeback.


Paulino

SQL task - result single row - how to assign value from result to variable

$
0
0

I have a sql task, which is returning a single row (just does a select count(*) )

I need to get that count value into a variable then use it on constraints that come after the sql task.

I think its the query im using that is giving me trouble

SELECT COUNT(*) FROM DB.MyTable where testID = '(?)'

...where testID is a nvarchar(30) type

The error Im getting is something like

"ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.

How to load data from Google analytics to SQL SERVER 2005

$
0
0

Hi All,

Is there any solution to  load data from google analytics (API) to SQL Server 2005.

Many Thanks

Anil


Laky

Viewing all 24688 articles
Browse latest View live


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