Do you have WebRequest code that works great in a console application, but gives "Host Not Found" exception errors when run in IIS? Are you running in an environment behind a firewall? If so almost certainly need to set a proxy for your connections either in code or configuration.
"Host Not Found" is the classic exception for this situation - but it may manifest itself in other forms e.g. "Cannot Connect To <host>" etc.