I am sorry I can't attach the file. SQL doesn't use any file (except a script to generate the table / stored procedures) that I can attach and send to you. It is not like an access mdb file.
Have you commented out the section of code I suggested and ran through the code line by line with break points?
Yes i am using Visual Studio?
but can you attach your file it may help in my stiuation