webengine4.dll Error in Windows 10 and 11: ASP.NET 4 IIS application startup

An ASP.NET 4 application on local IIS returns a startup or handler error naming webengine4.dll. Check the selected application pool and loaded modules.
The Windows file inventory identifies webengine4.dll as Microsoft ASP.NET Support DLL. Capture the actual error, file path and Windows build before making changes.
Check where the error occurs
Confirm the application actually targets .NET Framework 4.x. Check the pool's managed runtime and required bitness against the application documentation. Compare a simple test endpoint in the same pool.
Repair the affected feature
Enable the matching ASP.NET 4.x IIS components through the supported Windows feature UI. Restore the approved application-pool settings. Avoid registering an arbitrary copied DLL.
If Windows reports corruption of a protected system file, use Microsoft’s system file repair procedure. Obtain software and drivers through Windows Update or the applicable publisher.
Verify the repair
Test a dynamic page and a static file in the application. Confirm the dynamic request succeeds and no new webengine4.dll loading error is logged.
See the publisher’s guidance, the exact Windows file record, and the related PC Repair Atlas guide.