DocType, XMLNamespace, BodyClass & BodyParameters Not Existing

Andre Pfanz asked on June 15, 2016 20:38

I searched this site, including the upgrade sections, but have not found an answer to this. We recently upgraded from Kentico 7 to 9 and are having a compilation problem with DocType, XMLNamespace, BodyClass & BodyParameters in the Root.master page not being defined. What have these values been replaced with in 9?

Correct Answer

Brenden Kehren answered on June 15, 2016 20:41

Have you checked to see that your upgrade completed successfully? One main thing to check is that your DLL's are currently stating they are version 9.0.x. Also in the web.config, there should be an appSettings key like below. I believe this was added in v8 as default.

<add key="PageInspector:ServerCodeMappingSupport" value="Disabled" />
0 votesVote for this answer Unmark Correct answer

Recent Answers


Andre Pfanz answered on June 15, 2016 20:46

Thanks for the quick response. The DLLs in the bin folder are 9.0.1. I also have the appSettings key you mentioned in web.config.

0 votesVote for this answer Mark as a Correct answer

Andre Pfanz answered on June 16, 2016 22:12

Somehow this error went away. Weird.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.