An item with the same key has already been added.

Aug 14, 2010 at 5:38 PM

Hi Guys,

I've been playing around with my site map changing nodes and links to get a feel for how the different options may suit me. So far it seems to work quite nicely... until I hit this problem.

If I add any nodes to my sitemap, apart from the root, it gives me the error: An item with same key has already been added.

I'm not sure if this is a reference to the nodes themselves, or some kind of data-caching. When I clean my solution it tells me that the application cannot be found (highlighting the inheritance declaration in global.asax).

Hopefully someone can give me a nudge in the right direction. But if i resolve the problem myself I'll report back with how I did it.

Thanks again for this great tool.

Aug 16, 2010 at 2:57 AM

Can you post your sitemap?