Doesn't work with areas...

Oct 18, 2010 at 2:31 AM

Well, I downloaded this because searches on Google said that this thing worked with MVC Areas. Well, it does not. I'm getting the "AmbiguousControllerException" exception.

Do I perhaps need to add "area" attributes to all sitemap nodes??

My sitemap file looks as follows:

<?xml version="1.0" encoding="utf-8" ?>
<mvcSiteMap xmlns="" enableLocalization="true">
  <mvcSiteMapNode title="Home" controller="Home" action="Index">
    <mvcSiteMapNode title="About MyApp" controller="Home" action="About" area=""/>
    <mvcSiteMapNode title="Administration" controller="Home" action="Index" area="Admin" roles="myapp administrator">
      <mvcSiteMapNode title="Manage Committees" controller="Committees" action="Index" area="Admin"/>
      <mvcSiteMapNode title="Manage Elections" controller="Elections" action="Index" area="Admin"/>
      <mvcSiteMapNode title="Manage Nominations" controller="Nominations" action="Index" area="Admin"/>
    <mvcSiteMapNode title="Member Sign On" controller="Members" action="SignOn" visibility="!*" clickable="false"/>
Oct 25, 2010 at 1:20 PM