I am having problems when it comes to running .bat robots. Those robots do work when opened and run using UiPath Studio. However, they do not work - throwing an error - when the .bat associated with the Main is run. An attachment to the error can be found below, along with the dependencies file and a simple Main that does not work as a .bat file.
Thus, this issue happens in a virtual machine, which is Production. The operative system of the virtual machine is Windows Server 2008. The machine doesn’t have access to the Internet.
So, when running the file, I get the following error:
Main System.Xaml.XamlObjectWriterException: Cannot create unknown type ´http://schemas.microsoft.com/netfx/2009/xaml/activitiesVariable<http://schemas.uipath.com/workflow/activitiesDatabaseConnection>´
I have tried doing the same thing on a local machine with an Internet connection, and it did work. I have published the dependencies from there to a file in the virtual machine. You can also find attached a screenshot of the .bat file code, along with the dependencies file -dependencies.json-.
Any help would be really appreciated. Thank you in advance.