This article is contributed. See the original author and article here.

World Wide Web Publishing service has a dependency to Windows Process Activation Service (WAS). You may see the errors below when you try to start WAS:


 


“Error 13: The data is invalid:


Nedim_0-1616781134561.jpeg


 


Event 7023: “The Windows Process Activation Service service terminated with the following error: The data is invalid.”


Nedim_1-1616781134573.jpeg


 


 


Solution


The first thing to check is the IIS configuration file (C:WindowsSystem32inetsrvconfigapplicationHost.config). Any issues with this file will prevent IIS functioning properly.


 


Open applicationHost.config file. Make sure you see <configuration> in the beginning and </configuration> at the end. You may see unknown characters that mean the file is corrupted. Sometimes, you may not see any content at all which is also an issue.


 


Sample for a corrupted applicationHost.config file:


Nedim_2-1616781134608.png


 


If there is something wrong with this file, try one of these:



  • Replace the file If there is a backup

  • If you don’t have a backup of the file, you may have backed up the entire server. Try to extract the file from that backup

  • If there is another server hosting the same websites with the same configuration, get the parts of the file from that server to fix the corruption

  • You can also try to fix the corrupted part manually. Sometimes, only a few closing tags are missing

  • If none of the options above works, you will need to uninstall and install IIS back. This will create a brand-new configuration file. In this case, you will need to create the sites from scratch

Brought to you by Dr. Ware, Microsoft Office 365 Silver Partner, Charleston SC.

%d bloggers like this: