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.PriceDetails(Int64 ID, DateTime from, DateTime to) in E:\kunden\homepages\45\d657861724\www\App_Code\clsMainAppsApi.vb:183
   ASP.controls_prezzi_tabellasettimanale_ascx.CaricaPrezzi() in E:\kunden\homepages\45\d657861724\www\controls\prezzi\TabellaSettimanale.ascx:267
   ASP.controls_prezzi_tabellasettimanale_ascx.CaricaTabella() in E:\kunden\homepages\45\d657861724\www\controls\prezzi\TabellaSettimanale.ascx:151
   dettaglio_struttura.CaricaDatiRisorsa() in E:\kunden\homepages\45\d657861724\www\dettaglio-struttura.aspx.vb:782
   dettaglio_struttura.Page_Load(Object sender, EventArgs e) in E:\kunden\homepages\45\d657861724\www\dettaglio-struttura.aspx.vb:16
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   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