Blue Prism Product

 View Only
last person joined: 18 hours ago 

This community covers the core Blue Prism RPA product.

Expand all | Collapse all

How to solve this error at 'Active Application' action while closing Excel: System.ComponentModel.Win32Exception (0x80004005)

  • 1.  How to solve this error at 'Active Application' action while closing Excel: System.ComponentModel.Win32Exception (0x80004005)

    Posted 10-24-2018 09:47
    Hi,   I'm getting below error while closing Excel file, when I'm starting the process from Control Room via schedule function. Could you please help me with the solution if you got any. ERROR: Internal : Failed To perform Step 1 In Navigate Stage 'Press' on page 'Close Workbook' - 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) I have had this error on Navigate stage: at 'Active Application' action before 'Press' action.   The process is below, Open Excel and workbook. Maximize the window of workbook: Press the miximize button. Close Excel: Press the close button. I'm using the same action, 'Active Application' and 'Press', on "2. Maximize the window of workbook" and "3. Close Excel", but the error causes only on "3. Close Excel". The element is using Win32 mode when doing 'Active Application', and is using Accessibility mode when doing 'Press'.   【Additional Information】 There is a retry loop(five times), but the same error caused five times. I don't use a virtual desktop, an application such as RDP to connect/disconnect and a virutalized environment at all. The other objects are working well which use the same action above.   Best regards,

  • 2.  It sounds like you're…

    Posted 10-24-2018 16:21
    It sounds like you're modelling the Excel UI. You don't need to do this, use the Excel VBO that you used in your Foundation Training.

  • 3.  John, Thank you for your…

    Posted 10-25-2018 06:55
    John, Thank you for your reply. Of course I know using the Excel VBO is the best way, but I need to model the Excel UI due to the below reason.   When I use Macro, the pop-up appears and I need to press the button on pop-up. You know I can't press the button by the Excel VBO. Certainly we can forbid Excel showing the pop-up by Setting, but I can't do that because the security level in our office is high. So I need to model the Excel UI.

Welcome to the Blue Prism RPA Product Community!

Whether you’re looking to manage a complex infrastructure, maintain security and compliance, bring new products to market faster, or gain operational speed and agility in an uncertain economy, Blue Prism delivers — with the flexibility you need to create the business you want. From deployment on-premise, through a cloud service provider or as SaaS, to a skillful and adaptable digital workforce that continually expands to meet your enterprise needs, you can gain enhanced operational insight and control while your people reclaim the time they need to focus on great work.

Product PageKnowledge BaseBlue Prism Training Offering
Product Research ProgramUpdates, Releases & Announcements


Blue Prism is intelligent automation — business-developed, no-code automation that pushes the boundaries of robotic process automation (RPA) to deliver value across any business process in a connected enterprise.

A combination of RPA with expanded cognitive and AI capabilities, Blue Prism is different than other automation technology on the market. With one Blue Prism license, you gain instant access to an already AI equipped digital workforce, along with the tools you need to build and delegate automations. Click here for more information on Blue Prism and Intelligent Automation.
To learn more about how Blue Prism RPA can help your organization and how much it will cost to get started, please Contact our Sales department.
Blue Prism RPA can be downloaded from our customer portal. If you would like to consume or download any material it is necessary to create an account on the Portal. Once you have registered, you can access the download options for Blue Prism here.
Yes! Installed on your own machine and supported by our training materials and product documentation, you can use all the features of the full enterprise product for free with our Blue Prism Trial – giving you the opportunity to learn the basics before moving to a full production implementation. Click here for more information and to download the trial.
Yes! You can access our known issue list for Blue Prism from our Support Portal.
Regardless of your industry, Blue Prism’s Digital Workforce can adhere to strict governance and compliance standards without limiting productivity. Click here for more information on how your industry can benefit from Blue Prism.