Just added this line in my service.cs.
previously added all the changes in web.config is backed out.
[AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)]
and its working fine.
Thanks everyone.. specially CodeProject...