Server Error in '/' Application.

The remote server returned an error: (500) Internal Server Error.

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: (500) Internal Server Error.

Source Error:


Line 206:        '
Line 207:        ' Invio della richiesta in remoto
Line 208:        Dim str As System.IO.Stream = req.GetResponse.GetResponseStream
Line 209:        Dim sr As New System.IO.StreamReader(str)
Line 210:        Dim Risposta As String = sr.ReadToEnd

Source File: E:\kunden\homepages\45\d657861724\www\App_Code\clsMainAppsApi.vb    Line: 208

Stack Trace:


[WebException: The remote server returned an error: (500) Internal Server Error.]
   System.Net.HttpWebRequest.GetResponse() +1463
   clsMainAppsApi.CallMainAppsAPI(String functionName, String jsonParameters, Boolean isObjectResult) in E:\kunden\homepages\45\d657861724\www\App_Code\clsMainAppsApi.vb:208
   clsMainAppsApi.GeographicAreas() in E:\kunden\homepages\45\d657861724\www\App_Code\clsMainAppsApi.vb:11
   clsFunzioni.CaricaComboAree(DropDownList& combo, clsLingua Lingua) in E:\kunden\homepages\45\d657861724\www\App_Code\clsFunzioni.vb:76
   controls_ricerca_ricerca.CaricaCombo() in E:\kunden\homepages\45\d657861724\www\controls\ricerca\ricerca.ascx.vb:80
   controls_ricerca_ricerca.Page_Load(Object sender, EventArgs e) in E:\kunden\homepages\45\d657861724\www\controls\ricerca\ricerca.ascx.vb:38
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   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