UiPath selectors not working in Microsoft Remote Desktop app - remote-desktop

I'm trying to build a robot which is run on my local system but acts upon the Remote Desktop through UiPath's Native RDP support. I've installed the Microsoft Remote Desktop Apps extension on my local system, and the Remote Runtime in my desitnation remote machine.
When I had used the Remote Desktop Connection application to connect to the remote and machine and work with Uipath, every selector worked with just minor modifications.
Now I've had to switch over to use Microsoft Remote Desktop app to connect to Remote machine and use the same. However, Uipath is not able to recognize any sort of selector inside the remote machine now.
What could be the reason for this? It works perfectly fine with Windows' built in Remote Desktop Connection, but not with Microsoft Remote Desktop. Any solution can be worked around for this?

Related

When I host 2 apps (Web API and Blazor server) on Windows Server 2019, the API localhost port refuses to connect to SQL Server database on IIS

When I publish both projects to a local Windows IIS, they both run smoothly, but when I publish to Windows Server 2019, I get an error
No connection could be made because the target machine actively refused it.(localhost: 7112)
Please help me - how should I configure my web.config after publishing to the live server?
I enabled websockets on both apps program.cs, I even opened the apps ports on the firewall, it's my first time deploying to a real live server, I'm not sure what I left behind

How do I connect the local SQL Server database for the ASP.NET Core application running inside either local Docker or Kubernetes?

I created an ASP.NET Core Web API using VS2017. After that I enabled the Docker support for my application.
Next, I was implemented the EF Core feature. After that I tested application locally then it’s working fine, database also created. But whenever I run the application inside local Docker or local Kubernetes the application won't work properly as I expected. because I used the Local SQL Server so, whatever the container running inside either Docker or Kubernetes it doesn't know the SQL Server or SQL Server database.
Can anyone suggest how to use the local database in the container running inside either Docker or Kubernetes?
You need to give the host's IP. In linux, you can use "host.docker.internal" hostname to connect to the host machine. It is supposedly working in Windows, however it has many, many, far too many problems in Windows.
If this hostname does not work for you, you have 2 IP addresses. One is the docker's gateway, that should start with 10...* or 172...* depending on how you set it up. Normally to learn this one, use docker inspect <container> and you can see the default gateway in the network section. However, Kubernetes might change these and it might be providing a better means to access the host. I did not use Kubernetes, so I don't know.
The other option is to use the IP address of the host, assigned by your network using DHCP. It should normally start with 192.168...
Your containers should be able to access applications on your host using these IP addresses. If the problem persists, turn off your firewall, and try pinging from inside the containers.

Team-viewer disconnected after disconnecting from remote desktop connection, why?

I want connect to a remote computer (windows server 2012 data center) using team-viewer but remote desktop connection should be opened and connected when I want use my team-viewer for connecting to server team-viewer. if not, team viewer in my computer returns this error:
After reconnecting to remote using windows remote desktop connection, I can see the screen again without this error. What should I do to connect team-viewer directly to server without active remote desktop connection?
You also could change some settings so that the user is allowed to stay actively logged in (as was the case in previous windows server versions).
The topic below describes a case where idle users were logged out, it was suggested to disable windows settings so that the user session would remain logged in.
https://superuser.com/questions/558920/disable-windows-server-2012-automatic-log-off
This happens because of the following reasons.
If you RDP (and then you minimize the RDP session, or let go of it)
Log out of the user that has the Teamviewer open
Let the PC idle out.
Solution to override this issue.
INSTALL TEAMVIEWER AS A SERVICE - Turn off your quick-run/quick-support of teamviewer and go to www.teamviewer.com and install the program to launch on boot (that will install it as a service), you will see the option for that during installation. Then that error will never turn up, even if your RDPs. If its already installed, here are the instructions on how to make it run as a service.

Using Power Desktop with an Azure VM and Enterprise Gateway

I am developing a report in PowerBI Desktop based on data hosted in an Azure SQL Server VM.
When publishing a report, I get the below error:
Publishing succeeded, but the published report cannot connect to the
data source because we were unable to find a gateway. Please install
and configure an enterprise gateway
I believe this is because the enterprise gateway is installed locally on my azure VM, however I'm accessing it from my desktop by going over the web and through the firewall. Therefore I believe the issue is that my pc acceses the machine at
mymachine.cloudapp.net
Whilst the enterprise gateway knows the machine as
netbios-name
Is there any way that I can upload a desktop report to powerBI web using this configuration? The other solution would be to get the machine and sql server to identify itself as "mymachine.cloudapp.net" so that I can use this as the name to connect to through the enterprise gateway, but I'm not sure how to do that (adding the alias to SQL Server isn't enough).
It's a bit hacky, but I've got a work around.
Open the server and edit your hosts file and add the following line:
127.0.0.1 mymachine.cloudapp.net
Make sure that mymachine.cloudapp.net has been configured in SQL Server as an alias.
In PowerBI, add a new enterprise gateway data source, this time, use mymachine.cloudapp.net to connect rather than netbios-name. You will need to use SQL Authentication to connect.
Obviously connecting PowerBI to an Azure VM in this way is not ideal, as it could potentially be unencrypted, but this works around the issue of different host names between PowerBI Desktop and Web.

how to access database on laptop using api on mobile

I have developed an application using sql anywhere database as back end and powerbuilder as front end. it is working on my laptop very well and i have also used this app on network server (without internet ) using wifi on another laptop. in which the program is installed on that other laptop and it connects database stored on my laptop .
now i want to develop a mobile app which should connect to my laptop and use database stored on it. It should connect the database using WIFI network.
i have knowledge of powerbuild simple programing, SQL and Visual basic. but i dont know any thing about mobile app developing.
Please help me to solve my problem.
This shouldn't be too challenging, it sounds like you want the app to connect to a network (or your laptop) database vs. the client machine like any web application and this shouldn't be a challenge other than making sure you've opened up the proper ports for the database in windows firewall AND/OR if you are on the INTERNET you'll probably need to set up port forwarding on your local router so that the database requests to your laptop from the "internet" get forwarded from your router to your local subnet (network).
So for example mySQL uses port 3306 (I think.. memory?) so you'd need a port forward in your router that forwards incoming 3306 requests to your laptop IP address, mac address, or machine name (better to use machine or mac).
HTH

Resources