Isaac
asked on
Masterpage unexpected error
Hello All,
This is really baffling me and I don't know how to fix it. I have tried everything to no avail.
I created a web part page in SharePoint 2010. I want to apply a single master page to just one file, so I take the following steps.
Step 1
I copy the default master page and rename it to "ieforce.master" and make the one line change that I need to make.
I then save and publish it to sharepoint and then approve it.
Step 2
I open up the web part page that I want to apply my new master page to and change the following line
to
I then get the following error:
Any idea why that is?
I have been struggling with this for 3 days.
This is really baffling me and I don't know how to fix it. I have tried everything to no avail.
I created a web part page in SharePoint 2010. I want to apply a single master page to just one file, so I take the following steps.
Step 1
I copy the default master page and rename it to "ieforce.master" and make the one line change that I need to make.
I then save and publish it to sharepoint and then approve it.
Step 2
I open up the web part page that I want to apply my new master page to and change the following line
<%@ Page Language="C#" Inherits="Microsoft.SharePoint.WebPartPages.WikiEditPage" MasterPageFile="~masterurl/default.master" meta:progid="SharePoint.WebPartPage.Document" meta:webpartpageexpansion="full" %>
to
<%@ Page Language="C#" Inherits="Microsoft.SharePoint.WebPartPages.WikiEditPage" MasterPageFile="~site/_catalogs/masterpage/ieforce.master" meta:progid="SharePoint.WebPartPage.Document" meta:webpartpageexpansion="full" %>
I then get the following error:
Any idea why that is?
I have been struggling with this for 3 days.
ASKER
I do not have access to the server to get details for the correlation ID.
I have seen that error also. I use SharePoint designer and attach the masterpage to the single page in that manner.
Hope that helps...
Hope that helps...
ASKER
No that did not help. You're sharing with me the solution that I am having problems with.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you! That makes sense.
Thanks, glad that helped...
https://www.microsoft.com/en-us/download/details.aspx?id=44020