Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I deployed an uncustomized master page as a SP 2010 Server farm solution using these instructions http://plekky.com/blog/Lists/Posts/Post.aspx?ID=11

Now I need to update the master page. I edited it and had to create a new solution. I retracted and removed the original solution and added and deployed the new solution but it did not update the master page.

Where is the master page?

Why won't it update?

share|improve this question
add comment

1 Answer 1

  1. I think you DON'T need to deploy a whole new solution to replace master page.

  2. Make sure the updated master page is deployed on SharePoint root

  3. You also need to make sure that master page is not customized. I have observed that, even if you did not customize the master page explicitly, if you copied from SharePoint Designer, it may include following lines in master page and once you deploy it in master page gallery, the master page is treated as customized and subsequent change on SharePoint root will NOT matter. So make sure such lines were not included when you originally deployed the master page.

<meta name="GENERATOR" content="Microsoft SharePoint"/>
<meta name="progid" content="SharePoint.WebPartPage.Document"/>
share|improve this answer
    
1. I cannot find the original solution so I sort of need to make a new one to replace the page. Is there a GUID or something that is not matching? –  Josh Feb 8 '12 at 18:50
    
2. What do you mean, "sharepoint root"? –  Josh Feb 8 '12 at 18:50
    
3. Those meta tags are not present. Do I need an event receiver to update the master page OnFeatureActivated? –  Josh Feb 8 '12 at 18:51
    
When you deploy solution, sharepoint deploys different files in C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14 - that's sharepoint root. your files typically go in FEATURE subdirecory. If your master page is not customized, just redeplying updatde master page (via solution) should be fine. –  Ashish Patel Feb 8 '12 at 19:14
add comment

Your Answer

 
discard

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.