Saturday, February 12, 2011

SQL Server, Multiple-step OLE DB operation generated error.

PROBLEM: SQL Server,  Multiple-step OLE DB operation generated error.

ISSUE: There are some really technical reasons that causes this error message. HOWEVER, most of the time, it is just a simple Data Type error.  A very easily overlooked error would be like:
in the SQL table, a field is defined as DATE, but in the program, you're trying to assign a DATETIME value to it.  Since there is a TIME element in the DATETIME field, it cannot fit into the DATE field in the SQL server thus causing this problem.

RESOLUTION: Change the DATE field in SQL table into DATETME.

No comments:

Post a Comment