Поделиться через


TOC Web Part is Not Working

I did a search on the Internet about the problem and couldn't really find anything useful.

Symptoms

You navigate to the Team Sites page and click on the "Site Map" link, you get the following message:

Unable to display this Web Part. The Table of Contents start location, /default.aspx, is unavailable. Check to see if this resource was moved or deleted.

Resolution

The TOC web part has a default.aspx at the end of the “Start From” location by default and it cannot handle this Url (it needs to be a site Url without a page name). This is how you can fix it (put the page into Edit mode first):

“Open the web part properties and see that the root ("start from") is
indeed set to /default.aspx. Simply change this to / and then the ToC works as
expected.”

Comments

  • Anonymous
    January 14, 2008
    PingBack from http://msdnrss.thecoderblogs.com/2008/01/14/toc-web-part-is-not-working/

  • Anonymous
    January 26, 2009
    Thanks David for this great post. I still having problems implementing the solution.  I had check out the document and change /default.aspx to / (Site Names appear) then I had check in and publish the page.  After this I still getting the error message and site names has dissapear.  When check the “Start From” still set to /default.aspx.  I had tried this several times and still getting the same result.  Do you have any idea why is this happening? Thanks in advance.

  • Anonymous
    June 03, 2009
    Thanks for the help. Worked like a champ.

  • Anonymous
    April 19, 2011
    brilliant, solved it no issue. thanks jp