checking the appSeting 'UseStoredProc' present in web.config. if not add it.