Server Error in '/' Application.

(GraphInsecureException - #8) TLS versions older than v1.2 are not supported.

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: Facebook.FacebookApiException: (GraphInsecureException - #8) TLS versions older than v1.2 are not supported.

Source Error:


Line 93: 
Line 94:         //Get the album data
Line 95:         dynamic albums = client.Get("SpringfieldBallet/albums");
Line 96:         dynamic albumsPhotos;
Line 97:         string albumListHTML = "<h2>Photo Albums</h2><ul>";

Source File: f:\HostingSpaces\SpringfieldBallet\springfieldballet.org\wwwroot\Photos.aspx.cs    Line: 95

Stack Trace:


[FacebookApiException: (GraphInsecureException - #8) TLS versions older than v1.2 are not supported.]
   Facebook.FacebookClient.ProcessResponse(HttpHelper httpHelper, String responseString, Type resultType, Boolean containsEtag, IList`1 batchEtags) +1516
   Facebook.FacebookClient.Api(HttpMethod httpMethod, String path, Object parameters, Type resultType) +1167
   Facebook.FacebookClient.Get(String path, Object parameters, Type resultType) +33
   Photos.GetAlbumList() in f:\HostingSpaces\SpringfieldBallet\springfieldballet.org\wwwroot\Photos.aspx.cs:95
   Photos.Page_Load(Object sender, EventArgs e) in f:\HostingSpaces\SpringfieldBallet\springfieldballet.org\wwwroot\Photos.aspx.cs:50
   System.EventHandler.Invoke(Object sender, EventArgs e) +0
   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