First of all, only use the most recent version: 0.4.27.2
If you deleted everything from the data directory like in those posts, try also deleting the "LOCK" file inside the wallet directory.
Do you have a normal backup that you made from inside the client? You could try deleting the entire data directory (after moving the wallet) and then importing from scratch.