I'm coding in Delphi and get an "invalid argument was passed in the function call" runtime error everytime I try to update the MailBoxExpDate attribute of the User object.

I can read this attribute and view valid content in the variable and write it directly back to the attribute and it still fails.

Ideas?