SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I get an error message...

"List does not exist"

when I attempt to edit a new page within a publishing site.

The log file doesn't provide me with any additional details...

System.Runtime.InteropServices.COMException: List does not exist. The page you selected contains a list that does not exist. It may have been deleted by another user.

I'm using a custom master page.

Just wondering what could be causing this error...?

share|improve this question
Is this localized or happening in all sub-sites of a particular site collection? If it's a wide-spread issue, you might have the the collection in read only mode. This can happen when doing stsadm backups that fail before returning the collection to read-write. – Erik Noren May 20 '11 at 2:11
Did you resolve this? – tarjeieo Jun 7 '11 at 7:19
I ultimately changed the default page layout that was being used for new pages. I had been using a custom one by default. I never identified exactly what the issue was with the one I was using but once I switched it, the problem went away. – Sambo Jun 7 '11 at 23:05
up vote 2 down vote accepted

I'm guessing you're deploying the master page through a feature?

In your master page module Elements.xml, remember to add List="116", like the following snippet shows:

<Module Name="MasterPages" List="116" Url="_catalogs/masterpage"> 
  <File Path="MasterPages\custom_main.master" Url="custom_main.master" Type="GhostableInLibrary" /> 

In order for the changes to be correctly applied, delete the masterpage from the master page gallery, and deploy the solution again.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.