On iis I hosted web api and trying to access SalesForce using Api is getting a null connection.
On my local it is working fine,if I run the hosted app it gives null and when I came back to my local it is also giving null connection to salesforce.