a week ago - last edited a week ago
In BP 7.3 I am noticing that the Focus choice on navigate stages for AA elements is no longer working. When I try to step over it I get the following error:
Internal : Failed to perform step 1 in Navigate Stage 'Press Login Button' on page 'Login Apex' - Exception during remote setforegroundwindow - System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at BluePrism.ApplicationManager.Operations.WindowOperationsProvider.ForceForeground(IntPtr windowHandle)
This is the case for all AA Focus stages in the object for this application (I haven't had a chance to test others yet) but I am hoping someone has already come across this error and knows how to fix it?
Thanks,
Trevor
Answered! Go to Answer.
Monday
@TrevorMclellan21 According to this Blue Prism Support article (BPE error "Exception during remote setforegroundwindow - System.ComponentModel.Win32Exception: The system cannot find the file specified." when trying to activate or focus on an application :), this can happen if you have a bitness issue.
Just in case you can't access that article, the main thing it communicates is that this can happen if you have 32-bit BP installed on a 64-bit OS. I imagine then that the reverse could also happen, but I have no idea.
The article suggests checking in the Blue Prism Automate folder to see if you have Activator32.exe and Activator64.exe. If you are missing one of those, then that may be what the error is saying it could not find.
Separately, I'd also verify for sure that the right bitness of BP was installed. If you went to 7.3, then you may have gone to 64 bit whereas previously Blue Prism has always been 32 bit. You may also want to check that the OS is the same bitness between the two VMs that you've tried this on, though I've never seen a 32-bit Windows install so I dunno how likely that is.
a week ago
Update: I ran it on a different VM on 7.3 and it worked fine. I have restarted the problem VM and re installed BP to try to resolve this issue with no luck. Hoping someone can point me in the right direction for why this VM might be having this issue.
Monday
@TrevorMclellan21 According to this Blue Prism Support article (BPE error "Exception during remote setforegroundwindow - System.ComponentModel.Win32Exception: The system cannot find the file specified." when trying to activate or focus on an application :), this can happen if you have a bitness issue.
Just in case you can't access that article, the main thing it communicates is that this can happen if you have 32-bit BP installed on a 64-bit OS. I imagine then that the reverse could also happen, but I have no idea.
The article suggests checking in the Blue Prism Automate folder to see if you have Activator32.exe and Activator64.exe. If you are missing one of those, then that may be what the error is saying it could not find.
Separately, I'd also verify for sure that the right bitness of BP was installed. If you went to 7.3, then you may have gone to 64 bit whereas previously Blue Prism has always been 32 bit. You may also want to check that the OS is the same bitness between the two VMs that you've tried this on, though I've never seen a 32-bit Windows install so I dunno how likely that is.
Monday
Thanks David! This was it! For some reason that vm did not have Activator32.exe or Activator64.exe in the automate folder. I copied them over from the other VM and all is working well now!