For starters, I would wrap you code in a try catch block and do a e.tostring() to get the exact error message that is occurring.

Does the class have any events? There are some issues with events and serialization too if that is the case.