Support Forums

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.
User avatar
davidc
Posts: 4354
Joined: Thu Aug 18, 2011 4:56 am

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

Postby davidc » Thu Nov 01, 2012 4:52 am

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
Joined: Tue Oct 30, 2012 2:49 am

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

Postby nodgiles » Thu Nov 01, 2012 7:17 am

same result.
User avatar
Alexander Riedel
Posts: 5790
Joined: Tue May 29, 2007 4:43 pm

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

Postby Alexander Riedel » Thu Nov 01, 2012 7:57 am

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
Joined: Tue Oct 30, 2012 2:49 am

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

Postby nodgiles » Fri Nov 02, 2012 2:12 am

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: 5790
Joined: Tue May 29, 2007 4:43 pm

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

Postby Alexander Riedel » Fri Nov 02, 2012 4:13 am

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
Joined: Tue Nov 13, 2012 8:25 am

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

Postby seligdon » Tue Nov 13, 2012 8:06 am

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.

Return to “PrimalForms”

Who is online

Users browsing this forum: No registered users and 1 guest