System.NotSupportedException

Add-in Express™ Support Service
That's what is more important than anything else

System.NotSupportedException
 
Subscribe
BerndH




Posts: 99
Joined: 2014-09-23
Hi,
on installing I get this:


Exception Source:      System
Exception Type:        System.NotSupportedException
Exception Message:     The requested security protocol is not supported.
Exception Target Site: ValidateSecurityProtocol

---- Stack Trace ----
   System.Net.ServicePointManager.ValidateSecurityProtocol(value As SecurityProtocolType)
       System.dll: N 0027 (0x1B) IL 
   System.Net.ServicePointManager.set_SecurityProtocol(value As SecurityProtocolType)
       System.dll: N 0005 (0x5) IL 
   MentanaOutlook_AddIn.AddinModule..ctor()
       AddinModule.cs: line 0279, col 13, IL 0029 (0x1D)



Can you give me a hint solving this/ where to search?

Bernd
Posted 28 Feb, 2024 10:31:02 Top
Andrei Smolin


Add-in Express team


Posts: 18833
Joined: 2006-05-11
Hello Bernd,

What .NET Framework version are you using? What TLS protocol version are you using?

Regards from Poland (GMT+1),

Andrei Smolin
Add-in Express Team Leader
Posted 29 Feb, 2024 10:59:40 Top
BerndH




Posts: 99
Joined: 2014-09-23
We use .Net Framework 4.7.2

I wrote a few months ago without thinking a lot ;-) this init:

ServicePointManager.SecurityProtocol = SecurityProtocolType.Ssl3 | SecurityProtocolType.Tls
               | (SecurityProtocolType)768
               | (SecurityProtocolType)3072
               | (SecurityProtocolType)12288;

I just changed it to TLS1.2 and send it to the customer for testing the setup.
I' ll report it
:-)
Posted 29 Feb, 2024 12:45:17 Top