Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Big Problem with webpart manager webpart pages, etc

Posted on 2011-02-14
2
Medium Priority
?
1,407 Views
Last Modified: 2012-08-13
Ok, I am doing the following.

1st.  I created a website collection with the publishing portal template
2nd. I edit the homepage because I want to change the page layout, I select blank webpart page and it works.

No the problem is.
If I select minimal.master and set it as master and custom masterpage, I got this error
Error
An unexpected error has occurred.
Troubleshoot issues with Microsoft SharePoint Foundation.
Correlation ID: 747bc122-4943-47a4-b304-99c1e5fc1d54
Date and Time: 2/14/2011 10:35:19 AM

System.Web.HttpException: Cannot find ContentPlaceHolder 'PlaceHolderPageDescription' in the master page '/_catalogs/masterpage/minimal.master', verify content control's ContentPlaceHolderID attribute in the content page.    at System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection)     at System.Web.UI.Page.get_Master()     at System.Web.UI.Page.ApplyMasterPage()     at System.Web.UI.Page.PerformPreInit()     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

If I use my own mastarpage that I downloaded from codeplex.
http://startermasterpages.codeplex.com/

I used starter_publishing.master, created it, checked in, approved it
When I tried to approve it, I got this error
System.Web.HttpException: Cannot find ContentPlaceHolder 'PlaceHolderCalendarNavigator' in the master page '~masterurl/default.master', verify content control's ContentPlaceHolderID attribute in the content page.    at System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection)     at System.Web.UI.Page.get_Master()     at System.Web.UI.Page.ApplyMasterPage()     at System.Web.UI.Page.PerformPreInit()     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

SO, in site collection admin, I went to master page and I had to select v4.master

What I want to do its very simple, And I do not want to touch system files.

I want to create a custom master page, from scratch or with the minimal things? or maybe I need to start with v4.master?
Because I want that after creating the custom master page, I can change the layout to Blank webpart page, thats not too much to ask

Suggestions pls

0
Comment
Question by:LuisEstebanValencia
2 Comments
 
LVL 7

Accepted Solution

by:
AlMothanaAlOmari earned 2000 total points
ID: 34886912
you should do one of the following
1- create a master page from scratch (http://msdn.microsoft.com/en-us/library/aa660698.aspx)
2- copy the v4 . master mane it mypage.master then make your changes as you want
0
 
LVL 6

Expert Comment

by:vikas413
ID: 34886956
one more simple way is keep adding missing content place holders in your current version of minimal master page and that will do the magic ;)

you can add new placeholder as given below:

<asp:ContentPlaceHolder ID="New Place holder name" runat="server" />
0

Featured Post

Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I used to be SharePoint evangelist in our company, so my Outlook always full of questions about how to do this, or where I can find that. One day I found such an email with the following question: "how to attach 3-State workflow (one of the workflow…
For SharePoint sites, particularly public-facing ones, there are times when adding JavaScript, Meta Tags, CSS Styles or other content to the page <head> section is more practical than modifying master pages.  For instance, you could add the jQuery l…
Integration Management Part 2
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses
Course of the Month8 days, 22 hours left to enroll

876 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question