David, I had the change to logon as iusr_domain which is the account specified in the build of the form. It ran as expected.
David, the situation isn't solved. I can run it when I logon as iusr_domain but it still won't run using those credentials logged in as someone else. This little app is to be used by our helpdesk personnel who do not have the appropriate security rights to set folder permissions.
Ok, now I feel really fullish, no stupid. After testing different scenarios it turns out that I entered the password wrong. Which is interesting because I must have entered it 4 or 5 times in PrimalForms and I logged in with that account more than once.Well, thank you for your help and I'm sorry I wasted your time.
I am experiencing the same problem. This is a new/blank forms project. I am quite sure I am not entering the wrong password.When choosing impersonate, the error message is: PowerShell cannot be instantiatedWhen choosing run as, the error message is: The directory name is invalidThe same error messages appear when I login as the impersonated/runas-ed user.