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.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft IIS Web Server

From novice to tech pro — start learning today.