I have an ASP.NET application with a WCF service giving users access to a table on a SQL 2005 database.
Users are able to filter using int and Boolean fields etc. however, they are unable to filter using datetime fields. The page returns a HTTP 500 Internal Server Error. I have tried using the various OData datetime search formats and tried versions 1, 2 and 3 of OData but the server still will not respond.
I tested using a development copy of the database on a SQL 2012 box and datetime searches work. So of Couse I assume that the problem is with how datetime fields are processed/stored in SQL 2005. Am I correct in this assumption? Is this a known issue? Is there any way to resolve other that upgrading the SQL version?