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 and later
Information in this document applies to any platform.


On : Any UPK or Knowledge Center version

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

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

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"

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


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