I have successfully made a couple of SSIS packages to read data from a legacy AS400 to SQL Server 2005. These are working fine. I am now working on one that is trying to pull some financial data and I keep getting the following error for the decimal columns:
"The component ciew is unavailable. Make sure the component view has been created. The input column "input column AMT1 (2870) cannot be mapped to "external metadata column AMT1(2852) because they have different data types."
Now I made sure that the data sitting on the AS400 is of type decimal and the SQL server column is the same. What else do I need to look for?
Thanks for the information.
Go to the advanced editor of the source component and compare the datatypes of the input and output column...that may give you a clue. Also remeber that there is a data conversion transform available in data flow.|||how did you do that, may I ask?
I suggest you change the name of the "output column" in the
datasource this is done by
1. right clicking the datasource
2. show advance editor
3. click input or output properties
4. expand the datareader output if its a datareader
5. click on output columns.
6. look for the columns you want to change and click it,
7. Add an "x" in the column "name" property say "xuser_id" for the orginal column "user_id"
8. click ok
9. check the mappings column mapping by following steps 1 and 2
10 add a derived column transform.
12. transform the column to the desired format
13. in the derived column transform make sure that the "derived Column" property is set to "new column"
and in the derived column name remove the "x" we add in step no. 7 of course you need to set the right format
wheewww. this is long... hahaha
No comments:
Post a Comment