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 16:         string mylink = string.Format("https://jag.journalagent.com/z4/xml_current_issue.asp?pdir=sislietfaltip");
Line 17:         System.Net.WebClient _wb = new System.Net.WebClient();
Line 18:         string _fulltext = _wb.DownloadString(mylink);
Line 19:         this.Volume = _fulltext.ToString().Substring(5, 2);
Line 20:         this.Issue = _fulltext.ToString().Substring(8, 1);

Source File: c:\wwwroot\users\journals\sislietfaltip.org\App_Code\GetCurrentIssue.cs    Line: 18

Stack Trace:


[WebException: The remote server returned an error: (500) Internal Server Error.]
   System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request) +298
   System.Net.WebClient.DownloadString(Uri address) +106
   System.Net.WebClient.DownloadString(String address) +32
   GetCurrentIssue..ctor() in c:\wwwroot\users\journals\sislietfaltip.org\App_Code\GetCurrentIssue.cs:18
   _Default.Page_Load(Object sender, EventArgs e) in c:\wwwroot\users\journals\sislietfaltip.org\Default.aspx.cs:12
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +52
   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