Hello everyone, I've come a step further, but I can't explain the phenomenon. When the developer logs into the RR (Runtime Resource) machine with his user, executes the excel code part, it works without problems. Now we have logged into the RR machine with the RoboUser, executed the excel code part, it bangs. Create Instance and anything else running before it works. It closes Excel and brings the error.
What else we found out is.
But sometimes this error pops up when there are more than 3000 records in it, or someone has the file open, or Micrsoft document recovery is active, then this error also comes up. If we remove the actions (Remove Empty, Filter Status, Filter device number). or put behind the Close Instance the code always works. This is our workaround for now.
But I'm still wondering why this error never pops up for a developer working on the same machine?
We were also able to reproduce the error itself like this:
we use the login function on the RR with the login agent. We then have Teamviewer open and run the code here with the RoboUser, which then occasionally, but not always, leads to the error.
The error also pops up when we log in with the RoboUser without a login agent on the RR via Teamviewer. But when a developer logs into Teamviewer, then this error doesn't pop up.
The developers are normal Windows users, the RoboUsers are technical Windows users
The interesting thing is that with the RoboUser it doesn't work if you click through the code step by step. But if you run the code with Step Out then it works more often.
It seems that the processing in Teamviewer is slower and that's why the error occurs. Because if the RoboUser logs directly into the RR machine, then it works. But not via team viewer.
Setting a sleep before the close isntance also causes the error.What I might have to say is that I migrated the productive database, which is a Blue Prism version 6.4.2, to the test database, and upgraded the database script to 6.10.4. The Blue Prism version 6.4.10 is installed in the test system.
BUT: why does it not work with the normal user, but not with the RoboUser. Could this be the cause?
The files are attached ------------------------------
Robert Roginer
RPA Modeller
Mainova
Europe/Berlin
------------------------------