Solved

SSIS - Error on ETL

Posted on 2014-07-24
1
290 Views
Last Modified: 2016-02-11
Hello,
I have a dtsx package running on SQL SERVER 2005 , which has been running without issue for a number of years.
today I didn't see any errors on the package process itself. however, the results being inserted into my Fact are incorrect.

When I opened the dtsx and checked it out, and ran it myself, the package seems to run and tell me in some cases I have duplicates - which i am starting to work on , but it also gave me an error on one of my conditional tasks.

on the SP that I pull from the source task - there is a field which is setup as 1 or 0
- I setup a conditional task to check this and send if results are = 1 to down one way and if they are not they go to another task to be processed.

however I am getting the following error telling me there is a null value in my result sets and so the step can not be completed.
" Error: 0xC020902B at Process : The expression  on "output evaluated to NULL, but the "component " 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."

I have ran the SP on its own (this is the source SP where the field in question is held) - returning over 150k rows and there are no null values in the field in question.
The condition is setup as follows
Where dist_offserver == 1 the output is set to one way
Default output for everything else..

Has anyone come across this before?
what do you think could be the issue? is there any thing I can do to help me find where this null value is coming from

thank you.
0
Comment
Question by:Putoch
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 

Accepted Solution

by:
Putoch earned 0 total points
ID: 40218396
I have found the problem.
When I looked at my source SP I was looking for the current month, however the issue was within the previous month.
some files were loaded yesterday manually - and given last months date - however, these particular files include null values against the particular field I am getting the error at.

I hope this will help someone else if they get this issue.

Look out for the source info.
in the end rather than looking at everything for the month I was in, I ran a query against the source for Null values against the problem column .

thanks,
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question