Server Error in '/' Application.

The remote server returned an error: (400) Bad Request.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Net.WebException: The remote server returned an error: (400) Bad Request.

Source Error:


Line 48: 
Line 49:             ' Get the response from the server ans save it to a string ...
Line 50:             Dim streamIn As StreamReader = New StreamReader(objHTTP.GetResponse().GetResponseStream())
Line 51:             Dim strResponse As String = streamIn.ReadToEnd()
Line 52:             streamIn.Close()

Source File: E:\Data\northwalshamliveaid.co.uk\httpdocs\App_Code\rss_functions.vb    Line: 50

Stack Trace:


[WebException: The remote server returned an error: (400) Bad Request.]
   System.Net.HttpWebRequest.GetResponse() +1463
   beauchamp.rss_functions.googleNews(String thisAddress) in E:\Data\northwalshamliveaid.co.uk\httpdocs\App_Code\rss_functions.vb:50
   ASP.main_master.add_widgets(String page_extras, String page_title, Boolean allow_form_elements, String page_filename) in E:\Data\northwalshamliveaid.co.uk\httpdocs\main.master:464
   ASP.main_master.loadUpPage(Int32& page_id) in E:\Data\northwalshamliveaid.co.uk\httpdocs\main.master:305
   ASP.main_master.page_load() in E:\Data\northwalshamliveaid.co.uk\httpdocs\main.master:121
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +9851442
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4700.0