The message that I receive is "the requested page cannot be accessed because the related configuration data for the page is invalid" (500.19, error code 0x80007000d).

After removing utf-8, or adding utf-16 to the xml root node in the web.config, IIS then serves pages. Where is the code page set for the site, as I've never run into this issue before?

Thank you, Stephen

  • 1
    It may not have anything to do with the problem, but does the web.config file have a BOM set? I can imagine that if the BOM conflicted with the XML root node encoding attribute, it could upset things. – Andrew Morton Mar 13 '14 at 20:31
  • @AndrewMorton, if you would be so kind as to answer the question, I'll mark it as accepted. Thank you! – Stephen Patten Mar 14 '14 at 3:08

If the web.config file has a BOM set, then the XML root node encoding attribute must match.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.