Enabling developer code to troubleshoot WebUI issues

Enabling developer code to troubleshoot WebUI issues

87
Created On 11/10/26 10:54 AM - Last Modified 11/10/26 15:55 PM


Symptom


Steps for enabling developer code to troubleshoot WebUI issues like exceptions and"unknown error" messages:

For WebAdmin

1. Go to {install base}\web\admin

2. Edit web.config

3. Add this line to appSettings:

<add key="ShowDeveloperCode" value="true"/>

You will end up with something looking like this:

<appSettings>

<add key="ChartImageHandler" value="storage=session">

</add>

<add key="ShowDeveloperCode" value="true"/>

</appSettings>

There is no need to restart the web console.

For Aperture

To enable the similar concept in the Venafi Aperture portal, do the following:

1. Open IIS Manager and Open your Venafi site, then go to Aperture > API and scroll down and open your Configuration Manager

tempsnip.png

2. Highlight the "Count=1" box and then click on the small box with ellipsis

2.png

3. Highlight the ShowStackTrace field, and then change the value from 0 to 1 in the bottom window

4.png

Alternately, you can also edit the web.config file manually:

  1. Edit \program files\venafi\web\aperture\api\web.config
  2. Check this block after </runtime>

<appSettings>

<add key="showStackTrace" value="0" />

</appSettings>

And change value="0" to value="1"

Note: A common mistake is to attempt to do this in\program files\venafi\web\aperture\client\web.config - but this is the wrong location.



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000000xpiCAA&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail