I looked around and it seems that people that got this error never got a real solution.
They say that the first thing to do is go to Steam > Settings > Downloads and click the Steam Library Folders button, then click the "Add Library Folder" button and select the folder with your installed games.
Otherwise delete everything on Steam folder but the SteamApps folder, UserData folder and Steam.exe and start Steam so it redownloads.