cancel
Showing results for 
Search instead for 
Did you mean: 

Application not starting from Control Room

DmitriSpetter
Level 3
Hi,

I have a simple process which runs perfectly if run in Blue Prism Process Studio, but does not run at all if I try to run it via Schedule or by dragging it manually onto the machine and press Start. The error shown in the logs always indicates that BP "could not attach to application xyz". I already adapted/increased all relevant Wait Stages, as I assumed it to be the most likely error, but that doesn't help, the application simply does not start.

In detail: The application is usually started using the "Start Process" action and works fine in the Process Studio.
What confuses me the most is that the process doesn't produce any errors if run at maximum debug speed in Process Studio, but running in Control Room simply does not work.

Any ideas?



------------------------------
Dmitri Spetter
------------------------------
6 REPLIES 6

remko.bouwens
Level 5

Hi,

How long do you let your wait stages wait?
Usually if you set wait stages correctly in combination with a proper attach logic, it should work.

Could you perhaps share a bit more information (log and release file of the process/object)?

Thanks.



------------------------------
Remko Bouwens
RPA Specialist
Boels Rental
Europe/Amsterdam
------------------------------

Thanks for your answer. Normally, I am starting the application via the "Start Process" action and it works fine in the Process Studio. In Control Room, the application doesn't even start, that's why I get the "cannot attach to..." error. I also tried to explicitly wait for the application to start completely using the "Wait for Process" action providing all the relevant input, so that the application/process should be recognized...doesn't work either.
All the Wait Stages are set to wait for the appropriate window to appear.

Could it be a problem that I'm working on a Virtual Machine via Remote Desktop Connection?


------------------------------
Dmitri Spetter
------------------------------

That's difficult to say. We would need to know more about your setup.

Working on a VM via Remote Desktop Connection can work (our bots run that way).
You have the Login Agent installed to login on the machine?

------------------------------
Remko Bouwens
RPA Specialist
Boels Rental
Europe/Amsterdam
------------------------------

yes, Login Agent is installed. And when I'm logged in on the VM no other user is logged in.
Do you know if there might be a switch in Users if I run the process in the Studio and in Control Room? So far I have always assumed that the user with whom I log on to a connection at BP is also the one with whom the process is then started. That's the way it is, right?

------------------------------
Dmitri Spetter
------------------------------

ChrisEllenburg_
Level 4
I believe this may be due to not having a runtime resource running. Make sure that you have the scripts in place to kick it off or go into Blue Prism settings and allow it to run when Blue Prism is launched. Thanks!

------------------------------
Chris Ellenburg - KeyMark, Inc.
------------------------------

Thanks Chris, but the Runtime Resource is up and running. Otherwise the Process couldn't be started via Scheduler or by manually dropping it onto the machine.

------------------------------
Dmitri Spetter
------------------------------