Error when decrypting UPK or Knowledge Center web.config file: aspnet_regiis.exe is not a valid win32 application

(Doc ID 2316510.1)

Last updated on OCTOBER 11, 2017

Applies to:

User Productivity Kit - Version 11.1.0.0 and later
Information in this document applies to any platform.

Symptoms

On : Any UPK or Knowledge Center version

When attempting to decrypt the UPK web.config file's database connection section, the following error occurs.

ERROR
-----------------------
C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe is not a valid win32 application


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Attempt to decrypt the UPK web.config with the following command:

C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -pd "connectionStrings" -app "/ODSContent" -site "1"

BUSINESS IMPACT
-----------------------
Due to this issue, users cannot view the DB connection string within the UPK web.config file

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms