Stefan Goßner

Senior Escalation Engineer for SharePoint Products and Technologies


Problem with the ASP.NET 2.0 menu control and MCMS

  • Comments 11
  • Likes

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.

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

  • 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

  • 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?



  • 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!

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


  • Thanks, this was a big help!!!

  • PingBack from

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

  • PingBack from

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
Raw Html Fix