Unable to add page in Page library of SharePoint 2007 site

The site is not valid. The 'Pages' document library is missing.   at Microsoft.SharePoint.Publishing.PublishingWeb.get_PagesList()
   at Microsoft.SharePoint.Publishing.Internal.CodeBehind.BasePageSettingsPage.LoadValues()
   at Microsoft.SharePoint.Publishing.Internal.CodeBehind.CreatePagePage.LoadValues()
   at Microsoft.SharePoint.Publishing.Internal.CodeBehind.BasePageSettingsPage.OnLoad(EventArgs e)
   at Microsoft.SharePoint.Publishing.Internal.CodeBehind.CreatePagePage.OnLoad(EventArgs e)
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
above error is occuring when trying to add page in Page library through UI.
Office SharePoint Server Publishing feature is active.
Please help to resolve the issue.
Rushikesh_Khadtare

Hi,
Running the below PowerShell script fixes the issue, you need to change the site url. The script actually looks for the pages library in the site for which url is given and assigns the ID of the pages library to the __PagesListId property.
# Load the SharePoint assemblies
[Void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint")
$web = get-spweb http://site-collection/path-to-affected-site
$correctId = $web.Lists["Pages"].ID
$web.AllProperties["__PagesListId"] = $correctId.ToString()
$web.Update()
Then  try to de-activate and re-activate the publishing feature again.
Reference:
http://www.rjesh.com/2014/02/the-site-is-not-valid-pages-document.html
http://blogs.technet.com/b/praveenh/archive/2013/01/22/running-powershell-on-moss-2007.aspx
Best Regards,
Eric
Eric Tao
TechNet Community Support

Similar Messages

  • Ovi unable to add track to music library i cant tr...

     any solution to this bug ....ovi suit downloads music via pc with latest ovi software but unable to tranfer to device nor play in ovi mucic player
    here is a screenshot
    Attachments:
    untitled.jpg ‏340 KB

    the song downloaded automatically comes to local disc C:/ but its DRM protected so i cant manually copy/paste it to my mobile it has to be done via ovi suite options but ovi displays "unable to add tracks" i tried reinstalling all nokia softwares but the problem persist ...plz help

  • Unable to add old tracks to library of i tunes 9

    I've recently had work done on my laptop and everything stored had to be wiped. Down loaded the new itunes 9 and when I try to sync with the ipod it tells me there is a problem with all the tracks I have bought from itunes as they're not allowed to be played on my laptop. any one got any ideas? Now scared in case I lose all the tracks on my ipod.

    {quote:title=Milly05 wrote:}
    The last thing is on my ipod page the box 'manually manage music and videos' is ticked. when I try to untick this, it tells me that all existing content on my ipod will be replaced by the contents on my library. I just want to get the tracks on my ipod back onto my itunes library!!! Is there anyway I can get the contents of my ipod onto disc and then I'd be happy to do anything needed.
    {quote}
    This piece tells me exactly what I expected... Your iPod is in Guest mode to iTunes.
    The only way to get your music to sync is to have this occur... You need to have iTunes supply your iPod with your latest activation key from this device. Once done your music will be included in on your local computers loaded library will be included.
    If all your music is not on there, then it will be removed when this operation completed (per normal iTunes regulations - as they don't want you to share one anothers library).
    Good luck, as it's your only option at this point....

  • ITunes 10.1.1.4 - Unable to add songs from Windows Library

    Hello,
    I have just installed the latest version of iTunes, I apologize if I have entered the wrong version in the thread title, however - I am now unable to drag and drop songs from my Windows Folder Library into my Playlists on my iPod Touch into this new version of iTunes.
    I used to simply drag the file over to iTunes and hover the mouse over the playlist, which would auto highlight itself and then leg go of the mouse and it would be updated, however now - nothing.
    Please can someone help me with this, it would be much appreciated!
    Thanks,
    Alan.
    Message was edited by: FrenchDude_uK

    There is some problem with your WSDL.
    Share your wsdl content here.
    Looks like some problem with your operation definition with input and output variable definitions.
    Thanks,
    Vijay

  • Unable to add video files to Library

    Hello, good evening.
    (I don't even know how to start...)
    I'm having some problems while trying to add video files to iTunes' library. No matter if I try to drag it in, or use the File > Add file to Library option, it just doesn't show up on the Video category (or any other category either). However, it adds music files and downloads podcasts perfectly. Also, everything in the library syncs to the iPod without problems, including the videos that were already there prior to the iTunes 6 to 7 update.
    The video is already a .mp4, converted with the Videora iPod Converter. I'm using iTunes 7.0.1 on Windows XP. If other detail is needed to answer my question, just ask.
    I guess this is it...
    PC   Windows XP  

    Wierd. When you say it doesn't show up in the Video category, you mean "movies" category, right? Because there is no "video" category.
    I don't think iTunes would mistake it for a music file, and it probably wouldn't show up in TV shows (and I'm sure you already tried that), but did you check under Podcasts?
    It doesn't give you an error message when you go to import? Can you play the file within windows?

  • Unable to add movies from iPhoto library

    Hi,
    I bought a MacBook in last week. iMovie seems to be a very useful application. But I cant seem to add the videos from my iPhoto library to the projects. I use the Media button on the right hand side but it only shows photos. The videos are in .MPG format. I searched the forums but didn't get any conclusive answers.
    Also in Movie Trailers, I cant seem to add photos also from the iPhoto library. I believe the trailers does support photos. In that case whats the workaround?
    Thanks for the help.

    I'm not sure of all the video formats supported by iMovie '11, but the best format to convert to is Apple Intermediate Codec (AIC). This is iMovie's preferred editing format. When AVCHD clips (and perhaps others) are imported from a camera, iMovie automatically converts them to AIC. This allows iMovie to seamlessly edit to the individual frame level. Compressed formats, like AVCHD and MPEG, don't store the full frames, but use a reference frame (key frame) at specified intervals. The data recorded between each key frame is simply a record of the change in information between those key frames. The conversion to AIC recreates all the compressed data to full frames, but results in a much larger file size (about 40 GB per hour).
    To convert your .mpg files to Apple Intermediate Codec, download the free application MPEG Streamclip. Drag the .mpg files into MPEG Streamclip's work space. Go to File>Export to QuickTime and choose Apple Intermediate Codec. To do a batch conversion (multiple files/clips), go to List>Batch List and add your files to the window that appears. I haven't done this for a while, but I believe those instructions are correct.
    Download MPEG Streamclip from Squared 5 here:
    http://www.squared5.com/svideo/mpeg-streamclip-mac.html
    To import the converted files into iMovie, in iMovie's menu select File>Import>Movies.
    Obviously, you were not able to see the videos in iPhoto Videos in the Event Library, hence your further question.
    John

  • HT1473 Unable to add .mp3 files to Library in iTunes

    I have .mp3 files of a course I took, but when I try to "Add to Library" nothing happens. I was hoping they would appear in podcasts, or even as music, but nothing. Any suggestions?

    Repair your QuickTime.

  • Unable to add web part to SharePoint 2013 page

    hello,
    My account has full control on the site collection, and when I edit the page and click on the Add a Web Part, nothing happens.  I would expect to have a list of web parts that I can select from, but this does not appear.  What can I do to enable
    this or get web parts added to the page?
    Thanks
    Paul

    Hi Paul,
    We need to collect more information about your issue:
    1.Is there any customized script that might affect the issue?
    2.Could you please test the issue with another user account? Does it work before for your account?
    3.Please test the issue on other browsers and see if it works.
    Similar threads:
    https://social.technet.microsoft.com/forums/sharepoint/en-US/e4fc21d4-b703-454a-a135-6d28d23cb18a/unable-to-add-webpart-wpadder-is-missing
    http://sharepoint.stackexchange.com/questions/3883/cant-add-web-parts-to-a-page-as-a-user-with-full-control
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Site Pages vs Pages Library

    Hi
    I've noticed that if a Page is created in the Pages Library it cannot be edited in SPD however if a page is created in Site Pages Library it can.
    We have used pages library as it offers page layouts but dont like the fact the page cannot be edited in SPD.
    We dont require the publishing feature apart from the page layouts aspect, if this can be achieved in site page then this would be a better alternative.
    Currently we have added webparts to pages in pages library using ui.
    And advice?
    Thanks

    Hi,
    According to your post, my understanding is that you wanted to edit page which is created in the Pages Library in SharePoint Desiger.
    When we want to edit the file of the page, we will get the message as below:
    It is because that the page we are trying to edit is under the publishing feature. It is a publishing page, and as such, by default, gets it's layout from the layout page and the master page.
    The only change we should be doing on such a page is edit it in the browser and add\remove\change web parts in it.
    However, there is a way to work around this - detach it from it’s layout page.
    We can select the page, on the All Files ribbon, click the Detach from page Layout button and then proceed to edit as normal.
    More information:
    My SharePoint World: SharePoint + Differrence between pages and site pages
    SharePoint Designer 2010: This page cannot be edited in SharePoint Designer
    Thanks,
    Linda Li                
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Linda Li
    TechNet Community Support

  • The system Pages library and its RSS feed do not work properly in SharePoint 2010

    This question is about RSS feed for the system 'Pages' library in SharePoint 2010.
    Now there are 5 'News' pages in the system 'Pages' library. In each news page there is one field called 'Title' for the news title. One of the news page is named 'FileNamePage5.aspx', and the news title is 'This is the title of page5'.
    I have enabled RSS in Site Settings, and configured RSS Settings for the 'Pages' library from the Communications section via Document Library Settings. I selected a few columns to display in the RSS description, including the 'Title' column. In the RSS feed
    (XML file) of the system 'Pages' library, I checked the XML source code, and found the news page file name appearing in the <title> tag below within the feed (XML source code).
     <title>FileNamePage5</title>
    and the original news title 'This is the title of page5' was appearing in the <description> tag in the feed (XML sorce code)
     <description><![CDATA[<div> ... This is the title of page5... </div>]]></description>.
    This would make it hard to extract ONLY the original news title (This is the title of page5) out of the feed via XSLT, because the data within the <description> tag in the feed also contains data from all other selected columns defined via the RSS
    Setting. If I did not select the 'Title' column via RSS Setting above, I even could not find the orinigal news title in the RSS feed.
    This is happening for all other news pages in the system 'Pages' library. Is this what SharePoint 2010 normally does? or is something wrong with the settings for site or the system 'Pages' library?
    How to display ONLY the original news title (This is the title of page5) in the <title> tag in the RSS feed. Please Help me to resolve this issue.
    谢亚军@Sydney

    Hi,
    According to your description, my understanding is that you want to display the value in Title column of Pages library in title tag in RSS Feed in SharePoint.
    I tested the same scenario per your post, the title tag in RSS Feed displayed the value of Name column in libraries and displayed the value of Title column in lists.
    It is by design and there is no OOB way to change the default column mapping in RSS Feed.
    I recommend to customize your own RSS Feed style sheet to make the title displays the value of Title column in SharePoint libraries.
    Here is a link about customizing the RSS Feed for document library for you to take a look:
    http://markeev.com/Articles/sharepoint-blog-rss.aspx
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Multiple page library in one site

    is there any way to create more than one page library in the same site programmatically in SharePoint 2013??
    Mohamed Abdeen

    There is no way to create multiple Pages libraries in a site.  You can now create folders in your Pages Library to separate out different pages, but you can only have one Pages library per site collection because of the way it interfaces with other
    features in the site.
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • Help! Unable to add music or change anything in iTunes

    For some reason, I am unable to add music to my library. It also will not let me change/modify titles, artists, etc. It will work on my wifes account but not mine. We both have admin status.
    I do not understand how this happened. We both have read/write permission. Any idea what is wrong?

    had a similar issue about it "not responding properly" and i went back to apple and got a new superdrive put in and have had no problems since.

  • Migrating Content from a Custom ASP Page to a SharePoint Page Layout. Includes object tags to flash CSS images

    Hi Guys,
    I'm currently getting issues when trying to migrate content from ASP Pages used in a custom intranet developed by a client to SharePoint Pages.
    My current strategy to do so is as per below:
    a. Create ASPX Pages in Page Library with SharePoint Designer
    b. Copy all common resource files needed by the pages within the Pages library. Includes folders for Javascript, CSS, images etc. This way relative address of resources in pages will pick up pages library as default folder
    for resources.
    c. Copy Source Code of Page from Browser by right-clicking ‘View Page Source’/ Copy code from .asp file
    d. Clean the code to remove unnecessary codes from SharePoint Pages.
    At this point page renders without SharePoint Branding.
    However if I apply SharePoint Master Page onto the ASPX page by using Style > Attach > Default Master Page, this generates an Error when the page renders.
    What is missing in this approach or what would be the best approach to migrate the page to SharePoint without code solution?
    Grateful if you could help.
    Thanks 
    Rhyan.

    Hi Rhyan,
    As I understand, you want to create a custom application page in SharePoint 2013.
    If you copy the code in the asp page to aspx page, it cannot work. You should write the new code that can work in the asp file for the SharePoint aspx page.
    There is a similar case:
    https://social.technet.microsoft.com/forums/sharepoint/en-US/0a97820a-59b9-4430-a98c-d2941803c38e/classic-asp-pages-to-sharepoint-pages-migration
    You can create a web application page in the visual studio. You also can explicitly change which master page is used by the application page by setting the MasterPageFile attribute of the application Page element. (For example: MasterPageFile="~/_layouts/applicationv4.master").
    The articles below are about creating application Pages for SharePoint.
    https://msdn.microsoft.com/en-us/library/ee231581.aspx
    http://nikpatel.net/2012/01/20/custom-sharepoint-pages-site-pages-vs-application-pages/
    Best regards,
    Sara Fan
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Convert a sharepoint 2007 master page to a Sharepoint 2013 master page

    Dear friends,
                     I'm doing migration from SharePoint 2007 to SharePoint 2013. I was able to migrate the databases and deployed the customisations to new SP2013 environment. Can
    you please advice me which approch should I follow when migrating the master page? Does anyone have experience ?
    Thanks,
    Dilip

    Hi Dilip,
    There is no easy way to migrate SharePoint 2007 master page to SharePoint 2013.
    SharePoint 2013 use new CSS Style and theme. When you migrate to SharePoint 2013, the master page will be set to use the default master page in SharePoint 2013. To support the new UI in SharePoint 2013, changes have been made to the default master pages.
    For this reason, you cannot apply a master page created in SharePoint 2007 to a site in SharePoint 2013.
    Here is a similar thread for your reference:
    https://social.technet.microsoft.com/Forums/sharepoint/en-US/b4947250-a447-430c-b374-a9777c4d4cbb/migration-of-master-pages-from-sp2010-to-2013?forum=sharepointdevelopment
    Here is a detailed article explain possible branding issue for SharePoint 2013 migration:
    http://office.microsoft.com/en-au/office365-sharepoint-online-enterprise-help/branding-issues-that-may-occur-when-upgrading-to-sharepoint-2013-HA104052656.aspx
    Best Regards
    Zhengyu Guo
    TechNet Community Support

  • Upload/Download file to/from a document library in a SharePoint online site

    Hi,
    I am referring to the below blog for Upload/Download file to/from a document library in a SharePoint online site.
    http://blogs.msdn.com/b/rohitpuri/archive/2007/04/10/upload-download-file-to-from-wss-document-library-using-dav.aspx?CommentPosted=true#commentmessage
    I would like to know if this is feasible with a SharePoint online site.
    If feasible, how can I resolve the below exception I am getting while using the code.
    “The remote server returned an error: (403) Forbidden”.
    Thanks,
    Thanan

    Hi,
    Actually what I am trying to achieve is the two things.
    1) By using only the user's name, need to upload/download from/to the document library of SharePoint online site using the CSOM. (i.e., achieving Single Sign On / Windows Authentication)
    2) I need to achieve the above only by passing the document URL; not by hardcording/ configuring the document library name in the windows application.
    Can anyone pls help on this now?
    [Below code is working fine. But need to arrive the solution whereas the above 2 conditions are not violated.
    using (var clientContext
    = new ClientContext("https://yoursiteurl.com"))
               string passWd
    = "password";
               SecureString securePassWd
    = new SecureString();
               foreach
    (var c in passWd.ToCharArray())
                    securePassWd.AppendChar(c);
                clientContext.Credentials
    = new SharePointOnlineCredentials("username", securePassWd);
               using
    (var fs =
    new FileStream("fileName",
    FileMode.Open))
    var fi =
    new FileInfo("fileName");
    var list = clientContext.Web.Lists.GetByTitle("Doc Library");
                   clientContext.Load(list.RootFolder);
                   clientContext.ExecuteQuery();
    var fileUrl = String.Format("{0}/{1}", list.RootFolder.ServerRelativeUrl,
    fi.Name);
    Microsoft.SharePoint.Client.File.SaveBinaryDirect(clientContext, fileUrl,
    fs, true);
    Thanks,
    Thanann

Maybe you are looking for