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, 2020 in GCP by José
• 120 points
729 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
• 59,230 points
1,053 views
0 votes
1 answer

Google Compute Engine - Allow port 3389 on GCP and Firewall but still blocked

Show your Google firewall rule for this ...READ MORE

answered Apr 5, 2022 in GCP by Korak
• 5,820 points
953 views
0 votes
1 answer

python-magic on GCP App Engine - failing to deploy

If you want to use the python-magic library you ...READ MORE

answered Apr 6, 2022 in GCP by Korak
• 5,820 points
1,326 views
0 votes
1 answer

GCP App Engine Access to GCloud Storage without 'sharing publicly'

I believe that https://cloud.google.com/storage/docs/access-control/create-signed-urls-program will work for ...READ MORE

answered Nov 10, 2022 in GCP by Ashwini
• 5,430 points
589 views
+3 votes
4 answers

How to host a website on AWS?

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

answered Mar 30, 2018 in AWS by brat_1
• 7,200 points
2,596 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,790 points
580 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, 2020 in Career Counselling by veto
• 180 points
654 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP