trycatch on MFYXLocal.sdf conn, change some invoke statements