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 323:        HttpWebRequest ComRequest = (HttpWebRequest)WebRequest.Create(jurl);
Line 324:        ComRequest.UserAgent = "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)";
Line 325:        HttpWebResponse ComResponse = (HttpWebResponse)ComRequest.GetResponse();
Line 326:        var ComReader = new StreamReader(ComResponse.GetResponseStream());
Line 327:        var JSSerializer = new JavaScriptSerializer();

Source File: c:\inetpub\vhosts\holdingwilley.com\httpdocs\Public\commentary.aspx.cs    Line: 325

Stack Trace:


[WebException: The remote server returned an error: (500) Internal Server Error.]
   System.Net.HttpWebRequest.GetResponse() +1463
   Public_commentary.GetCommentaryFromJson(String jurl) in c:\inetpub\vhosts\holdingwilley.com\httpdocs\Public\commentary.aspx.cs:325
   Public_commentary.GetCommentary(String mid, Boolean& ArchiveStatus) in c:\inetpub\vhosts\holdingwilley.com\httpdocs\Public\commentary.aspx.cs:824
   Public_commentary.Page_Load(Object sender, EventArgs e) in c:\inetpub\vhosts\holdingwilley.com\httpdocs\Public\commentary.aspx.cs:27
   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.4494.0