I used to have darn a lot issues with SC2 as well, best solution I did was, re-installed my Windows and everything worked fine!
One of the causes was that I tried to use those optimizing softwares which sort of screwed up my PC TCP settings which causes SC2 to crash and not even detect the internet.
Starcraft 2 Troubleshooting thread, Check first post for possible solutions
Aug 24 2010, 11:16 AM
Quote
0.0190sec
0.57
7 queries
GZIP Disabled