Server Error in '/applyconn' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: BC30451: 'ServicePointManager' is not declared. It may be inaccessible due to its protection level.

Source Error:


Line 10:     Protected Sub Page_Load(sender As Object, e As EventArgs) Handles Me.Load
Line 11:         Try
Line 12:             ServicePointManager.Expect100Continue = True
Line 13:             ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls Or SecurityProtocolType.Tls11 Or SecurityProtocolType.Tls12 Or SecurityProtocolType.Ssl3
Line 14:             Dim usrControl As TPDDLService.UserControl = Nothing

Source File: D:\Website\websiterevamp\AllIndia 2018\revamp Application\Apply New connection\startconnection.aspx.vb    Line: 12






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