• I did not run it, but your code looks OK to me. One item that came to mind is that serialized SQLCLR objects in SQL Server 2005 have a max size limit of 8000 bytes. The limit was lifted in SQL Server 2008.

    Is there a specific error message you receive when it fails?

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato