I've installed the IIS failed request tracing rules feature on my server (Windows Server 2016), and I'm trying to add a new rule. When I click "Finish" to add the new rule, this error pops up:
I can't seem to find anything on Google as to why this error would occur in this circumstance, and I've tried changing the Providers to no avail. I'm trying to trace HTTP 500 internal server errors. How can I fix this?
This error is also popping up when I try to perform various other configuration changes in the IIS manager so it seems to be something fundamental.
0xC00CEF03 error code translates to WR_E_NSPREFIXWITHEMPTYNSURI which refers to “Writer: cannot use prefix with empty namespace URI” (Reference).
This error occurs when there is something wrong with the web.config file. It’s probably corrupted or there are incompatible tags and parameters. As a result of this corruption and incompatibility, IIS is not able to read this file. Therefore, it can’t make a change.
The issue mostly happens after migration because a piece of configuration that works in the older version of IIS (and .NET Framework) probably became unsupported in the newer version.
The shortest way of finding what part of the web.config is causing the issue is to remove sections one by one and test. High-level steps:
system.serviceModel
section)ws2007HttpBinding
subsection insystem.serviceModel
section)wsid:
,asm:
, andtrust:
are the most common causes of this issueSource: 0xC00CEF03 error (Cannot use prefix with empty namespace URI)