ASPForums.Net RSS Feedhttp://www.aspforums.net/Handlers/RSS.ashxLatest additions to the content that appears on ASPForums.Net(c) 2019 www.aspforums.com. All rights reserved.Error: 'System.NotSupportedException' for SecurityProtocol on IIS<p>Hi <a class="username" rel="nauna"> nauna</a>,</p> <pre class="brush: csharp">namespace System.Net { [System.Flags] public enum SecurityProtocolType { Ssl3 = 48, Tls = 192, Tls11 = 768, Tls12 = 3072, } }</pre> <pre class="brush: csharp">ServicePointManager.SecurityProtocol = (SecurityProtocolType)192 ||(SecurityProtocolType)768 || (SecurityProtocolType)3072;</pre> <p>Refer the below link.</p> <p><a href="http://stackoverflow.com/questions/28286086/default-securityprotocol-in-net-4-5">http://stackoverflow.com/questions/28286086/default-securityprotocol-in-net-4-5</a></p> <p>&nbsp;</p>https://www.aspforums.net:443/Threads/143906/Error-SystemNotSupportedException-for-SecurityProtocol-on-IIS/https://www.aspforums.net:443/Threads/143906/Error-SystemNotSupportedException-for-SecurityProtocol-on-IIS/Thu, 06 Oct 2016 07:20:03 GMTError: 'System.NotSupportedException' for SecurityProtocol on IIS<p>where should i add this namespace in project? Please guide.</p> <p>&nbsp;</p> <p>&nbsp;</p> <p>should i add this on my page or some where else?</p> <p>&nbsp;</p>https://www.aspforums.net:443/Threads/143906/Error-SystemNotSupportedException-for-SecurityProtocol-on-IIS/https://www.aspforums.net:443/Threads/143906/Error-SystemNotSupportedException-for-SecurityProtocol-on-IIS/Thu, 06 Oct 2016 07:56:41 GMTError: 'System.NotSupportedException' for SecurityProtocol on IIS<p>This namespace already present. You need to select SecurityProtocolType and press F12 you will able to see the enum. Check the availe protocoltype in the system dll and you can use those only in your code.</p>https://www.aspforums.net:443/Threads/143906/Error-SystemNotSupportedException-for-SecurityProtocol-on-IIS/https://www.aspforums.net:443/Threads/143906/Error-SystemNotSupportedException-for-SecurityProtocol-on-IIS/Thu, 06 Oct 2016 08:05:10 GMT