Search found 8190 matches

by Alexander Riedel
Sun Feb 05, 2023 1:40 pm
Forum: Customer Service
Topic: Incorrect message: subscription has expired
Replies: 2
Views: 182

Re: Incorrect message: subscription has expired

I was informed by our store support staff that the credit card charge for your ongoing subscription was denied. The full error reported is: Payment failed because of incorrect card number. Tell the customer to try again with the correct number. If that doesn't work, they should contact their issuing...
by Alexander Riedel
Sun Feb 05, 2023 11:49 am
Forum: Customer Service
Topic: Incorrect message: subscription has expired
Replies: 2
Views: 182

Re: Incorrect message: subscription has expired

Please send the subscription key you are using to sales@sapien.com for evaluation. Please do NOT post it here.
by Alexander Riedel
Fri Feb 03, 2023 1:36 pm
Forum: PowerShell Studio
Topic: EXOV3 and ActiveDirectory modules Non-Thread STA issue in PS5.1 and PSS 2023
Replies: 10
Views: 796

Re: EXOV3 and ActiveDirectory modules Non-Thread STA issue in PS5.1 and PSS 2023

If you feel adventurous, replace the PowerShellDebuggerV5.dll here: C:\Program Files\SAPIEN Technologies, Inc\PowerShell Studio 2023\Debugger64 with the one in the attached zip file for a test. No promises. And make sure you backup the original so you can restore that. Let me know if that makes any ...
by Alexander Riedel
Fri Feb 03, 2023 1:19 pm
Forum: PowerShell Studio
Topic: EXOV3 and ActiveDirectory modules Non-Thread STA issue in PS5.1 and PSS 2023
Replies: 10
Views: 796

Re: EXOV3 and ActiveDirectory modules Non-Thread STA issue in PS5.1 and PSS 2023

As you can see here, with the sample code you provided it seems to operate.
Of course I do not have an actual AD server running here.
2023-02-03_13-17-04.png
2023-02-03_13-17-04.png (315.58 KiB) Viewed 273 times
by Alexander Riedel
Fri Feb 03, 2023 1:15 pm
Forum: PowerShell Studio
Topic: EXOV3 and ActiveDirectory modules Non-Thread STA issue in PS5.1 and PSS 2023
Replies: 10
Views: 796

Re: EXOV3 and ActiveDirectory modules Non-Thread STA issue in PS5.1 and PSS 2023

I have checked around with the debugger in our interface and hosting code and when you select STA all threads that we create are single threaded apartment.
You may get some more information asking Microsoft to investigate why these two modules can have this interaction.
by Alexander Riedel
Fri Feb 03, 2023 12:26 pm
Forum: PowerShell Studio
Topic: EXOV3 and ActiveDirectory modules Non-Thread STA issue in PS5.1 and PSS 2023
Replies: 10
Views: 796

Re: EXOV3 and ActiveDirectory modules Non-Thread STA issue in PS5.1 and PSS 2023

Ok, here are a few things I would try. You may have done that already, but here it goes. - Reboot. This is a silly one, but COM objects do stick around. Only to be sure is to reboot. - If you use the ISE for testing, restart it every single time. It reuses the runspace so you do not get accurate res...
by Alexander Riedel
Fri Feb 03, 2023 11:07 am
Forum: PowerShell Studio
Topic: EXOV3 and ActiveDirectory modules Non-Thread STA issue in PS5.1 and PSS 2023
Replies: 10
Views: 796

Re: EXOV3 and ActiveDirectory modules Non-Thread STA issue in PS5.1 and PSS 2023

We cannot readily produce that here.
"Code execution fails on connect-exchangeonline and enters the catch block to display the error message."
Does that mean the login dialog comes up and fails AFTERWARDS or does the dialog not come up to begin with?
by Alexander Riedel
Fri Feb 03, 2023 9:13 am
Forum: PowerShell Studio
Topic: Code no longer works when packaged as an exe (but did used to, and hasn't changed)
Replies: 1
Views: 353

Re: Code no longer works when packaged as an exe (but did used to, and hasn't changed)

Please go to your Windows Update history and list the updates you have installed within the last two months. Is the .NET framework 3.5 and 4.8 update included? https://support.microsoft.com/en-us/topic/december-13-2022-kb5020880-cumulative-update-for-net-framework-3-5-and-4-8-1-for-windows-11-versio...
by Alexander Riedel
Thu Feb 02, 2023 8:07 am
Forum: PowerShell
Topic: script file "self destruct" on compiled EXE file
Replies: 3
Views: 1357

Re: script file "self destruct" on compiled EXE file

You cannot delete an executable file that is in use. Not from the inside.
Here is a discussion on the subject:
https://stackoverflow.com/questions/160 ... executable