Page 1 of 1

The operation canceled by user

Posted: Mon Mar 16, 2020 11:02 am
by nxuser
Product, version and build: Sapien PowerShell 2019, 5.6.160
32 or 64 bit version of product: 64 bit
Operating system: Windows 10
32 or 64 bit OS: 64 bit

Hey Everyone,

Weird issue. When I first launch the software and if I try to "Run" my application that I'm building, I get this "The operation was canceled by the user" error in the "output' window. I can build my application and run it just fine tho.

Any help would is appreciated.

Thanks!

Re: The operation canceled by user

Posted: Mon Mar 16, 2020 4:13 pm
by brittneyr
Can you please provide more information and answer the following questions:
-By building, do you mean that you are packaging something?
-What are you building (script, project, form...)?
-Do you mean it runs fine out side of PowerShell Studio?

Re: The operation canceled by user

Posted: Mon Mar 16, 2020 5:09 pm
by Alexander Riedel
This message 'usually' appears when an elevation prompt is answered with 'No'. Is there any form of elevation or try to use RunAs involved?

Re: The operation canceled by user

Posted: Mon Mar 16, 2020 6:13 pm
by nxuser
Thank you both.
@Brittneyr
- I'm building an executable. A windows form project. Regardless of the building part, even when I first launch Powershell studio, I get that error message(popup message when I launch it).
- If I package the executable and run it my executable works. So it creates the executable despite the error message.

@Alexander,
I don't get any elevation prompt. Even if I launch the software as admin, I still get the error message as a popup message.

Here is a screenshot of the popup message when I first launch the software: