I'm unfamiliar with the use of security trimming but I have a sitemap with roles set in the form
<SiteMapNode url="flerble.aspx" Title="soandso" roles="Customer; User1">
I have enabled security trimming in the Web.config file's <sitemap> element but when I run the code I have the error 'Could not find the sitemap node with URL flerble.aspx' which, if I remove the code from Web.Config I don't get and the site builds and runs perfectly (without the restriction on user roles obviously). Can anyone point out the error I've made here?
Many thanks.
Penny