GCP Computer Engine disconnect me c# MSTSCLib

0 votes

i created an RDP client in c# and when I try to connect to a GCP instance GCP Computer this its disconect me instant I using MSTSCLib.

I used this program with other servers and only with GCP instances I have this problem.

code:

 try
             {
                 rdp.Server = "ip";
                 rdp.UserName = "user";
                 IMsTscNonScriptable secured = (IMsTscNonScriptable)rdp.GetOcx();
                 secured.ClearTextPassword = "password";
                 rdp.Connect();
             }
             catch (Exception Ex)
             {
                 MessageBox.Show("Error Connecting", "Error connecting to remote desktop " + " Error:  " + Ex.Message, MessageBoxButtons.OK, MessageBoxIcon.Error);
             }
disconnect function
private void Rdp_OnDisconnected(object sender, AxMSTSCLib.IMsTscAxEvents_OnDisconnectedEvent e)
        {
            this.close();
        }
Feb 11 in GCP by José
• 120 points
148 views

Hey, what's the error that your encountering?
Have a look at this https://cloud.google.com/compute/docs/troubleshooting/troubleshooting-rdp

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In GCP

0 votes
1 answer
0 votes
1 answer

Getting certified in which of these (AWS, Azure, GCP) help me fetch a good job in India?

Most people would recommend AWS (Amazon web Services), and it’s actually a top-tier cert to ...READ MORE

answered Nov 25, 2019 in GCP by Sirajul
• 57,940 points
332 views
0 votes
2 answers
0 votes
1 answer
+1 vote
2 answers

How to open a port on google compute engine

You need to set the firewall rule ...READ MORE

answered Jul 9, 2019 in GCP by K sagar
1,496 views
+3 votes
4 answers

How to host a website on AWS?

Certainly, it can be used to do ...READ MORE

answered Mar 29, 2018 in AWS by brat_1
• 7,170 points
607 views
0 votes
1 answer

Machine Learning: Microsoft Azure

It is definitely worth it, Azure will ...READ MORE

answered Nov 23, 2018 in Cloud Computing by hemant
• 5,800 points
101 views
0 votes
2 answers
0 votes
3 answers

What are the skills one should have for working as Cloud Specialist?

Following skills for Cloud Specialist Perl Core Java Shell scripting Idea ...READ MORE

answered Jul 11 in Career Counselling by veto
• 180 points
143 views