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

conditional split output evaluated to NULL

$
0
0

first a tried Roll Num != Dest_Roll Num,then i read

 

http://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/60eb156d-de46-4ed5-8e1c-0b8ace2c4ac7

and tried similarly

RollNum != Dest_RollNum

 

but error remains same

 

Error: 0xC020902B at Data Flow Task 1, Conditional Split [313]: The expression "RollNum != Dest_RollNum" on "output "New" (373)" evaluated to NULL, but the "component "Conditional Split" (313)" requires a Boolean results. Modify the error row disposition on the output to treat this result as False (Ignore Failure) or to redirect this row to the error output (Redirect Row).  The expression results must be Boolean for a Conditional Split.  A NULL expression result is an error.
Error: 0xC0209029 at Data Flow Task 1, Conditional Split [313]: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR.  The "component "Conditional Split" (313)" failed because error code 0xC020902B occurred, and the error row disposition on "output "New" (373)" 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.
Error: 0xC0047022 at Data Flow Task 1, SSIS.Pipeline: SSIS Error Code DTS_E_PROCESSINPUTFAILED.  The ProcessInput method on component "Conditional Split" (313) failed with error code 0xC0209029 while processing input "Conditional Split Input" (314). The identified component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running.  There may be error messages posted before this with more information about the failure.


mhassanshahbaz

How to move from one SQL Server table to another

$
0
0

Suppose I have two tables:

Employee1:

EmpName varchar(100)

EmpAddress varchar(200)

And

Employee2:

EmpID int,

EmpName varchar(100),

EmpAddress varchar(200)

Note: EmpID is not an identity field

How to move all the data from Employee1 table to Employee2 table with values of EmpID as 1, 2, 3, ....so on.

Can anyone have any idea?

Getting Error while trying to execute SSIS package through sql agent

$
0
0

Hi,
I have created a package in SSIS 2008.
I have created sql Agent job which runs perfectly on my Pc.
I tried to create anew job on another pc which doesnot have SSIS.
When i tried to run the Job,
 i am getting folowing error:

Executed as user: LT-MAGFIH$. tion. End Error DTExec: The package execution returned DTSER_FAILURE (1). Started: 8:51:31 PM Finished: 8:51:35 PM Elapsed: 4.024 seconds. The package execution failed. The step failed.

Please let me now how can i solve.

Insert three values for each record

$
0
0

I have a very complex Data Flow, with several joins, splits, etc.... once all of this logic is completed, I need to insert the values 2013, 2014, and 2015 for a Derived Column (called Year).  Each record that comes through this data flow needs to have a duplicated entry three times, and insert these values for the year.

Here's a simple example source:

KeyName

1Brandon

2Thomas

So the target should end up being:

KeyName Year

1Brandon 2013

2Brandon 2014

3Brandon 2015

4Thomas 2013

5Thomas 2014

6Thomas 2015

Can anyone help?


There are only 10 types of people in the world... those who know binary, and those who don't.


extract data between 3 and 6th positions

$
0
0

Hi Gurus, 

I want to extract data between 3rd and 6th positions. 

I have data like this:

Fld1

5016789

509876666

5033284453

O/p

1678

9876

3328

I can't think of a way to use SUBSTRING OR FINDSTRING because there's no common relation between these values. 

Please help me with this.

Thanks

SSIS Package Validation Error

$
0
0

I receive the error 'Error at Extract Data From Access Table [SSIS Pipelin]: The "runtime conneciton "OleDbConnection" does not have a vlue for the ID property"

What is causing this to occur and what can I do to rectify it?  All my fields in my Source Table as well as my Destination Table are mapped to one another?

SSIS problem - Script Component - The value is too large to fit in the column data area of the buffer

$
0
0
I am trying to run a task in a package, however there is a problem come out, see any one meet this before ?

How to create SSIS package that move files ALONG WITH FOLDER from Source to Distination

$
0
0

Hi,

   I want to create a Package that will move Files from particular path to Destination along with Subfolders which lies under that path with files.


Executing SSIS packages.

$
0
0

The SSIS packages has been developed using Visual Studio 2010 Shell. The ssis packages executes fine, if it is executed from VS 2010 shell environemnt (Right Click and execute ) , but while double clicking on the dtsx file and move to Configurations of the left hand corner , the packages was not able to execute.

The Error message as follows.

TITLE: SSIS Execution Properties
------------------------------

The package failed to load due to error 0xC0010014 "One or more error occurred. There should be more specific errors preceding this one that explains the details of the errors. This message is used as a return value from functions that encounter errors.". This occurs when CPackage::LoadFromXML fails.


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

The package failed to load due to error 0xC0010014 "One or more error occurred. There should be more specific errors preceding this one that explains the details of the errors. This message is used as a return value from functions that encounter errors.". This occurs when CPackage::LoadFromXML fails.


------------------------------
BUTTONS:

OK
------------------------------

SQL Database Version

Microsoft SQL Server 2008 R2 (RTM) - 10.50.1617.0 (Intel X86)   Apr 22 2011 11:57:00   Copyright (c) Microsoft Corporation  Enterprise Edition on Windows NT 6.1 <X86> (Build 7601: Service Pack 1)

Attached Screenshot for the same.

SQL Logging not working in SSIS 2008

$
0
0
Hello,

I have packages created in SSIS 2008 and I am trying to enable logging in them. I specified a SQL Server provider and gave it a working SQL Server DB connection as the configuration. I chose to log all the events from the Details tab, then I executed the package. It ran without errors, but no logging occured. Actually neither the logging table, nor the stored procedure that should perform the loggign were created. These exact steps used to work with SSIS 2005 and they'd generate the table, stored proc and start storing logging information. For testing, I also added to the same package logging options a text logging and a SQL Profiler log providers. These were created successfully and have logs entered in them. I tried different DB connections on different servers, but still the table and sp are not even getting created. Any ideas?

Best Regards,
Ketara

ODBC destination - ORA-01461: can bind a LONG value only for insert into a LONG column

$
0
0

I am trying to extract a varchar column from sql server and insert it into oracle using the ODBC destination using SSIS 2012.

The source column is varchar(50) and the destination column is varchar2(50 char).

I am getting the error shown above.

Can anyone provide any pointers as to why I would be getting this?  The column I am populating can take one of four values and the max size is 30 characters.

I am using the following versions:

Sql Server 2012

Oracle 11g

Thanks in advance.



Configure Variables

$
0
0
My package uses a variable which stores a path. How do I configure this in my xml config file?

Anonymous

SSIS:- How to create Slowly changing dimension component using c#.

$
0
0
How to Create Slowly changing dimension using c# Code?

Pivot Transformation question

$
0
0

I find myself needing the functionality of the Pivot transformation, but I need to understand its limitations and capabilities better.

I actually need 2 Pivots to bring in the data needed from row data in separate tables.

In the first instance, there are approximately 25 possible values in the field, however I only need three. How can I limit this to avoid defining all of the fields individually? There are strict restrictions on the table housing the data nd I cannot include all of the values if they will not be used.

In the second Pivot I need about 20-25 different values out of possible 50. Again, I'd like to limit the data pull to the needed values only, and also need to know if there is a limit to the number of values I can define in the Pivot.

Any help is appreciated. I'm struggling with this. I've read about a Custom Property to ignore values that I don't want, but it doesn't appear on any menu within the Pivot.

SSIS, COM and unit-tests

$
0
0

Hi all.

I work on SSIS package and I want it to be run from my programs and from my tests also.

What I have done.

I made Class Library project with the only method as:

using Microsoft.SqlServer.Dts.Runtime.Wrapper;

public class Class1
{
	public void Do()
	{
		string ispacFileName = @"c:\projs2\etl.ispac";
		string configFileName = @"c:\projs2\etl.dtsConfig";
		string packageName = "Etl.dtsx";

		Application app = new Application();
		DTSExecResult result = DTSExecResult.DTSER_FAILURE;

		IDTSProject100 project = app.OpenProject(ispacFileName, null);
		try
		{
			IDTSPackage100 package = project.GetPackageByName(packageName);
			package.ImportConfigurationFile(configFileName);

			result = package.Execute();
		}
		finally
		{
			app.CloseProject(project);
		}
	}
}

Then I created Console Application as:

private static void Main(string[] args)
{
	ClassLibrary1.Class1 c = new ClassLibrary1.Class1();
	c.Do();
}

Wonderful until now. Everything is ok and works perfectly.

Now I want to create a unit-test.
I added Unit Test Project, added a reference to my ClassLibrary1 in it, so the unit-test looks as follows:

[TestClass]
public class UnitTest1
{
	[TestMethod]
	public void TestMethod1()
	{
		ClassLibrary1.Class1 c = new ClassLibrary1.Class1();
		c.Do();
	}
}

I started the test and on the line

	package.ImportConfigurationFile(configFileName);

I got the message:

Result Message: 
Test method UnitTestProject1.UnitTest1.TestMethod1 threw exception:
System.Runtime.InteropServices.COMException: The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))

What is it? Why? I tried to set 4, 4.5, 4.5.1 frameworks as the target - all is the same.

And yes, I know about dtexec.exe. If I use the exe instead of COM, the unit-test success. But I need to run my unit-tests on our build machine. And I cannot start any exe under the account the build machine starts. So I have to use COM way.

Why in Console Application everything is fine but the unit-test fails?
What I did wrong? I have absolutely no idea...


Dynamic File naming

$
0
0

Good day,


I have an SSIS package that uses .csv as a destination. The package is scheduled to run automatically. I would like to dynamically name the files by appending a date stamp. eg.

fileX_20140903_001

fileX_20140903_002

fileX_20140903_003
etc.

I have managed to add a date stamp. I have problems appending the values incrementally as the package runs. For example, for the first run of the day, append 001, for the second run of the same day, append 002, for the third run of the same day, append 003 and so on.

Please kindly assist

SSIS 2012 Lookup transformation Issue

$
0
0

Hi All,

lookup transformation isn't working as expected. I configured 5 columns in it and my transformation input data and reference data is same. so it should redirect all data to matched output but it is throwing all data to not matched output.

any suggestions?

complete exit from pkg on certain condition

$
0
0
How to exit entirely from pkg on meeting certain condition, is there any way to exit entirely ? I tried it worked for exiting from the transmission component alone and passed the control to next component.. but I am trying to exit from entire pkg itself

Neil

problem with ssis 2005 package connected to provider sql server native client 11.0

$
0
0

Hi,

I have created a package in SSDT 2005 where i have connected to sql server 2012 db with sql server native client 11.0.

I am able to run the package in my local machine via ssdt 2005, dtexec.exe 2005 and ssms job 2005.

My local machine configuration is - OS:Windows 7, SQL server 2005 standard, sql client 2012 enterprise with provider sql server native client 11.0. 

Problems

Now when i try to run the package in production server its not running. 

Not able to create the job as well.

Production configuration is - OS:Windows server 2003, and sql server 2005 enterprise edition is installed. 

But not able to install sql server 2012 for provider sql server native client 11.0.

Can anybody help me out how to run my SSIS 2005 package in SQL server 2005 enterprise job with sql server native client 11.0?

Thanks 

Bikram

SSIS 2012 project deployment login fails intermittently connecting to another SQL Server.

$
0
0

(Error: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80040E4D.  An OLD DB record is available. Source: “Microsoft SQL Server Native Client 11.0”  Hresult: 0x80040E4D Description: Login failed for user ‘myuserid’.”) 

This fails intermittently when executed in my nightly job and also fails intermittently when executing the[SSISDB].[catalog].[start_execution]@execution_idT-SQL command.  Each execution attempt was within minutes of each other on a relatively quiet test server. The other server log reports the password does not match the password for the login id.  The passwords are not encrypted. The login is a server login not a AD login. Has anyone had a similar experience? 

Viewing all 24688 articles
Browse latest View live


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