App-V 5.1 – Publishing metadata not ready

Microsoft recently published a Guide on how to Update your Management-Server to App-V 5.1. After the upgrade you may encounter the following error when accessing the Publishing Service:

app-v_publishing_error

The actual update itself is a bit tricky because the setup process resets the current Database Server which is stored in the Registry of the Management Server. After the setup you need to manually revert the Registry-Value to the original state before the update. This is all covered in the linked Blog-Post by Microsoft.

Regarding the Publishing Error, follow the Steps as below:

1. Start by making a backup/snapshot of your management server. Everything feels better with a backup. 🙂

2. Use the following PowerShell Commands to stop the App-V related Application Pools on your Management-Server:

3.  Navigate to the following Directories and remove the Publishing Metadata XML Files in it:

C:\ProgramData\Microsoft\AppV\Server\Management
app-v_delete_mgmgt_metadata

C:\ProgramData\Microsoft\AppV\Server\Publishing
app-v_delete_pub_metadata

4.  Start the App-V Management Application Pool

5. Start the App-V Publishing Management Pool

You should see that the deleted Publishing Metadata XML Files are getting recreated and your Publishing-Service should be up and running again.

app-v_publishing_success

Thank you all for reading!
Simon

Leave a Reply