Forum Discussion
Anonymous
10 years agoNot applicable
Not a legal OleAut date..
Getting the following error while refreshing from an Oracle DB using the Gateway refresh... The following exception occurred while the managed IDataReader interface was being used: Not a legal Ol...
Evgeniy_A
7 years agoNew Member
Solution:
I had the same issue
| Data source error: | Not a legal OleAut date.. The exception was raised by the IDataReader interface. Table: ... |
In my case the issue of updating data set was:
in one table with Customers data we had birthday date - in date format obviously.
some of dates were incorrectly filled with data earlier than 1/1/1900 (for example "1/30/0992"
after filtration of the filed issue disapired.
looks like it some data filed parameter - which doesnot read that type of dates.
hope that helps
muneern
7 years agoFrequent Visitor
Hi All,
I had the same problem -- but wasnt able to easily identify the root cause, since there were many dates that were at extreme ends of the range (e.g. Year 0001 or year 9999)
This is what I did to fix it:
- Added a custom column in the with the following formula:
NewColumn = Number.From([Due Date]) - Convert custom column to decimal number
- Sort the table by this column
This then gave the following error, which I could use to identify the problematic records in the table:
I hope this helps someone else.