This is what you need to do if your Sage Accounts application has been corrupt and you can’t open it:

[text]Save your data files directory (Sage\Accounts)
Uninstall/completely remove the Sage installation
Re-install Sage Line 50 v9.x
Start Sage and complete the Company wizard with typical information
Close it
Copy the ACCDATA folder with contents to your new installed Sage
Start Sage and type your username (if one did exist when you created this data)
[/text]

In some cases deleting the QUERY.DTA file from your data dir could help resolve the problems of login errors.