anyone got solution for this problem -

Unable to connect to network. Check phone's connection settings. (code-2)
i am getting this error for wifi as well as gprs..

it was working initally but stopped suddenly..