Windows error WAS 5189 how to interpret test to resolve?

This error is in my system log one time here are the details.
The Windows Process Activation Service failed to generate an application pool config file for application pool 'DefaultAppPool'. The error type is '7'. To resolve this issue, please ensure that the applicationhost.config file is correct and recommit the last configuration changes made. The data field contains the error number.

I used a elevated command prompt and ran these commands.
cd %Windir%\system32\\inetserv
appcmd list config

The article said you would either get success or an error in the xml file.  I don't see any errors but it shows me the entire configuration file.  Is success considered seeing the file with no error?  I am not sure exactly what an error would look like here.

How do I do this part of the resolution?
If the config file is correct then is says recommit the last configuration changes made. The data field contains the error number.
kdschoolAsked:
Who is Participating?
 
kdschoolAuthor Commented:
I found another article that answers part of this.
3.At the command prompt, type appcmd list config. The command should either return an error or successfully display the entire ApplicationHost.config file.

so my file is fine.  Now if you can tell me how to commit my changes that would solve this.  I thought starting stopping IIS would do it.  Is there a command I should run on this.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.