Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
然后尝试执行以下行:
ReadOnlyCollection<RasDevice> list = RasDevice.GetDevices();
我得到一个非常无用的RasException (Error code 1070).
RasException (Error code 1070)
执行时也会抛出这个
RasDevice.GetDeviceByName(...);
我以管理员身份运行了该应用程序。
枚举可用设备可能失败的原因是什么?
就我而言,问题出在 WAN 微型端口上,所以我将它们检查到设备管理器中,上面有一个黄色的小图标,上面写着
“此设备无法正常工作,因为 Windows 无法加载此设备所需的驱动程序。(代码 31)”。
因此,经过几个小时的研究,我发现了这个网站,它提供了一个解决我问题的解决方案。我把它贴在这里,也许它可以帮助你。
https://www.vpnhosting.cz/index.php/clanky/wan-miniport-repair-tool-solve-vpn-and-dial-up-error-code-720-and-similar-ppperrors.html
这些是您必须遵循的吸引力:
我希望这能有所帮助!