Our intranet site stopped working over night. A short look into the errorlog showed me a
EntityCommandExecutionException - An error occurred while executing the command
with the inner exception
Devart.Data.Oracle.OracleException - {"ORA-00904: \"MONTH\": invalid identifier"}
The exception occurs during a selection with LINQ. The where statement simply compares DateTime‘s Month and Year against some integer.
The oracle table itself simply has 4 columns (number:id PRIMARY KEY, varchar2:text, number:sum, date: creationdate).
I can reproduce the problem local with a new devart model and with a ADO.NET entity model as well against the same database.
The environment:
- Devart dotConnect for oracle 6.10.96.0
Please check your .NET Framework version.
.NET v4.5 is supported by dotConnect for Oracle starting from the 7.2.77 version: http://www.devart.com/dotconnect/oracle/revision_history.html .