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 659:                WebRequest request1 = WebRequest.Create("https://debu.pcbolsa.com/Fundamental.aspx?Tipo=4&ISIN=" + Valor.ISIN + "&Plaza=" + Valor.Plaza);
Line 660:
Line 661:                using (HttpWebResponse response1 = (HttpWebResponse)request1.GetResponse())
Line 662:                {
Line 663:                    using (StreamReader reader1 = new StreamReader(response1.GetResponseStream()))

Source File: \\vid4582.nas1.lan\vid4582\Webs\Plataforma\HomeMovCLS.aspx.cs    Line: 661

Stack Trace:


[WebException: The remote server returned an error: (500) Internal Server Error.]
   System.Net.HttpWebRequest.GetResponse() +1686
   Home.CargoPagina() in \\vid4582.nas1.lan\vid4582\Webs\Plataforma\HomeMovCLS.aspx.cs:661
   Home.Page_Load(Object sender, EventArgs e) in \\vid4582.nas1.lan\vid4582\Webs\Plataforma\HomeMovCLS.aspx.cs:139
   System.Web.UI.Control.OnLoad(EventArgs e) +106
   System.Web.UI.Control.LoadRecursive() +68
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3785


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