Luis Majano Forums Notification: Post to Datetime odd issue

Title: Datetime odd issue
Thread: Datetime odd issue
Forum: Need Help?
Conference: ColdBox
User: tyman

I'm having an odd issue, and I'm hoping it's something I'm doing wrong.

I am
trying to edit a 'contact' record, which consists of basic user information, as
well as a datetime field called dLastLogin (datetime/nullable).

When I run
this code:

[code]
<cfset tObj = rc.Transfer.get("Contacts.Contacts",
"#rc.ContactID#")>
<cfset getPlugin("beanFactory").populateBean(tObj)>
<cfset a = rc.Transfer.save(tObj)>
[/code]

I get this error:
[Macromedia][SQLServer JDBC Driver]The value, 0100-01-01 00:00:00.0, is outside
the range allowed by the SQL Server.

Any ideas? The contactID I am editting
has a null value for dLastLogin, and that is the only datetime field in this
table.

Thanks for any help

http://www.luismajano.com/forums/index.cfm?event=ehMessages.dspMessages&threadid=3E8F2705-123F-6116-424D9B72A7E31E67