List does not exist - cannot delete thus I cannot crawl/search.

I cannot crawl my site because the url contains a list that does not exist. When I view all site content I see two lists with the same name - one opens correctly, the other does not. I get a:

List does not exist

The page you selected contains a list that does not exist.  It may have been deleted by another user.

In the URL bar the name of the list isn't present but is: http://Site:Port/_layouts/ListEdit.aspx?List={CC3CB628-60CC-43C8-AD31-5E4481473211}

Is there a way to delete this list, perhaps through sql cmd, so that i can get crawling and search functioning again?
bustechllcAsked:
Who is Participating?
 
bustechllcConnect With a Mentor Author Commented:
Thanks. I rebuilt the site.
0
 
exodusterCommented:
0
 
bustechllcAuthor Commented:
Nice idea, I like where you were going with it. Unfortunately: <OrphanedObjects Count="0" />

Soooo....
0
Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

 
zephyr_hex (Megan)DeveloperCommented:
what's the error in Event Viewer?
0
 
bustechllcAuthor Commented:
Nothing relative in event viewer.

I think we need to find a way to delete the list from the sql database?
0
 
zephyr_hex (Megan)DeveloperCommented:
you can do that with a SQL query, but it's unsupported.

that's why i'm trying to get you to give us the error you're seeing.  if the search crawler cannot crawl, it should be producing an error in Event viewer.

what is the error you do see, and where do you see it?
0
 
bustechllcAuthor Commented:
The Execute method of job definition Microsoft.SharePoint.Administration.SPIncomingEmailJobDefinition (ID 4423f619-2915-4013-aeaf-0783cf592d0c) threw an exception. More information is included below.

Value cannot be null.
Parameter name: path

A critical error occurred while processing the incoming e-mail drop folder . The error was: Value cannot be null.
Parameter name: path.

Are the only errors I see, they're recurring.

I see an information event for Office Server Search: A new query machine, '<ComputerName>', has been added to the query rotation based on changes to farm topology. Component: 719bf774-d57d-4957-b004-3c372c405244

But no errors relatiing to Office Server Search.

In the crawl log:

http://Site:Port
The SharePoint list pointed to by this URL does not exist. Verify that it can be accessed using an internet browser. (List does not exist The page you selected contains a list that does not exist. It may have been deleted by another user.)
0
 
zephyr_hex (Megan)DeveloperCommented:
do you have AAM configured?

see here:
http://support.microsoft.com/kb/970946
"When you try to do a search in a SharePoint site, the scope "This List: Name of list, doclib etc." for a particular listis missing. This issue occurs because you are using the Extended Web Applications and the Alternative Access Mapping (AAM) settings. "

if that's the case, i'd backup your site, and run updates.
0
 
bustechllcAuthor Commented:
Yeah, that isn't exactly the error I'm getting. I'm not using Extended Web Applications, and I can do a search on the site, but it comes up with zero results because the site hasn't been crawled. I can't crawl the site because it contains a list that does not exist.

Any other suggestions?

0
 
zephyr_hex (Megan)DeveloperCommented:
try the command here:
http://bloggingabout.net/blogs/harold/archive/2009/01/10/deleting-a-broken-sharepoint-list-using-stsadm.aspx

like i said, there is a way to do this via SQL... just trying to avoid that option because it's not a supported method, and MS says it's a big no-no to interact with sharepoint directly in SQL.
0
 
zephyr_hex (Megan)DeveloperCommented:
p.s.  also, i'd make a backup of the "real" list before trying to delete the broken one.
0
 
bustechllcAuthor Commented:
Ok, backed up the real list and deleted it (actually, it's a document library to be exact, but still). Then I ran that command and got the following error:

The system cannot find the file specified. (Exception from HRESULT: 0x80070002)

Tried using the stsadm command using the URL that list was at (http://site:port/DocLibraryname) and also using:

http://Site:Port/_layouts/ListEdit.aspx?List={CC3CB628-60CC-43C8-AD31-5E4481473211}
http://Site:Port/{CC3CB628-60CC-43C8-AD31-5E4481473211}

No luck. :(

0
 
zephyr_hex (Megan)DeveloperCommented:
well...
maybe you might consider trying a direct delete from the db.  make sure you do a complete farm backup first.  it's completely against MS's recommendation, by the way.

if you proceed, i'd recommend that you start by becoming more familiar with how sharepoint stores data in sql.  this will help:
http://weblogs.sqlteam.com/jhermiz/archive/2007/08/15/60288.aspx

you'll then need to apply that knowledge to constructing a TSQL DELETE statement.
0
 
zephyr_hex (Megan)DeveloperCommented:
if that fixed your problem, select your post as Accept as Solution
;)
0
 
bustechllcAuthor Commented:
Done
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.