Server Error in '/' Application.

The remote server returned an error: (404) Not Found.

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: (404) Not Found.

Source Error:


Line 325:            finally
Line 326:            {
Line 327:                webRequest.GetResponse().GetResponseStream().Close();
Line 328:                responseReader.Close();
Line 329:                responseReader = null;

Source File: C:\inetpub\wwwroot\FranklinAP_Sitefinity5\CustomControls\LinkedIn\oAuthLinkedIn.cs    Line: 327

Stack Trace:


[WebException: The remote server returned an error: (404) Not Found.]
   System.Net.HttpWebRequest.GetResponse() +1751
   oAuthLinkedIn.WebResponseGet(HttpWebRequest webRequest) in C:\inetpub\wwwroot\FranklinAP_Sitefinity5\CustomControls\LinkedIn\oAuthLinkedIn.cs:327
   oAuthLinkedIn.APIWebRequest(String method, String url, String postData) in C:\inetpub\wwwroot\FranklinAP_Sitefinity5\CustomControls\LinkedIn\oAuthLinkedIn.cs:252
   SitefinityWebApp.CustomControls.LinkedIn.LinkedInGroupDiscussion.RequestDiscussionList() in C:\inetpub\wwwroot\FranklinAP_Sitefinity5\CustomControls\LinkedIn\LinkedInGroupDiscussion.ascx.cs:498
   SitefinityWebApp.CustomControls.LinkedIn.LinkedInGroupDiscussion.Page_Load(Object sender, EventArgs e) in C:\inetpub\wwwroot\FranklinAP_Sitefinity5\CustomControls\LinkedIn\LinkedInGroupDiscussion.ascx.cs:119
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Control.LoadRecursive() +185
   System.Web.UI.Control.LoadRecursive() +185
   System.Web.UI.Control.LoadRecursive() +185
   System.Web.UI.Control.LoadRecursive() +185
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1533


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