This occurs when an expected table is not found in the Medisoft data set.
Try running Repair Practice Data within MediUtils.
A new Medidata folder may also address the issue with proper permissions assigned.
If these do not resolve, restoring from backup or having professional data repair may be necessary.