This error is occurs when oracle service is stopped in database server.
You just need to restart this service by following step.
1 ) Open Database Server
2) Open Command prompt and move to till C:/
3 ) Type following command
5) Open your application it will work properly..