Install PSM HealthCheck error out with "Set-WebConfiguration : The data is invalid. (Exception from HRESULT: 0x8007000D)"

Install PSM HealthCheck error out with "Set-WebConfiguration : The data is invalid. (Exception from HRESULT: 0x8007000D)"

132
Created On 11/10/26 11:02 AM - Last Modified 11/10/26 16:09 PM


Symptom


While running .\healthcheck.ps1, it throws out below exception:

Receiving the following error:

Set-WebConfiguration : The data is invalid. (Exception from HRESULT: 0x8007000D)

At D:\psm\HealthCheck-v1.0\HealthCheck\HealthCheck.ps1:219 char:3

+ Set-WebConfiguration -Location "$siteName/PSM" -Filter 'syste ...

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

+ CategoryInfo : NotSpecified: (:) [Set-WebConfiguration], COMException

+ FullyQualifiedErrorId : System.Runtime.InteropServices.COMException,Microsoft.IIs.PowerShell.Provider.SetConfigurationCommand



Environment


12.2 Privileged Access Manager (PAM, self-hosted) PSM PSM PSM Monitoring Page

Cause


The required Microsoft .NET Windows Server Hosting packages was not installed.

 



Resolution


Install Microsoft .NET Windows Server Hosting Bundle by downloading the latest version from https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/runtime-aspnetcore-3.1.22-windows-hosting-bundle-installer

The bundle includes the .NET Core runtime, the ASP.NET Core runtime, and if installed on a machine with IIS it will also add the ASP.NET Core IIS Module.

.NET Core by itself is not sufficient to install the PSM HealthCheck.



Actions
  • Print
  • Copy Link

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