Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Displaying sites is throwing an error in SharePoint

  Asked By: Grace    Date: Nov 20    Category: Sharepoint    Views: 1728

When trying to view sites under another sites I am getting the
following error:


File Not Found.

Troubleshoot issues with Windows SharePoint Services.

Document Workspaces and Meeting Workspaces show up as expected. I
can access the sites, but I there is a problem with the:


I was wondering if anybody knows how to fix this problem.

Please note this is only happening for one specific site.



19 Answers Found

Answer #1    Answered By: Damon Garner     Answered On: Nov 20

I believe I have a corrupt site  under the following site:


Can I use a URL or STSADMIN to check to see a list of sites  under

Answer #2    Answered By: Royce Orr     Answered On: Nov 20

Have you tried the command line:

"C:\Program Files\Common Files\Microsoft Shared\web server
extensions\60\BIN\STSADM.exe" -o enumsites
"C:\Program Files\Common Files\Microsoft Shared\web server
extensions\60\BIN\STSADM.exe" -o enumsubwebs

Both can use the optional -url parameter.

Answer #3    Answered By: Laura Walker     Answered On: Nov 20

will this display all the SharePoint sites  and can I extend it
to only look under a specific  site?

Answer #4    Answered By: Peter Peterson     Answered On: Nov 20

I may get shot down, but from my experiences, enumsites will only pull
top level sites  and not all sub webs. I think one of the few ways to do
that is to query the database (which many consider taboo).

Answer #5    Answered By: Renee Murray     Answered On: Nov 20

That is what the -url is for..............

Answer #6    Answered By: Harshini Raju     Answered On: Nov 20

Who would want to shoot you down? You are correct about top level but you do
a semi-manual process of capturing the sites  and sub webs and then use the
output to rerun stsadm howevermany times needed to subsitute the results
into the -url parameter.

But a better solution would be to write an application to go against the
SharePoint Object Model and recurse through the SPWebs and Collections. I'm
in the middle of a navigation application for our enterprise portal web that
displays each web with al lists and subwebs. I doing this because I can't
get any treecontrols to work.

Answer #7    Answered By: Christop Mcfadden     Answered On: Nov 20

I followed your advice and it worked like a charm, but I have a
bigger fish to fry now. When I used

C:\Program Files\Common Files\Microsoft Shared\web server
extensions\60\BIN\STSADM.exe" -o enumsubwebs -url

From the output log I am seeing the subwebs:

<Subwebs Count="1">
<Subweb>thehub2.rjr.com/.../Subweb>" target="_blank" rel="nofollow">thehub2.rjr.com/.../Subweb>" target="_blank" rel="nofollow">thehub2.rjr.com/.../Subweb>

However, when I try to delete the subweb it says it is not found. So
I recreated the web and it displayed two:

<Subwebs Count="2">
<Subweb>thehub2.rjr.com/.../Subweb>" target="_blank" rel="nofollow">thehub2.rjr.com/.../Subweb>" target="_blank" rel="nofollow">thehub2.rjr.com/.../Subweb>
<Subweb>thehub2.rjr.com/.../Subweb>" target="_blank" rel="nofollow">thehub2.rjr.com/.../Subweb>" target="_blank" rel="nofollow">thehub2.rjr.com/.../Subweb>

When I deleted it again it did delete one. How can I delete this
other IR subweb?

Answer #8    Answered By: Gopal Jamakhandi     Answered On: Nov 20

The -url parameter method is a keeper. Where I work the only solution
they came up with was the DB query. I will pass this along.

Answer #9    Answered By: Chantal Rosa     Answered On: Nov 20

this one on your site  database works good:

Userinfo.tp_Title AS [creator]
ON userinfo.tp_ID = webs.Author
AND webs.siteId = userinfo.tp_SiteID
where (Webs.FullUrl like 'sites%')
Order BY Webs.FullUrl;

Answer #10    Answered By: Kyla Eckert     Answered On: Nov 20

Try using backup elite sc at www.webfox.ca

It will dynamically grab all sites  and sub sites at run
time. Hope this helps..

Answer #11    Answered By: Alisha Holmes     Answered On: Nov 20

Where in the URL chain does it break?
Are all of these valid:

Answer #12    Answered By: Damon Garner     Answered On: Nov 20

All of those URLs work fine. The issue is when I am on the
http://thehub2.rjr.com/sites/IT/ITBS/CS/ITLP when I click to view
other sites  and workspaces  that page is broken.

Answer #13    Answered By: Percy Beach     Answered On: Nov 20

Can you see/delete it from here:

Answer #14    Answered By: Mary Adams     Answered On: Nov 20

now I am seeing the sites  but when I try to delete from
thehub2.rjr.com/.../mngsubwebs.aspx" target="_blank" rel="nofollow">thehub2.rjr.com/.../mngsubwebs.aspx

I get file cannot be found.

Before the link

thehub2.rjr.com/.../mngsubwebs.aspx" target="_blank" rel="nofollow">thehub2.rjr.com/.../mngsubwebs.aspx

Was returning file cannot be found.

Answer #15    Answered By: Laura Walker     Answered On: Nov 20

Perhaps you can remove the whole lot from the ITBS parent:

If not, I suspect that you have some orphaned records in your database.
Sounds like a call into PSS may be in order.

Answer #16    Answered By: Kalyan Pujari     Answered On: Nov 20

could you recommend any tables to search for to resolve this

Answer #17    Answered By: Katy Patton     Answered On: Nov 20

Stsadm -o enumsites???????????????

Answer #18    Answered By: Ana Payne     Answered On: Nov 20

Yep. You're right. Stsadm -o enumsubwebs is your ticket here.

Answer #19    Answered By: Christop Mcfadden     Answered On: Nov 20

Webs are found  in the WSS content database (xxx_SITE for SPS) Webs

Didn't find what you were looking for? Find more on Displaying sites is throwing an error in SharePoint Or get search suggestion and latest updates.