1. Sim Joo Pee
  2. PowerServer
  3. Tuesday, 25 July 2023 09:37 AM UTC

Hi master,

  I am trying to use the CustomizeDeploy.dll to encrypt password, but it returned me error. I tried on Web Server as well as local PB IDE pc, not working. Please attachment for error message. Hope someone can help me. Thanks.

Attachments (1)
Accepted Answer
Francisco Martinez @Appeon Accepted Answer Pending Moderation
  1. Thursday, 27 July 2023 00:19 AM UTC
  2. PowerServer
  3. # Permalink
You don't need to encrypt the password if you're entering it in the Project Painter. The IDE will automatically encrypt it for you when you deploy the project. You should only encrypt it when you're entering the values directly in the Applications.json file.
Comment
There are no comments made yet.
Sim Joo Pee Accepted Answer Pending Moderation
  1. Wednesday, 26 July 2023 01:06 AM UTC
  2. PowerServer
  3. # 1

HI Francisco,

 Thanks for higlighted that. I missed the dotnet words.  It is working now. But, i have different issue now, complaining "The value length for key 'Password' exceeds its limit of 128". Is this a bug? Should i report to Appeon? Please attachment for more details. Thank you.

Attachments (1)
Comment
  1. Armeen Mazda @Appeon
  2. Thursday, 27 July 2023 08:56 AM UTC
Please open a support ticket if your password does not exceed 128 characters. If it does exceed, please set shorter password based on error message there is a maximum limit.
  1. Helpful
There are no comments made yet.
Francisco Martinez @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 25 July 2023 14:24 PM UTC
  2. PowerServer
  3. # 2

Hi Sim,

 

The CustomizeDeploy tool is a .NET DLL, you can't run it as if it were an Executable. The correct way to run this file is:

dotnet CustomizeDeploy.dll <arguments>

Of course, you should have the .NET runtime installed on the machine.

 

Regards,
Francisco

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 25 July 2023 12:12 PM UTC
  2. PowerServer
  3. # 3

Hi Sim;

  Why not use the PB built-in "Crypter" object?

https://docs.appeon.com/pb/whats_new/ch07s04.html

Regards ... Chris 

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.