[Openvpn-devel] CreateFile failed on TAP device

If you get the error below while connecting to a VPN server and you are using a Windows XP PC, you may have your TAP adapter disabled.

To solve this, you will just need to re-enabled back the specific network TAP adapter and you will able to connect to the VPN server again.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Sat Jul 19 11:44:54 2008 PUSH: Received control message: 'PUSH_REPLY,route 192.168.1.0 255.255.255.0,redirect-gateway,dhcp-option DNS 192.168.1.1,route 192.168.150.0 255.255.255.0,ping 10,ping-restart 120,ifconfig 192.168.150.26 192.168.150.25'
Sat Jul 19 11:44:54 2008 OPTIONS IMPORT: timers and/or timeouts modified
Sat Jul 19 11:44:54 2008 OPTIONS IMPORT: --ifconfig/up options modified
Sat Jul 19 11:44:54 2008 OPTIONS IMPORT: route options modified
Sat Jul 19 11:44:54 2008 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Sat Jul 19 11:44:54 2008 CreateFile failed on TAP device: \\.\Global\{BEE6FF5F-B281-4EB8-97C9-BC6154D4EFB4}.tap: The system cannot find the file specified. (errno=2)
Sat Jul 19 11:44:54 2008 Exiting

No comments: