Home
%3CLINGO-SUB%20id%3D%22lingo-sub-1006408%22%20slang%3D%22en-US%22%3EWindows%20Process%20Activation%20error%20(NetFx40_IIS)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1006408%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20recently%20came%20across%20an%20issue%20that%20started%20occurring%20after%20updating%20.NET%20Framework%20in%20Windows%20Server.%20Here%20is%20the%20error%20message%20from%20Event%20Viewer%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22padding-left%3A%2030px%3B%22%3E%3CEM%3ESystemSource%3A%20Microsoft-Windows-WAS%3C%2FEM%3E%3CBR%20%2F%3E%3CEM%3EEvent%20ID%3A%205172%20%3C%2FEM%3E%3CBR%20%2F%3E%3CEM%3EDescription%3A%20The%20Windows%20Process%20Activation%20Service%20encountered%20an%20error%20trying%20to%20read%20configuration%20data%20from%20file%20'C%3A%5CWindows%5Csystem32%5Cinetsrv%5Cconfig%5Cschema%5CNetFx40_IIS_schema_update.xml'%2C%20line%20number%20'1'.%26nbsp%3B%20The%20error%20message%20is%3A%20'Configuration%20file%20is%20not%20well-formed%20XML'.%26nbsp%3B%20The%20data%20field%20contains%20the%20error%20number.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20may%20see%20the%20errors%20below%20as%20well%20because%26nbsp%3B%3CSTRONG%3EWindows%20Process%20Activation%20Service%3C%2FSTRONG%3E%26nbsp%3Bfails%20to%20start.%26nbsp%3B%3CSTRONG%3EWorld%20Wide%20Web%20Publishing%20Service%3C%2FSTRONG%3E%26nbsp%3Bdoes%20not%20start%20%26nbsp%3Btoo%20because%20it%20depends%20on%20Windows%20Process%20Activation%20Service.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F156928i3F84AD1C7E190FE4%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22clipboard_image_2.jpeg%22%20title%3D%22clipboard_image_2.jpeg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EEvent%20ID%3A%207023Description%3A%20The%20Windows%20Process%20Activation%20Service%20service%20terminated%20with%20the%20following%20error%3A%26nbsp%3BThe%20data%20is%20invalid.%20Event%20ID%3A%207001Task%20Category%3A%20NoneLevel%3A%20ErrorDescription%3A%20The%20World%20Wide%20Web%20Publishing%20Service%20service%20depends%20on%20the%20Windows%20Process%20Activation%20Service%20service%20which%20failed%20to%20start%20because%20of%20the%20following%20error%3A%26nbsp%3BThe%20data%20is%20invalid.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESince%20the%20configuration%20file%20is%20corrupted%2C%20IIS%20Manager%20will%20probably%20throw%20the%20error%20below%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F156929i37EB4C07D0F42C88%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22clipboard_image_3.jpeg%22%20title%3D%22clipboard_image_3.jpeg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--1444912937%22%20id%3D%22toc-hId--1444912906%22%3E%26nbsp%3B%3C%2FH2%3E%0A%3CH2%20id%3D%22toc-hId-1042599896%22%20id%3D%22toc-hId-1042599927%22%3ESolution%3C%2FH2%3E%0A%3CP%3EWindows%20backs%20up%20IIS%20configuration%20files%20before%20making%20any%20changes%20to%20them%20(as%20part%20of%20Windows%20updates).%3CCODE%3ENetFx40_IIS_schema_update.xml%3C%2FCODE%3E%20is%20one%20of%20these%20files.%20Backup%20folder%20is%26nbsp%3B%3CCODE%3EC%3A%5Cinetpub%5Chistory%3C%2FCODE%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ECopy%20the.NET%20Framework%20IIS%20scheme%20file%20from%20the%20History%20folder%20to%20the%20path%20mentioned%20in%20the%20error%20message%20(%3CCODE%3EC%3A%5CWindows%5Csystem32%5Cinetsrv%5Cconfig%5Cschema%5C%3C%2FCODE%3E).%20Then%20restart%20IIS.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20you%20are%20still%20seeing%20this%20error%2C%20delete%20the%20xml%20file.%20Windows%20should%20create%20a%20new%20one%20automatically.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1006408%22%20slang%3D%22en-US%22%3E%3CP%20style%3D%22margin%3A%200cm%200cm%207.5pt%200cm%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%2013.5pt%3B%20font-family%3A%20'Arial'%2Csans-serif%3B%20color%3A%20%236b6b6b%3B%22%3EI%20have%20recently%20came%20across%20an%20issue%20that%20started%20occuring%20after%20updating%20.NET%20Framework%20in%20Windows%20Server.%20Here%20is%20the%20error%20message%20from%20Event%20Viewer%3A%3C%2FSPAN%3E%26nbsp%3BThe%20Windows%20Process%20Activation%20Service%20encountered%20an%20error%20trying%20to%20read%20configuration%20data%20from%20file%20'C%3A%5CWindows%5Csystem32%5Cinetsrv%5Cconfig%5Cschema%5CNetFx40_IIS_schema_update.xml'%2C%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-TEASER%3E
Microsoft

I have recently came across an issue that started occurring after updating .NET Framework in Windows Server. Here is the error message from Event Viewer:

 

SystemSource: Microsoft-Windows-WAS
Event ID: 5172
Description: The Windows Process Activation Service encountered an error trying to read configuration data from file 'C:\Windows\system32\inetsrv\config\schema\NetFx40_IIS_schema_update.xml', line number '1'.  The error message is: 'Configuration file is not well-formed XML'.  The data field contains the error number.

 

You may see the errors below as well because Windows Process Activation Service fails to start. World Wide Web Publishing Service does not start  too because it depends on Windows Process Activation Service.

 

clipboard_image_2.jpeg

Event ID: 7023Description: The Windows Process Activation Service service terminated with the following error: The data is invalid. Event ID: 7001Task Category: NoneLevel: ErrorDescription: The World Wide Web Publishing Service service depends on the Windows Process Activation Service service which failed to start because of the following error: The data is invalid.

 

Since the configuration file is corrupted, IIS Manager will probably throw the error below:

clipboard_image_3.jpeg

 

Solution

Windows backs up IIS configuration files before making any changes to them (as part of Windows updates). NetFx40_IIS_schema_update.xml is one of these files. Backup folder is C:\inetpub\history

 

Copy the.NET Framework IIS scheme file from the History folder to the path mentioned in the error message (C:\Windows\system32\inetsrv\config\schema\). Then restart IIS.

 

If you are still seeing this error, delete the xml file. Windows should create a new one automatically.