Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

SSIS - Error on ETL

Posted on 2014-07-24
1
Medium Priority
?
304 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

A couple of weeks ago, my client requested me to implement a SSIS package that allows them to download their files from a FTP server and archives them. Microsoft SSIS is the powerful tool which allows us to proceed multiple files at same time even w…
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
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed

670 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