Why is IIS failing to read the section even though ASP.NET 4.5 is installed?
IIS fails to read the section in your web.config—even after ASP.NET 4.5 is installed—because IIS doesn't automatically know how to parse custom or extended configuration sections unless they’re explicitly declared in the block at the top of your web.config.

Jignesh KumarPosted Aug 1, 2025, 7:07 AM
Hello Nititn,
Which .NET Framework are you using?
Make sure you're targeting .NET Framework 4.5 or later in your application.
IIS parses
web.configfrom top to bottom. If you use custom or extended sections likewithout first declaring them under, IIS doesn’t know how to interpret them.If your web config does not have the above section could you please add that one.
Suresh MPosted Jul 31, 2025, 8:04 AM
Ensure that the
block correctly definesFormatSangeetha SPosted Jul 30, 2025, 9:58 AM
Check your application pool in IIS:
Ensure the correct assembly is referenced