on L2TP VPN disconnection : "Unable to disconnect the VPN with rasdial.exe"

on L2TP VPN disconnection : "Unable to disconnect the VPN with rasdial.exe"

avatar

Hello,

since the latest RDM upgrade, we've got the following popup error which appears each time we disconnect a Microsoft L2TP VPN:

"Unable to disconnect the VPN with rasdial.exe"

Despite this popup appears, VPN is well disconnected.

How to solve this popup ?

Best regards

error_disconnect_L2TP.JPG

All Comments (4)

avatar

We have setting in the VPN called ignore error code. This should resolve this issue.

David Hervieux

avatar

I'm curious, we log the error in Help - View Application log, can you have a look to tell us what it is?

Maurice

avatar

Hello David and Maurice.

I've checked "ignore error code" on each L2TP config and it's working fine now :)

Maurice> Log returns the following entry:

System.InvalidOperationException: Process must exit before requested information can be determined.
at System.Diagnostics.Process.EnsureState(State state)
at System.Diagnostics.Process.get_ExitCode()
at Devolutions.RemoteDesktopManager.Business.VPNOpeners.VPNMicrosoftOpener.Close(String vpnName, VPNConnection vpn)

avatar

I will verify the wait for exit delay

David Hervieux