An error has occurred in the TNG software. This could be due to a setup issue, an incomplete upgrade or a program bug. If you are the site owner, you may contact TNG support for help with this problem. Please copy the query below and paste it into your message.

Query: SELECT f.ID, familyID, husband, wife, marrdate, marrplace, divdate, divplace, f.gedcom as gedcom,, f.private, f.branch, treename, father.lastname as flastname, father.lnprefix as flnprefix, father.firstname as ffirstname, as fliving, father.private as fprivate, father.branch as fbranch, mother.lastname as mlastname, mother.lnprefix as mlnprefix, mother.firstname as mfirstname, as mliving, mother.private as fprivate, mother.branch as mbranch FROM (tng_families as f, tng_trees) LEFT JOIN tng_people AS father ON f.gedcom=father.gedcom AND husband = father.personID LEFT JOIN tng_people AS mother ON f.gedcom=mother.gedcom AND wife = mother.personID WHERE f.gedcom="tree1" AND (( !=1 && f.private != 1)) AND (f.gedcom = tng_trees.gedcom) ORDER BY father.lastname, father.firstname, marrdatetr LIMIT 50

Incorrect key file for table 'C:\Windows\TEMP\#sql564_a9e9c_0.MYI'; try to repair it