You need to post the queries that are causing this error. Also you need to check any DateTime values you send to the SQL Server:
public static bool SqlTypeInRange(DateTime value)
{
return ((value <= System.Data.SqlTypes.SqlDateTime.MaxValue.Value) && (value >= System.Data.SqlTypes.SqlDateTime.MinValue.Value));
}
sknake
Industrious Poster
4,954 posts since Feb 2009
Reputation Points: 1,764
Solved Threads: 735
You're welcome
Please mark this thread as solved if you have found a solution to your issue and good luck!
sknake
Industrious Poster
4,954 posts since Feb 2009
Reputation Points: 1,764
Solved Threads: 735