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 45: 
Line 46:         //Get the album data
Line 47:         dynamic albums = client.Get("90595717580/albums");
Line 48:         dynamic albumsPhotos;
Line 49:         string albumListHTML = "<h2>Photo Albums</h2><ul>";

Source File: f:\HostingSpaces\NixaFire\nixafire.org\wwwroot\Photos.aspx.cs    Line: 47

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\NixaFire\nixafire.org\wwwroot\Photos.aspx.cs:47
   Photos.Page_Load(Object sender, EventArgs e) in f:\HostingSpaces\NixaFire\nixafire.org\wwwroot\Photos.aspx.cs:27
   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