which database are you using?
and something in the stack trace caught my eye it listed 2 select statements and then 3 lines containing: s230
where is the s230 coming from? could you put either a breakpoint or some system printlines showing exactly every sql line you are trying to process.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com