Can't reactivate Office SharePoint Server Publishing Infrastructure
This is getting a nightmare:I had switched MOSS language a month ago from spanish to english with some some sql command on the content database I found on the Internet... so far so good. I was facing some initial problems with MOSS unable to find paths, but managed to solve everything step by step.Today I tried to add an entry in the news section and got the "There are no page layout files available in the master page library of the top-level site" error.Asked Google on that and it took me to some blog -on that very forum- http://social.msdn.microsoft.com/Forums/en-US/sharepointcustomization/thread/131ba55f-3867-428e-8342-8ec5afeceb66, where someone proposed to deactivate and reactivate "Office SharePoint Server Publishing Infrastructure" and Office SharePoint Server Publishing. I tried to do so, but was not able to reactivate "Office SharePoint Server Publishing Infrastructure" in the site collection features: "The specified name is already in use. A list, survey, discussion board, or document library cannot have the same name as another list, survey, discussion board, or document library in this Web site. Use your browser's Back button, and type a new name". With this feature deactivated the site has a complete messed-up lookSomeone proposed to backup, delete and restore lists, pages... but I'm scared to go on amputating my site even more.
January 18th, 2010 3:00pm

Hi,Please try this first stsadm -o activatefeature -name PublishingSite -url http://sitecollection/stsadm -o activatefeature -name PublishingWeb -url http://sitecollection/sitealso check this link http://blog.thekid.me.uk/archive/2007/02/05/activating-office-sharepoint-server-publishing-infrastructure-access-denied.aspxBest Regards, Ammar MCT
Free Windows Admin Tool Kit Click here and download it now
January 18th, 2010 3:07pm

Thank you for your prompt answer.stsadm does give the same identical error "The specified name is already in use. A list, survey, discussion board, or document library cannot have the same name as another list, survey, discussion board, or document library in this Web site."I checked your link, but it is on the "access denied" error and does not apply to my case.Martin
January 18th, 2010 3:29pm

Hi barnabeck, Please try the following command to manual activate the features as a batch file: stsadm -o activatefeature -filename publishing\feature.xml -url http://sites -forcestsadm -o activatefeature -filename publishingresources\feature.xml -url http://sites -forcestsadm -o activatefeature -filename publishingSite\feature.xml -url http://sites -forcestsadm -o activatefeature -filename publishingweb\feature.xml -url http://sites -forcestsadm -o activatefeature -filename publishinglayouts\feature.xml -url http://sites -forcestsadm -o activatefeature -filename navigation\feature.xml -url http://sites –force Do you have read permission on the master page gallery? If you don’t have appropriate permission on it, you may see the error message when you create a page. Did you do any customization on master page? Please check the event viewer and ULS logs to see if there are any error messages there. Lu Zou
Free Windows Admin Tool Kit Click here and download it now
January 20th, 2010 11:20am

Thank you Lu ZouThe comannds turned on the publishing feature for the site, but this is just the first step. I still can't create a new page (There are no page layout files available in the master page library of the top-level site) and I do have total rights for the /_catalog/masterpages. In site actions/site settings the modify navigation is wiped out... hm.Yes I did customize my master page with the designer. I never had any problems until I changed the language as long as we were using spanish Sharepoint; after switching to english I had to change the content database to english in order to be recognized in the Web application Set-up of the SharepointAdmin. I did this with UPDATE dbo.webs set language = 1033 in SQLI heared that this method is not really supported by microsoft because internal paths might be still pointing to the original directory structure... any command on that?As for the event view: There actually is some evidence related to sharepoint, but I don't know if this is a hint (only the first one appears periodically, while the others did just showed up once):---------------------- Event ID 5290: There is no administration site associated with the Shared Services Provider SharedServices1. (???)- Event ID 5553: A runtime exception was detected. Details follow. Message: Cannot insert duplicate key row in object 'dbo.UserMemberships' with unique index 'CX_UserMemberships_RecordId_MemberGroupId_SID'.The statement has been terminated. Techinal Details:System.Data.SqlClient.SqlException: Cannot insert duplicate key row in object 'dbo.UserMemberships' with unique index 'CX_UserMemberships_RecordId_MemberGroupId_SID'.The statement has been terminated. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at Microsoft.Office.Server.Data.SqlSession.ExecuteNonQuery(SqlCommand command) at Microsoft.Office.Server.UserProfiles.WSSSynchSqlSession.SynchExecuteNonQuery(SqlCommand cmd, Boolean throwOnFail) at Microsoft.Office.Server.UserProfiles.WSSSynchSqlSession.SynchExecuteNonQuery(SqlCommand cmd) at Microsoft.Office.Server.UserProfiles.SiteSynchronizer.WriteChangeLogConsumed() at Microsoft.Office.Server.UserProfiles.SiteSynchronizer.Synch() at Microsoft.Office.Server.Diagnostics.FirstChanceHandler.ExceptionFilter(Boolean fRethrowException, TryBlock tryBlock, FilterBlock filter, CatchBlock catchBlock, FinallyBlock finallyBlock)- Event: 7888 failure trying to synch site 72e933df-47c3-40ed-b2d2-c558a95468d1 for ContentDB 420bcc04-f90d-4a97-ae9a-2b9a2fc513a1 WebApp 6b71a518-adf9-48e4-9575-ccc202f80bd0. Exception message was Cannot insert duplicate key row in object 'dbo.UserMemberships' with unique index I didn't know about the ULS logs, installed WSS MOSS Log File Reader (that does not show up after deploying?)... and do scan manually in the 12/logs tree, but can't spot anything significant.Martin
January 20th, 2010 1:47pm

Did you find any solution in this problem? I'm facing exactly the same problem
Free Windows Admin Tool Kit Click here and download it now
January 29th, 2010 5:02pm

stsadm -o activatefeature -name PublishingResources -url http://defaultsite/ worked for me, it didn't show the Deactivate button and Active status immediately, but I could click on the Activate button and then it changed status. (I didn't do a executesvcjobs or iisreset after running it)
May 6th, 2010 3:40pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics