Deactivate the feature and confirm all provisioned files got removed via SPD then reactivate the feature again.
Sometimes you will need to manually remove the provisioned file if not removed by feature deactivation. From: [email protected] [mailto:[email protected]] On Behalf Of Wilson Wampers Sent: Friday, 6 November 2009 12:48 AM To: 'ozMOSS' Subject: RE: Ghost - unghost - re-ghost Yes, tried all that .. no joy though. From: [email protected] [mailto:[email protected]] On Behalf Of Joshua Haebets Sent: Thursday, November 05, 2009 2:15 PM To: ozMOSS Subject: RE: Ghost - unghost - re-ghost Have you tried, deactivating and reactivating the solution Might also be worth deploying it Cheers Josh From: [email protected] [mailto:[email protected]] On Behalf Of Wampers, Wilson [Talent International] Sent: Thursday, 5 November 2009 5:01 PM To: ozMOSS Subject: RE: Ghost - unghost - re-ghost C:\Documents and Settings\Administrator>stsadm -o gl-reghostfile -url http://litwareportal/_catalogs/masterpage/somePage.aspx Progress: Re-ghosting (uncustomizing) 'http://litwareportal/_catalogs/masterpage/ somePage.aspx' ERROR: Unable to re-ghost (uncustomize) file /_catalogs/masterpage/ somePage.aspx Operation completed successfully. ?...@#$%^&*?, so I guess I've more than one problem here L From: [email protected] [mailto:[email protected]] On Behalf Of Paul Noone Sent: Thursday, 5 November 2009 09:51 To: ozMOSS Subject: RE: Ghost - unghost - re-ghost I've seen stranger things. J Curious to know the outcome in any case. Sounds like a problem anyone could run into. From: [email protected] [mailto:[email protected]] On Behalf Of Wampers, Wilson [Talent International] Sent: Thursday, 5 November 2009 12:46 PM To: ozMOSS Subject: RE: Ghost - unghost - re-ghost Hi, I will try Josh's suggestion with the Gary Lapoint stsadm extensions and let you know the outcome. Only one page behaves badly out of a dozen files (I've noticed a syntax error in the page though, this might have caused the dislocated behaviour) Kind Regards, Wilson Wampers From: [email protected] [mailto:[email protected]] On Behalf Of Jeffery Tsui Sent: Thursday, 5 November 2009 09:22 To: ozMOSS Subject: RE: Ghost - unghost - re-ghost Quick question: how many page layouts are deployed via the feature? And how many are having the problem? From: [email protected] [mailto:[email protected]] On Behalf Of Wampers, Wilson [Talent International] Sent: Thursday, 5 November 2009 12:10 PM To: [email protected] Subject: Ghost - unghost - re-ghost Hi All, I'm a bit puzzled, I have page layouts added to a publishing site collection using a feature. No custom site definition, just the OOTB publishing site definition. After a backup restore adventure (major SP crash and recovery effort), one of the page layouts although un customized didn't pick up changes in the 12 hive. I've noticed looking at the master page gallery using SPD that one custom master page and one page layout (this particular one) seems to have been modified by SHAREPOINT\system, whilst all other pages seem to have been modified by the SharePoint Farm Admin account as one would expect after a feature install. So I've updated the file using SP Designer and tried the following: static void Main(string[] args) { string siteUrl = "http://litwareportal"; using (SPSite site = new SPSite(siteUrl)) { using (SPWeb web = site.OpenWeb()) { PublishingSite publishingSite = new PublishingSite(site); PageLayoutCollection pageCollection = publishingSite.PageLayouts; foreach (PageLayout layout in pageCollection) { SPFile currentFile = web.GetFile(layout.ServerRelativeUrl); Console.WriteLine("{0} -- {1}", layout.Name, currentFile.CustomizedPageStatus); } foreach (PageLayout layout in pageCollection) { SPFile currentFile = web.GetFile(layout.ServerRelativeUrl); if (currentFile.CustomizedPageStatus == SPCustomizedPageStatus.Customized) { currentFile.RevertContentStream(); currentFile.Update(); } } } } Console.ReadLine(); } , but it doesn't seem to be willing to un customize. Debug step through shows it does execute the code as intended, but the result remains the same. ( I've also tried with and without the .update() method.) Using the UI à revert to site definition à I get an error message indicating that internal.revertcontentstream() can't execute because the file doens't belong to a site definition. So what can I try now? Kind Regards, Wilson Wampers ________________________________ Confidentiality and Privilege Notice This document is intended solely for the named addressee. The information contained in the pages is confidential and contains legally privileged information. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone, and you should destroy this message and kindly notify the sender by reply email. Confidentiality and legal privilege are not waived or lost by reason of mistaken delivery to you. ________________________________ ##################################################################################### Confidentiality and Privilege Notice This document is intended solely for the named addressee. The information contained in the pages is confidential and contains legally privileged information. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone, and you should destroy this message and kindly notify the sender by reply email. Confidentiality and legal privilege are not waived or lost by reason of mistaken delivery to you. #####################################################################################
_______________________________________________ ozmoss mailing list [email protected] http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss
