I deleted the SX that was causing the problem through Gnucash as John Ralls (and others earlier) suggested and checked the other SXs in the XML file. None of them seemed to have the same problem. Gnucash now starts up correctly on my accountants file. Thanks to all who offered suggestions. Peter