I have configured my ASP.Net application to Win 2008 R2 64 bit with Sybase 15.5 client.

I am getting the following error while calling the stored procedure which is using datetime having default value null. When application call stored procedure with some value its working fine but when application call stored procedure without datetime field in that case it should pick default value it is giving following error.

[Sybase][ODBC Driver]Invalid datetime field. Year is out of rangeSource--> Adaptive Server EnterpriseMethod--> HandleError

While the application is working fine in windows 2003 with Sybase 11 client.