Solved

SSIS - Error on ETL

Posted on 2014-07-24
1
279 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
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Solution for warm standby SQL server 20 40
SQL server is using more virtual memory. 5 68
Sql query 107 29
SQL Field Length for Email Address 3 17
In couple weeks ago, I encountered an extremely difficult problem while deploying 2008 SSIS packages to a new environment (SQL Server 2014 standard).  My scenario is: We have one C# application that is calling 2008R2 SSIS packages to load text fi…
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Viewers will learn how the fundamental information of how to create a table.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

895 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now