HttpWebRequest.GetResponse() returns error 500 Internal Server Error
Im using HttpWebRequest to make a request to a url:

            HttpWebRequest req = (HttpWebRequest)HttpWebRequest.Create(URLAddress);
            HttpWebResponse resp = (HttpWebResponse)req.GetResponse();
but it throws error 500 (Internal Server Error) but when i visit the URLAddress with browser it works fine
URLAddress = www.khademnews.com

it is a simple GET operation but it throws an exception for me how can I solve this ?


HttpWebRequest.GetResponse() returns error 500 Internal Server Error
===

Im using HttpWebRequest to make a request to a url:

            HttpWebRequest req = (HttpWebRequest)HttpWebRequest.Create(URLAddress);
            HttpWebResponse resp = (HttpWebResponse)req.GetResponse();
but it throws error 500 (Internal Server Error) but when i visit the URLAddress with browser it works fine
URLAddress = www.khademnews.com

it is a simple GET operation but it throws an exception for me how can I solve this ?

