Error when trying to package file with "Run As User"

Archived support forum for customers who once purchased a PrimalForms product license. This forum is locked.
This topic is 11 years and 4 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

Error when trying to package file with "Run As User"

Post by davidc »

I attached test v2 packager engines. Please back up and replace the exes in the following folder:

C:Program Files (x86)SAPIEN Technologies, IncPowerShell Studio 2012Script Engines

Once replaced, repackage the script and see if you still get the same error.

David


Attached files /FileUpload/d8/10eccfee94e37d8e1e63779728644d.zip (182.3 KB)
David
SAPIEN Technologies, Inc.
User avatar
nodgiles
Posts: 11
Last visit: Mon Aug 10, 2015 2:26 pm

Error when trying to package file with "Run As User"

Post by nodgiles »

same result.
User avatar
Alexander Riedel
Posts: 8472
Last visit: Mon Mar 18, 2024 2:59 pm
Answers: 19
Been upvoted: 37 times

Error when trying to package file with "Run As User"

Post by Alexander Riedel »

We need to determine where this error message exactly comes from. Can you make a screenshot of the actual message and post it here?
Alexander Riedel
SAPIEN Technologies, Inc.
User avatar
nodgiles
Posts: 11
Last visit: Mon Aug 10, 2015 2:26 pm

Error when trying to package file with "Run As User"

Post by nodgiles »

It happens when I try to run the file exe. It's not very informative.

I'm sure it has less to do with an error in the program and more to do with how the account needs to be configured (either in AD or on the local machine).

Attached files
User avatar
Alexander Riedel
Posts: 8472
Last visit: Mon Mar 18, 2024 2:59 pm
Answers: 19
Been upvoted: 37 times

Error when trying to package file with "Run As User"

Post by Alexander Riedel »

I thought you had an error with a missing directory object.
For accounts it is usually best to specify the full account (domain or machine) in its full form. The account MUST have local login premissions.
Group policy can very often override local settings.
Alexander Riedel
SAPIEN Technologies, Inc.
User avatar
seligdon
Posts: 3
Last visit: Thu Apr 11, 2013 1:43 pm

Error when trying to package file with "Run As User"

Post by seligdon »

yup, as previously stated, it only works with my Domain admin account. I gave up and just used pssession's and invoke commands within the script instead.
This topic is 11 years and 4 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.