+1  A: 

If you are running on IIS, you have to have a default hostname rule for your site:

  1. Open IIS
  2. Right click on your website and click "properties"
  3. Click the "Web Site" tab and then click the "Advanced" button under the "Web site identification" heading
  4. You should have a default Identity for the website (TCP port 8732). Edit that and make sure the host header value is the domain name for your website (so it should say www.yourdomain.com)

See http://forums.asp.net/p/1096811/1659596.aspx from more details.

Andreas Paulsson
It is not hosted on IIS, hosted thru' a console application
sudarsanyes