Packaging Error

Archived support forum for customers who once purchased a PrimalForms product license. This forum is locked.
User avatar
virusexpert
Posts: 32
Joined: Sun Aug 01, 2010 12:02 pm

Packaging Error

Post by virusexpert » Sun Aug 01, 2010 12:02 pm

I have created a form and am trying to use alternative credentials. The package generates the following errors:

LogonUser call failed with error code: 1326

Impersonation failed, aborting process.

All forms generate this error, even with no code.

I am running v1.1.9





User avatar
Alexander Riedel
Posts: 7164
Joined: Tue May 29, 2007 4:43 pm

Packaging Error

Post by Alexander Riedel » Sun Aug 01, 2010 7:23 pm

Error code 1326 means: Logon failure: unknown user name or bad password.


I suggest to check the username and password specified. Usernames in a domain environment should be specified as user@domain
Alexander Riedel
SAPIEN Technologies, Inc.

User avatar
virusexpert
Posts: 32
Joined: Sun Aug 01, 2010 12:02 pm

Packaging Error

Post by virusexpert » Sun Aug 01, 2010 10:10 pm

I was using domainuserid. I will give 2000 format a try. Thank you for the quick reply.

User avatar
virusexpert
Posts: 32
Joined: Sun Aug 01, 2010 12:02 pm

Packaging Error

Post by virusexpert » Wed Aug 04, 2010 2:24 am

If I use user@domain it seems to work on Windows XP, but on 64-bit Windows 7 I get the following message: (Packaged as 32bit or 64bit)


User avatar
Alexander Riedel
Posts: 7164
Joined: Tue May 29, 2007 4:43 pm

Packaging Error

Post by Alexander Riedel » Wed Aug 04, 2010 3:32 am

Works here, I will check into it.
I am assuming packages without alternate credentials work fine on your machine?
Alexander Riedel
SAPIEN Technologies, Inc.

User avatar
virusexpert
Posts: 32
Joined: Sun Aug 01, 2010 12:02 pm

Packaging Error

Post by virusexpert » Wed Aug 04, 2010 3:48 am

That is correct. Does it make a difference if I am a domain admin?

User avatar
Alexander Riedel
Posts: 7164
Joined: Tue May 29, 2007 4:43 pm

Packaging Error

Post by Alexander Riedel » Wed Aug 04, 2010 3:52 am

It shouldn't. Most likely it is an undocumented (or under-documented) API change. I will look into it.


Attached files
Alexander Riedel
SAPIEN Technologies, Inc.

User avatar
virusexpert
Posts: 32
Joined: Sun Aug 01, 2010 12:02 pm

Packaging Error

Post by virusexpert » Mon Sep 20, 2010 11:34 pm

I am still not able to get this working. I have tried running with a non-domain admin account and get the same error.

User avatar
Alexander Riedel
Posts: 7164
Joined: Tue May 29, 2007 4:43 pm

Packaging Error

Post by Alexander Riedel » Tue Sep 21, 2010 3:13 am

Can you zip and email a packaged exe to support@sapien.com?
Alexander Riedel
SAPIEN Technologies, Inc.

User avatar
virusexpert
Posts: 32
Joined: Sun Aug 01, 2010 12:02 pm

Packaging Error

Post by virusexpert » Tue Sep 21, 2010 4:21 am

I can, but the userID I have used will not exist on your network.

I can create this error with a blank form (no code) and select Package Security: Specify alternate credentials if you want your packaged scripts to run as a different user:

I enter a valid userID in the form of Name@domain and the correct password.

If I enter the wrong data, I receive an error stating the name or pw is incorrect.

I have tried both 32 and 64bit, both generate the same errors.