Click here to Skip to main content
15,302,644 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i use "WooCommerce.NET.dll" in windows application project. the project good running in windows 10. but when run in windows 7 get error "the requst was aborted: coudnt creates ssl/tls secure chanel".



please help me...

What I have tried:

i used following code:
ServicePointManager.Expect100Continue = true;
ServicePointManager.SecurityProtocol = SecurityProtocolType.Ssl3 | SecurityProtocolType.Tls | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12; ServicePointManager.DefaultConnectionLimit = 9999;
but not worked too.
Posted
Updated 1-Mar-21 22:50pm

1 solution

You're either going to have to setup a win7 dev environment (a VM should be fine) so you can run your app in the debugger, or you're going to have to prevent your app from running in Windows 7.

BTW, you didn't mention what version of .Net the app is compiled with.
   
Comments
Member 13768181 2-Mar-21 5:11am
   
hi my freind...

Runtime version: v4.0.30319
Version: 0.8.2.0

I have to run my app in Windows 7.
and How to set up win7 dev environment (a virtual machine should be good)?
#realJSOP 2-Mar-21 5:27am
   
That's probably what's wrong - you need to use at least .net 4.5. You'll need the source code to the DLL so you can recompile it as well. You really should be using the absolute latest/greatest version of .Net Framework (I think it's either 4.72 or 4.8).
Member 13768181 2-Mar-21 5:45am
   
i used .Net Framework 7.2 but get the same error too
#realJSOP 2-Mar-21 5:58am
   
Have you tried contacting their support department?
Member 13768181 2-Mar-21 6:03am
   
Not yet. Because I do not have access to them. can you help me?
#realJSOP 2-Mar-21 6:33am
   
nope. never heard of them before this qa question - if you have a probelme with a 3rd party library, the best source for answers is the manufacturer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900