Go into Documents and find the folder GTA San Andreas User Files, delete the whole folder, and then try connect.
If that doesn't work, then try to reinstall the whole San Andreas.
By whole I mean, Unistall and delete the folder Rockstar Games / San Andreas in the location it got installed.
Hope I could help.
-Custom