Multiple nodes with the same URL '/' were found.

Multiple nodes with the same URL '/' were found.

Page 1 of 1

4 Replies - 10668 Views - Last Post: 15 July 2010 - 06:15 AM Rate Topic: -----

#1 Sujit P   User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 42
  • Joined: 23-February 10

Multiple nodes with the same URL '/' were found.

Posted 12 April 2010 - 05:17 AM

Hi Guys,

When I tested my website locally it worked fine and even now works fine. However, when I uploaded the project to the server. I receive the following error:-

Multiple nodes with the same URL '/' were found. XmlSiteMapProvider requires that sitemap nodes have unique URLs.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Configuration.ConfigurationerrorsException: Multiple nodes with the same URL '/' were found. XmlSiteMapProvider requires that sitemap nodes have unique URLs.

Source Error:

[No relevant source lines]


Source File: c:\windows\microsoft.net\Framework\v2.0.50727\Temporary ASP.NET Files\root\170cad6a\cd33ca7\App_Web_4amocfol.4.cs Line: 0

Stack Trace:

[ConfigurationerrorsException: Multiple nodes with the same URL '/' were found. XmlSiteMapProvider requires that sitemap nodes have unique URLs.]
System.Web.XmlSiteMapProvider.AddNodeInternal(SiteMapNode node, SiteMapNode parentNode, XmlNode xmlNode) +551
System.Web.XmlSiteMapProvider.ConvertFromXmlNode(Queue queue) +335
System.Web.XmlSiteMapProvider.BuildSiteMap() +1178
System.Web.XmlSiteMapProvider.get_RootNode() +15
System.Web.UI.WebControls.SiteMapDataSource.GetNodes() +229
System.Web.UI.WebControls.SiteMapDataSource.GetTreeView(String viewPath) +35
System.Web.UI.WebControls.SiteMapDataSource.GetHierarchicalView(String viewPath) +32
System.Web.UI.HierarchicalDataSourceControl.System.Web.UI.IHierarchicalDataSource.GetHierarchicalView(String viewPath) +10
System.Web.UI.WebControls.HierarchicalDataBoundControl.GetData(String viewPath) +25
System.Web.UI.WebControls.Menu.DataBindItem(MenuItem item) +56
System.Web.UI.WebControls.Menu.PerformDataBinding() +50

I have checked my web.sitemap file for any duplicates and found none. Dont understand what could be the reason.

Kindly help me in this regards.

Thanks in advance,
Sujit P.

Is This A Good Question/Topic? 0
  • +

Replies To: Multiple nodes with the same URL '/' were found.

#2 ajwsurfer   User is offline

  • D.I.C Regular
  • member icon

Reputation: 21
  • View blog
  • Posts: 376
  • Joined: 24-October 06

Re: Multiple nodes with the same URL '/' were found.

Posted 12 April 2010 - 12:05 PM

Are you using the "title" tags in the "siteMapNodes"?
Was This Post Helpful? 0
  • +
  • -

#3 PsychoCoder   User is offline

  • Google.Sucks.Init(true);
  • member icon

Reputation: 1659
  • View blog
  • Posts: 19,853
  • Joined: 26-July 07

Re: Multiple nodes with the same URL '/' were found.

Posted 12 April 2010 - 12:09 PM

Show us the sitemap file (in code tags of course :code:)
Was This Post Helpful? 0
  • +
  • -

#4 Sujit P   User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 42
  • Joined: 23-February 10

Re: Multiple nodes with the same URL '/' were found.

Posted 12 April 2010 - 09:47 PM

View Postajwsurfer, on 12 April 2010 - 11:05 AM, said:

Are you using the "title" tags in the "siteMapNodes"?


Hi,

Thanks for your immediate response.
I am inserting my web.sitemap file for your reference.

<?xml version="1.0" encoding="utf-8" ?>
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >
    <siteMapNode  url="Default.aspx" title="Home"  description="">
        <siteMapNode url="#" title="Project"  description="ProjectsDetails" >
            <siteMapNode url="~/Admin/ProjRep.aspx" title="Project Details"  description="Project Details"  />
            <siteMapNode url="~/Admin/ProjStatus1.aspx" title="Project Status"  description="Project Status"  />
            <siteMapNode url="~/Admin/DevelopmentChgRep1.aspx" title="DevelopmentChargeReport" description="DevelopmentChargeReport"/>
            <siteMapNode url="~/Admin/ProjwiseCustDet1.aspx" title="Projectwise CustomerDetails" description="Projectwise CustomerDetails"/>            
        </siteMapNode>
        <siteMapNode url="." title="Customers"  description="Customers">

            <siteMapNode url="~/Customer/CustomerDetails.aspx" title="Customer Details"  description="Customer Details"  />
            <siteMapNode url="~/Admin/CustomerPayment.aspx" title="Payment Reciept"  description="Payment Reciept"  />
            <siteMapNode url="~/Admin/PaymentCancellation1.aspx" title="Payment Cancellation"  description="Payment Cancellation"  />
            <siteMapNode url="~/Admin/Defaulters.aspx" title="Defaulters"  description="Defaulters"  />
            <siteMapNode url="~/Admin/CustomerVoucher1.aspx" title="Voucher"  description="Voucher"  />
            <siteMapNode url="~/Admin/ChequeBounce.aspx" title="Cheque Bounce"  description="Cheque Bounce"  />
            <siteMapNode url="~/Admin/SiteTransfer1.aspx" title="Site Transfer"  description="Site Transfer"  />
            <siteMapNode url="~/Admin/CustomerRegistration.aspx" title="Register" description="Register"/>
            <siteMapNode url="~/Agreement.aspx" title="Agreement"  description="Agreement"  />
            <siteMapNode url="~/Admin/CancelRegistration1.aspx" title="CancelRegistration" description="Cancel Registration"/>
            <siteMapNode url="~/Admin/ActiveCustomers1.aspx" title="ActiveCustomers" description="ActiveCustomers"/>
        </siteMapNode>
        <siteMapNode url="$#" title="Promoters" description="Promoters">
            <siteMapNode url="~/Admin/PromoterDet1.aspx" title="Promoter Details"  description="Customer Details"  />
            <siteMapNode url="~/Admin/RegistrationPromoter.aspx" title="Promoter Registration" description="Promoter Details"/>
            <siteMapNode url="~/Admin/PromoterCommissionAll1.aspx" title="PromoterCommissionAll" description="PromoterCommissionAll"/>
            <siteMapNode url="~/Admin/PromoterwiseCustDet1.aspx" title="PromoterwiseCustomerDetails" description="PromoterwiseCustomerDetails" ></siteMapNode>            
            <siteMapNode url="~/Admin/PromoterCommissionCal.aspx" title="PromoterCommissionCal" description="PromoterCommissionCal"/>
            <siteMapNode url="~/Admin/PromoterIndividualCommission.aspx" title="PromoterIndividualCommission" description="PromoterIndividualCommission"/>
        </siteMapNode>

        <siteMapNode url="~"  title="Reports"  description="Reports" >
            <siteMapNode url="~/Admin/DefaultersAll.aspx" title="Invoice Sent"  description="Invoice Sent" />


        </siteMapNode>
        <siteMapNode url="~/Admin/SMS1.aspx" title="SMS"  description=""  >  </siteMapNode>
        <siteMapNode   title="AccountSetting"  description="" >
            <siteMapNode url="~/SalesManagement/Invoice_delete1.aspx" title="Change Password" description="Change password"  />


        </siteMapNode>
        <siteMapNode url="#.#" title="Mail"  description="" >
            <siteMapNode url="~/Admin/Mail1.aspx" title="Send Mail"  description=""  />


        </siteMapNode>
        <siteMapNode url=".#" title="Settings"  description="" >
            <siteMapNode url="~/ChangePassword.aspx" title="ChangePassword"  description=""  />


        </siteMapNode>
        <siteMapNode url="~/Login.aspx" title="SignOut"  description=""  />
    </siteMapNode>



</siteMap>



Please let me know your valuable thoughts and suggestions.

Regds,
Sujit P

This post has been edited by Sujit P: 12 April 2010 - 09:48 PM

Was This Post Helpful? 0
  • +
  • -

#5 Sujit P   User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 42
  • Joined: 23-February 10

Re: Multiple nodes with the same URL '/' were found.

Posted 15 July 2010 - 06:15 AM

Hi,

I was able to fix this issue by assigning unique address to the target url property of each node. Even though first two chars of the url were similar for two nodes this issue will take place and that wasnt taken care of.

View PostSujit P, on 13 April 2010 - 09:17 AM, said:

View Postajwsurfer, on 12 April 2010 - 11:05 AM, said:

Are you using the "title" tags in the "siteMapNodes"?


Hi,

Thanks for your immediate response.
I am inserting my web.sitemap file for your reference.

<?xml version="1.0" encoding="utf-8" ?>
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >
    <siteMapNode  url="Default.aspx" title="Home"  description="">
        <siteMapNode url="#" title="Project"  description="ProjectsDetails" >
            <siteMapNode url="~/Admin/ProjRep.aspx" title="Project Details"  description="Project Details"  />
            <siteMapNode url="~/Admin/ProjStatus1.aspx" title="Project Status"  description="Project Status"  />
            <siteMapNode url="~/Admin/DevelopmentChgRep1.aspx" title="DevelopmentChargeReport" description="DevelopmentChargeReport"/>
            <siteMapNode url="~/Admin/ProjwiseCustDet1.aspx" title="Projectwise CustomerDetails" description="Projectwise CustomerDetails"/>            
        </siteMapNode>
        <siteMapNode url="." title="Customers"  description="Customers">

            <siteMapNode url="~/Customer/CustomerDetails.aspx" title="Customer Details"  description="Customer Details"  />
            <siteMapNode url="~/Admin/CustomerPayment.aspx" title="Payment Reciept"  description="Payment Reciept"  />
            <siteMapNode url="~/Admin/PaymentCancellation1.aspx" title="Payment Cancellation"  description="Payment Cancellation"  />
            <siteMapNode url="~/Admin/Defaulters.aspx" title="Defaulters"  description="Defaulters"  />
            <siteMapNode url="~/Admin/CustomerVoucher1.aspx" title="Voucher"  description="Voucher"  />
            <siteMapNode url="~/Admin/ChequeBounce.aspx" title="Cheque Bounce"  description="Cheque Bounce"  />
            <siteMapNode url="~/Admin/SiteTransfer1.aspx" title="Site Transfer"  description="Site Transfer"  />
            <siteMapNode url="~/Admin/CustomerRegistration.aspx" title="Register" description="Register"/>
            <siteMapNode url="~/Agreement.aspx" title="Agreement"  description="Agreement"  />
            <siteMapNode url="~/Admin/CancelRegistration1.aspx" title="CancelRegistration" description="Cancel Registration"/>
            <siteMapNode url="~/Admin/ActiveCustomers1.aspx" title="ActiveCustomers" description="ActiveCustomers"/>
        </siteMapNode>
        <siteMapNode url="$#" title="Promoters" description="Promoters">
            <siteMapNode url="~/Admin/PromoterDet1.aspx" title="Promoter Details"  description="Customer Details"  />
            <siteMapNode url="~/Admin/RegistrationPromoter.aspx" title="Promoter Registration" description="Promoter Details"/>
            <siteMapNode url="~/Admin/PromoterCommissionAll1.aspx" title="PromoterCommissionAll" description="PromoterCommissionAll"/>
            <siteMapNode url="~/Admin/PromoterwiseCustDet1.aspx" title="PromoterwiseCustomerDetails" description="PromoterwiseCustomerDetails" ></siteMapNode>            
            <siteMapNode url="~/Admin/PromoterCommissionCal.aspx" title="PromoterCommissionCal" description="PromoterCommissionCal"/>
            <siteMapNode url="~/Admin/PromoterIndividualCommission.aspx" title="PromoterIndividualCommission" description="PromoterIndividualCommission"/>
        </siteMapNode>

        <siteMapNode url="~"  title="Reports"  description="Reports" >
            <siteMapNode url="~/Admin/DefaultersAll.aspx" title="Invoice Sent"  description="Invoice Sent" />


        </siteMapNode>
        <siteMapNode url="~/Admin/SMS1.aspx" title="SMS"  description=""  >  </siteMapNode>
        <siteMapNode   title="AccountSetting"  description="" >
            <siteMapNode url="~/SalesManagement/Invoice_delete1.aspx" title="Change Password" description="Change password"  />


        </siteMapNode>
        <siteMapNode url="#.#" title="Mail"  description="" >
            <siteMapNode url="~/Admin/Mail1.aspx" title="Send Mail"  description=""  />


        </siteMapNode>
        <siteMapNode url=".#" title="Settings"  description="" >
            <siteMapNode url="~/ChangePassword.aspx" title="ChangePassword"  description=""  />


        </siteMapNode>
        <siteMapNode url="~/Login.aspx" title="SignOut"  description=""  />
    </siteMapNode>



</siteMap>



Please let me know your valuable thoughts and suggestions.

Regds,
Sujit P

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1