I think Cathi is on the right track with asking about a missing dll. Are you able to step through the code for debugging purposes?
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com