Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7961213
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T04:58:25+00:00 2026-06-04T04:58:25+00:00

So I have an MVC web app, it’s currently on MVC 3, C#. I

  • 0

So I have an MVC web app, it’s currently on MVC 3, C#.

I used MVC Sitemap and every once in a while we get this error:

System.InvalidOperationException: Multiple nodes with the same URL '/Home.mvc.aspx/Index' were found. XmlSiteMapProvider requires that sitemap nodes have unique URLs.
Generated: Fri, 18 May 2012 14:46:20 GMT

System.InvalidOperationException: An error occurred when trying to create a controller of type 'StudentPortal3G.Controllers.HomeController'. Make sure that the controller has a parameterless public constructor. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> MvcSiteMap.Core.MvcSiteMapException: An error occured while parsing the SiteMap XML. Check the inner exception for more details. ---> System.InvalidOperationException: Multiple nodes with the same URL '/Home.mvc.aspx/Index' were found. XmlSiteMapProvider requires that sitemap nodes have unique URLs.
   at System.Web.StaticSiteMapProvider.AddNode(SiteMapNode node, SiteMapNode parentNode)
   at MvcSiteMap.Core.MvcSiteMapProvider.AddNode(SiteMapNode node, SiteMapNode parentNode) in D:\Project Files\JCDCHelper\WebApp\MvcSiteMap.Core\MvcSiteMapProvider.cs:line 356
   at MvcSiteMap.Core.MvcSiteMapProvider.AddNode(SiteMapNode node) in D:\Project Files\JCDCHelper\WebApp\MvcSiteMap.Core\MvcSiteMapProvider.cs:line 336
   at MvcSiteMap.Core.MvcSiteMapProvider.BuildSiteMap() in D:\Project Files\JCDCHelper\WebApp\MvcSiteMap.Core\MvcSiteMapProvider.cs:line 264
   --- End of inner exception stack trace ---
   at MvcSiteMap.Core.MvcSiteMapProvider.BuildSiteMap() in D:\Project Files\JCDCHelper\WebApp\MvcSiteMap.Core\MvcSiteMapProvider.cs:line 309
   at MvcSiteMap.Core.MvcSiteMapProvider.GetRootNodeCore() in D:\Project Files\JCDCHelper\WebApp\MvcSiteMap.Core\MvcSiteMapProvider.cs:line 365
   at System.Web.SiteMapProvider.get_RootNode()
   at MvcSiteMap.Core.MvcSiteMapProvider.get_RootNode() in D:\Project Files\JCDCHelper\WebApp\MvcSiteMap.Core\MvcSiteMapProvider.cs:line 120
   at System.Web.SiteMap.get_RootNode()
   at StudentPortal3G.Controllers.BaseController.LoadHeaderInfo() in d:\CC\StudentPortal3G\Source\StudentPortal3G\Controllers\BaseController.cs:line 40
   at JCDCHelper.MVCController.JCDCBaseController..ctor(INetLog passNetLog, IUserMaintBLL passUserMaintBLL) in d:\CC\JCDCHelper.MVCController\Source\JCDCHelper.MVCController\JCDCBaseController.cs:line 47
   at JCDCHelper.MVCController.JCDCBaseController..ctor() in d:\CC\JCDCHelper.MVCController\Source\JCDCHelper.MVCController\JCDCBaseController.cs:line 33
   at StudentPortal3G.Controllers.HomeController..ctor() in d:\CC\StudentPortal3G\Source\StudentPortal3G\Controllers\HomeController.cs:line 35
   --- End of inner exception stack trace ---
   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache)
   at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean skipCheckThis, Boolean fillCache)
   at System.Activator.CreateInstance(Type type, Boolean nonPublic)
   at System.Web.Mvc.DefaultControllerFactory.DefaultControllerActivator.Create(RequestContext requestContext, Type controllerType)
   --- End of inner exception stack trace ---
   at System.Web.Mvc.DefaultControllerFactory.DefaultControllerActivator.Create(RequestContext requestContext, Type controllerType)
   at System.Web.Mvc.DefaultControllerFactory.CreateController(RequestContext requestContext, String controllerName)
   at System.Web.Mvc.MvcHandler.ProcessRequestInit(HttpContextBase httpContext, IController& controller, IControllerFactory& factory)
   at System.Web.Mvc.MvcHandler.<>c__DisplayClass6.<BeginProcessRequest>b__2()
   at System.Web.Mvc.SecurityUtil.<>c__DisplayClassb`1.<ProcessInApplicationTrust>b__a()
   at System.Web.Mvc.SecurityUtil.ProcessInApplicationTrust[TResult](Func`1 func)
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

But I know that there are not two of these nodes, and if it were that the error would happen every time.

Did anyone experience this before?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T04:58:27+00:00Added an answer on June 4, 2026 at 4:58 am

    I use MvcSiteMapProvider on a project and I don’t like it. One of the issues I have with it is that it’s not thread-safe (or at least that’s my conclusion). I get similar errors if I’m doing my first load on multiple pages at the same time. I don’t know any way around it other than contributing to the source. My guess is that /home is the first node in your xml and it’s already loaded when it starts running again.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

currently I have this client code in my PHP MVC web app: try {
I have an ASP.NET MVC web app which has a really basic subscription system
I have an ASP.NET MVC web app used to monitor the state of my
I have C# MVC web app that has some textboxes that in IE9 you
I have an object which contains models for my ASP.NET MVC web app. The
Im trying to develop my first ASP.NET MVC web app and have run into
I have a web app (MVC) where I need some automatic service to run
I have a spring web app that uses Hibernate and Velocity. It's an MVC
This is question about MVC web-app architecture, and how it can be extended to
I have an ASP MVC web app and on one of the pages there

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.