User283571144 posted
Hi wkpli,
According to your description, I couldn't directly find the reason why you face this error.
Could you please post the details error message?
Besides, maybe you have un-managed code and you are calling it from managed code. That is preventing to run this code.
Try running these commands in cmd and restart your pc
netsh winsock reset
netsh winsock reset catalog
Best Regards,
Brando