title: What causes "Internal error has occured" on MsRdpClient_OnDisconnected event in AxMsRdpClient9 from AxMSTSCLib?
body: <p>I have simple windows form application with a single ActiveX control in it. That is Microsoft RDP Client Control - version 10. 
  Here is Constructor for the form</p>
  
  <pre><code>public ConnectionWindow()
              {
                  InitializeComponent();     
                  MsRdpClient.Server = "server";
                  MsRdpClient.UserName = "Administrator";
                  MsRdpClient.Domain = "domain.com";
                  IMsTscNonScriptable secured = (IMsTscNonScriptable)MsRdpClient.GetOcx();
                  secured.ClearTextPassword = "password";
                  MsRdpClient.Connect();                   
              }
  </code></pre>
  
  <p>The only thing i get from this is "Internal error has occurred" from disconnected arguments when subscribing to MsRdpClient_OnDisconnected event:</p>
  
  <pre><code>private void MsRdpClient_OnDisconnected(object sender, IMsTscAxEvents_OnDisconnectedEvent e)
          {
              var rdp = sender as AxMsRdpClient9;
              var errorString = rdp.GetErrorDescription((uint)e.discReason, (uint)rdp.ExtendedDisconnectReason);
              Console.WriteLine("Disconnected event reason: " + errorString);
          }
  </code></pre>
  
  <p>I tried subscribing to most of the events in the control, but the only other thing i get is MsRdpClient_OnAuthenticationWarningDisplayed event invoke, but it doesn't give me any information.</p>
  
  <p>P.S. the control itself just gives blank view.
  When connecting to remtoe pc via mstsc everything is fine, credentials fit.
  Anyone has any idea about this?</p>