Cannot encrypt UiPath.Orchestrator.dll.config section

Hi @Lucca,

We were facing a similar issue while encrypting the orchestrator.dll.config for 22.10 version. After encrypting the SecureAppSettings successfully, we were not able to encrypt ConnectionStrings.

Our issue was, after initial encryption or decryption is successful, the “configsection” closing parameter position is getting misplaced in the dll.config file. So the next encryption/decryption fails saying “Object reference not set to an instance of an object” as below.

Before SecureAppSettings encryption,

After SecureAppSettings encryption,

We had to move the closing configsections to correct position, save the dll.config file and then run the next encryption command which was the connectionStrings. It was successful. May be you might want to check the same in your dll.config file. If the position is getting misplaced after every encryption/decryption, you need to re-position it correctly and run the next command.

Let me know if this helps.

6 Likes