"Run" or "Run In Console"

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 5 years and 8 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

Re: "Run" or "Run In Console"

Post by davidc »

For testing purposes, what happens if you use Invoke-WebRequest instead? Does it also produce the same error?
David
SAPIEN Technologies, Inc.
User avatar
Kilsgaard
Posts: 25
Last visit: Fri Jan 26, 2024 11:37 am
Has voted: 1 time

Re: "Run" or "Run In Console"

Post by Kilsgaard »

Hi David

Thanks, to reproduce you would need a odata source or something like that where you should send ex. a username formated as [domain]\[User] it looks like it is what gives the problem.

I have tried with STA on/off = no changes, still fails with "Run" and "Run in Console"

Powershell V5 64/32bit = no changes, still fails with "Run" and "Run in Console"

PowerShell 2, the Invoke-RestMethod does not exist in PowerShell V2.

Best Regards
/Graves
User avatar
Kilsgaard
Posts: 25
Last visit: Fri Jan 26, 2024 11:37 am
Has voted: 1 time

Re: "Run" or "Run In Console"

Post by Kilsgaard »

With Invoke-WebRequest, it is exactly the same.

have attached two files where one is failing, it has [Domain]\[Username] and one that is not failing, it has a username without a \.
Joust as before :-(

/Graves
Attachments
Invoke-Webrequest - with out backslash gives no error.png
Invoke-Webrequest - with out backslash gives no error.png (22.43 KiB) Viewed 3413 times
Invoke-Webrequest - with backslash gives error.png
Invoke-Webrequest - with backslash gives error.png (33.8 KiB) Viewed 3413 times
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

Re: "Run" or "Run In Console"

Post by davidc »

As soon as we discover something new, I will let you know. Right now, we need to be able to reproduce this on our end, so that we can try to resolve the issue.
David
SAPIEN Technologies, Inc.
User avatar
Kilsgaard
Posts: 25
Last visit: Fri Jan 26, 2024 11:37 am
Has voted: 1 time

Re: "Run" or "Run In Console"

Post by Kilsgaard »

Hi David

Thanks :-)

Please let me know if i can help your tests.
I Might be able to put a test instance of the OData service i use on the internet, so you can test :-)

/Graves
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

Re: "Run" or "Run In Console"

Post by davidc »

If you could set up a test OData service, that would be great. It would definitely help us. As for privacy, you can email any information to support@sapien.com.

Thank you,
David
SAPIEN Technologies, Inc.
User avatar
Kilsgaard
Posts: 25
Last visit: Fri Jan 26, 2024 11:37 am
Has voted: 1 time

Re: "Run" or "Run In Console"

Post by Kilsgaard »

Hi David

I need to get at network guy to open a port for me :-)

So please give me a couple of days then I hope for success, and will mail you..

Best regards
/Graves
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

Re: "Run" or "Run In Console"

Post by davidc »

No worries, we really appreciate the help.
David
SAPIEN Technologies, Inc.
User avatar
Kilsgaard
Posts: 25
Last visit: Fri Jan 26, 2024 11:37 am
Has voted: 1 time

Re: "Run" or "Run In Console"

Post by Kilsgaard »

Hi David

I have now send an email to support@sapien.com


I have created a couple of test scripts :-)


Regards
/Graves
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

Re: "Run" or "Run In Console"

Post by davidc »

Thank you so much. I was able to reproduce the issue and I will pass this along to the dev team.
I also verified that a packaged version does indeed run.
David
SAPIEN Technologies, Inc.
This topic is 5 years and 8 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.