Problem with the ASP.NET 2.0 menu control and MCMS

A couple of customers reported problems when using the menu control with ASP.NET 2.0 and MCMS.

After analyzing one of the affected projects I identified that the reason for the problem is that the menu control seems to have a bug. It does not work correct if the following tag is included in the web.config:

      <xhtmlConformance mode=”Legacy”/>

Removing this tag resolved the problem for MCMS template projects and also for normal ASP.NET webform projects.


  1. I have posted a solution for this problem in a subsection of this article but someone who is just looking


  2. Hi,

    i’ve a unique problem with the menu controll.

    Our menu is driven by the setting/access for that user from the database. the menu gets added dynamically with the items.

    this works fine in our development environment, when i move the same with public website to staging server, the menu control acts funny, which every link we click it goes to the landing page of the first menu.

    our staging server is setup as website with window 2003 OS

    can you let me know why is this and how to get it resolved.


    Subhash M


  3. Hi Subhash,

    if the menu control is populated from a database then it sound more like an ASP.NET problem than a MCMS issue.

    Maybe a different database is connected on the staging server?

    Or the database cannot be properly accessed?




  4. Thank You!

    Add a problem with the Menu control and after checking the webConfig file it had this line! I commented the line and no more problems with the Menu control 🙂

    I don’t think my problem was a MCMS related.

    Thank You!


  5. Thank you very much. That hint saved my day!



  6. Thanks, this was a big help!!!


  7. Thanks so much. I’ve lost hours and hours trying to find out why menu control changes appearance when application is started.


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.