系统检测到在一个调用中尝试使用指针参数时的无效指针地址 问题

在开发IoT Hub、EventHub、ServiceBus 等过程中经常遇到之前正常的程序,突然报错了

报错信息大致以下几种:

An error occurred during communication with 'N/A'. Check the connection information, then retry.

系统检测到在一个调用中尝试使用指针参数时的无效指针地址

ErrorCode=10014

问题原因是:系统使用或更新导致 winsock 出错

解决办法: 用管理身份运行cmd,执行 netsh winsock reset  重启问题解决

原文地址:https://www.cnblogs.com/vitas/p/9025857.html