Can't change the master page after upgrading to SharePoint 2013.

After upgrading our farm to SharePoint 2013 we are having trouble changing the master page for sites that don't have sub-sites. We are still using the v4 UI version, and that appears to be what is causing the problem. The error we get when going to /_layouts/ChangeSiteMasterPage.aspx
is:
System.NullReferenceException: Object reference not set to an instance of an object.    at Microsoft.SharePoint.Publishing.Internal.CodeBehind.AreaChromeSettingsPage.OnLoad(EventArgs e)     at System.Web.UI.Control.LoadRecursive()    
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
I took a peek at the source code for AreaChromeSettingsPage.OnLoad and found that it references a CheckBox control that does not exist in the v4 ChangeSiteMasterPage.aspx:
protected override void OnLoad(EventArgs e)
base.OnLoad(e);
this.EnsureChildControls();
if (!this.Page.IsPostBack)
this.LoadValues();
if (base.Web.Webs.Count == 0)
this.resetSystemMasterPageSubSitesCheckBox.Visible = false;
this.resetSubSitesCheckBox.Visible = false;
this.resetAlternateCssSubSitesCheckBox.Visible = false;
this.resetThemeSubSitesCheckBox.Visible = false;
base.ConfigureCancelButton(this.BtnCancel);
If I manually add a checkbox control with the ID "resetThemeSubSitesCheckBox" to a hidden panel in the v4 copy of ChangeSiteMasterPage.aspx the page works, but obviously this is not a best practice. How can we fix this without upgrading the UI version, which
we are not yet ready to do?

Thanks Mike - Could you please share what is your next step then? I also have custom master pages and layout but I am going to make new master page and layout in 2013 as we need to change the existing branding too. so, i upgrade the site collection. I understand
the Look and Feel will not persist after the upgrade but I am concern that at least the page should show the content on the page after the upgrade. The page had Calendar webppart on it but after the upgrade it is coming blank.
any suggestion?
Regards,
Khushi
Khushi

Similar Messages

  • How to change the master page and theme dynamically in sharepoint2013 anonymous site

    hi
    I have to change the master page and theme dynamically in sharepoint2013 anonymous site. i have to show one master page to authenticated user  another master page to anonymous user through code
    Srinivas

    Hi Srinivas,
    According to your description, my understanding is that you want to change the master page and theme dynamically based on the anonymous users or authenticated users.
    Per my knowledge, there is not an OOB way to change the master page and theme dynamically.
    SharePoint is based on Asp.net, as we know Asp.Net request processing is based on pipeline model, so we can delevlop a custom HttpModule to dynamic change the master page based on current logon user profile(using SP Object Model to get).
    Another solution could be to use the SecurityTrimmed control that injects the CSS depending on global user permissions, more information, please refer to
    it.
    Some similar posts for your reference:
    http://social.msdn.microsoft.com/Forums/office/en-US/c2b2d0da-c752-4aea-9c2d-e31a5b1a2988/sharepoint-2010-dynamic-masterpage-based-on-userprofile-property
    http://johanleino.wordpress.com/2011/10/20/using-a-different-master-page-for-authenticated-users-in-sharepoint/
    http://sharepoint.stackexchange.com/questions/21679/how-can-we-use-a-different-masterpage-for-annoymous-and-authenticated-users
    http://sivarajan.me/post/How-to-customize-the-SharePoint-2013-Master-Page-for-Anonymous-Users
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • Changing the Start Page after loggin in the application

    How can we change the start page once i log in to the oracle apex application.I took the following measures to change the page number
    The default source code for the login page 101 process is
    wwv_flow_custom_auth_std.login(
    P_UNAME => :P2_USERNAME,
    P_PASSWORD => :P2_PASSWORD,
    P_SESSION_ID => v('APP_SESSION'),
    P_FLOW_PAGE => :APP_ID||':1'
    I tried to change the P_FLOW_PAGE variable to page 15 as below
    P_FLOW_PAGE => :APP_ID||':15'
    but still no luck,still the login page is redirecting me to page 1 only instead of page 15.Can any of the experts here please help.
    Thanks

    Hello
    You need to go to
    Home>Application Builder>Application 127>Shared Components>Edit Security AttributesThen edit the Home Link item.
    For example, mine is set to
    f?p=&APP_ID.:35:&SESSION.The result is that my application goes to page 35 after login.
    Hope this helps.
    Simon.

  • Unable to  get the login page after upgrade from 11.5.10.2 to R12

    Hi ,
    We are unable to get the login page after upgrade from 11.5.10.2 to R12, all the services are up and running.
    Pls let me know if someone has come across this issue.
    Thanks&Regards,
    Apps DBA

    Hi ,
    After compile JSP files manually , now we are facing problem after logging.
    Error : You have encountered an unexpected error.
    Thanks&Regards,
    Apps DBA

  • CS5 can't preview the fonts image after upgrade the OS X 10.10.1

    My CS5 can't preview the fonts image after upgrade the OS X 10.10.1,
    Wanna try to reinstall the AI but my disc read error. Anyone has this problem or solution, Many Thanks!!

    Thanks but can't find this "system transparency" setting inside the illustrator. Search the key word doesn't work...

  • Click a button to change the Master Page

    Hi everybody,
    I have a LiveCycle Designer question…
    Is it possible to have a button onclick event to change the Pagination “Place” property of a subform?  I would like to change the Master Page that a subform is placed on using a script on an onclick event. I’m not sure if this is possible… wondering if you knew a way…
    Thanks a lot.
    Jing

    Hi Jing,
    I don't think it is easy, here is a sample that allows you to choose the page size and orientation (which are different master pages), Adobe LiveCycle Designer Cookbooks by BR001: Season Planner (or Year Planner) PDF Template
    It effectively defines the form against each master page and recalculates the widths and heights when the page selected is made, but I don't know of another way.
    Regards
    Bruce

  • Cannon MP830 can't use the scanner function after upgrading to Mavericks.

    I have an Cannon MP830 and now I can't use the scanner function after upgrading to Mavericks.  Can someone help?

    There is no ICA driver for this model so you won't be able to use Image Capture or Preview. But there is a TWAIN scanner driver and the supporting MP Navigator application available for 10.8 from Canon, so you could try installing these and see if you can scan again.

  • How can I change the default page setup for printing messages in Apple Mac Version 4.6 (1085)

    How can I change the default page setup for printing messages in Apple Mac Version 4.6 (1085)

    As soon as I posted, Ifigured this one out on my own by going into user settings and changing the default there. Then I was able to delete the default @mac account. Thanks!

  • Can we change the name of reassign button in sharepoint 2010 approval workflow?

    can we change the name of reassign button in sharepoint 2010 approval workflow?
    Shazil Ali

    Yes, we can change it. Steps are as follows: 1. Create the workflow in SharePoint Designer 2010 2. Use Start Approval Process action 3. Write your logic and all setting as per you requirement and then publish the workflow once. 4. After this, click on
    the workflow name and there you will see the sections as Workflow Information, Customization, Settings, Start Options, Forms. Here you will see a form under Forms section with a name of Approval_x00....... with a type "Task". Click on this form. This form
    is an Infopath form that opens up when a task is to be edited (Task Form). This form will open up in Infopath (provided you have Infopath installed on your system) It may ask you the crendentials for security. 5. The task form will open up in Infopath for
    editing. Click on the Reasign button and in the top left corner in the ribbon section is the field (Label) having text as "Reassign Task". Change this and then save and publish the form.Publish the workflow once again.

  • Problem to change the master page height using javascript

    Hi everyone,
    I've been trying it but no luck... appreciate any helps possible.. Thanks!
    I've a masterpage called 'UILayout':
    Long(Height)=100mm, Short(Width)=100mm
    I've a button click event with the script to set the Long to 160mm:
    ====================================
    //display current height
    var curHeight = xfa.form.form1.pageSet.UILayout.medium["long"];
    xfa.host.messageBox("Current Height = " + curHeight);
    //set height to 160mm
    xfa.form.form1.pageSet.UILayout.medium["long"]="160mm";
    //relayout the pageArea
    xfa.layout.relayoutPageArea(0);
    ====================================
    Doesn't work, I wrote another button click event to retrieve the height, and it returned 160mm. But the layout just doesn't refresh with the changed height....i'm using LC Designer 8.2, form saved as Dynamic XML PDF , compability set to 7.0.5, view in Acrobat Pro 7.1. Thanks...

    I do not think you will be able to adjust the Master page size as it is tied to the Content Area size as well. I tried to adjust the pageisze and the content size but it was ignored. I can get at the properties to change them but that is it.

  • How can I hide the master page when saving a pdf?

    I designed a form that uses a master page so that I can use headers and footers without changing 10 different pages.  When I save to PDF so the form can be filled out it saves the Master Page as the first page though it has no content.  I have to save the PDF as a static file because it needs to be filled out on the iPad.
    Anyhelp please?

    Hmm,
    Not really. Acrobat must display at least one page of the form. You can set the presence of all of your Design Pages to hidden, but Acrobat will display at least one instance of the Master Page.
    The Master Page is available in LC Designer for objects that you want to repeat on more than one page. Yes, typically this includes header and footer objects.
    If you want to hide all of your main form pages, then include a blank page and display this when hiding all of the other pages. See an example here: http://assure.ly/frjYW5.
    There is also an example here for displaying/hiding pages on a loop: http://assure.ly/kyMP6l.
    Hope that helps,
    Niall

  • How can I change the default page for a book?

    I have a book that contains six pages. One of the pages contains the login portlet while the others contain account specific information that a user can only see if they are logged in. Currently, I have the default page set to the login page.
    I am attempting to write a backing file for the book that will esentially change the default page for the book to be one of the other pages if the user is already logged in. In effect showing a logged in user their account summary page instead of the login portlet.
    I can't seem to find a way to change what page the user is shown with the book and page context classes. I can hide the login page, but this leaves the user looking at a blank page. Unfortunately I can't use entitlements, otherwise this would be easy.
    Does anyone know how to "forward" to another page from a backing file?
    Thanks,
    Sam
    Message was edited by:
    straubse

    Got it!
    In your backing file you'll need the following in your handlePostbackData method:
    BookBackingContext bookCtx = BookBackingContext.getBookBackingContext(arg0);
    bookCtx.setupPageChangeEvent("PageLabel");

  • Can I change the "Next Page" key?

    Hey. Is it possible to change the "Next Page" key from the right arrow to some other key on the keyboard? I'd rather use the "S" key to go to the next page, rather than the right arrow..
    Thanks!

    No, Reader does not let you customize keys.

  • Can we change the alternative COA after transaction data posting

    Hi Friends,
    My client has wrongly updated the GL account in alternative Chart of accounts column in Company code segment. They didnt realise and they posted some transaction data as well.
    Today they realised and tried to change the alternative COA and it showed an error message "GL account balance is not zerowised". They tried to clear the GL account balance, but couldnt solve the issue.
    Please let me know is there any other way to change the alternative COA after entering the transaction data.
    Thanks,
    Dwarak

    thnks

  • Some Site Collection not showing up (even the system pages) after upgrade

    Hi All -
    Following http://technet.microsoft.com/en-us/library/cc263299.aspx I just did database upgrade from 2010 to 2013. Some of the site collections are not showing up. These are basic site collection with almost no custom code. Just bunch of list and libraries.
    Not even the system pages such as web part gallery, masterpage setting page none are opening. I check the Correlation ID  and the log file is showing the below error
    Name=Request (GET:http://<siteurl>/_Layouts/ChangeSiteMasterPage.aspx) 5bb6669c-24a6-70d4-9fcd-23851c953ba2 01/03/2014 11:48:56.80 w3wp.exe (0x1858) 0x198C SharePoint Foundation Authentication Authorization agb9s Medium Non-OAuth request. IsAuthenticated=True,
    UserIdentityName=, ClaimsCount=0 5bb6669c-24a6-70d4-9fcd-23851c953ba2 01/03/2014 11:48:56.81 w3wp.exe (0x1858) 0x198C SharePoint Foundation Logging Correlation Data xmnv Medium Site=/sites/WK-Advisors 5bb6669c-24a6-70d4-9fcd-23851c953ba2 01/03/2014 11:48:56.83
    w3wp.exe (0x1858) 0x198C SharePoint Foundation Files 00000 High UserAgent not available, file operations may not be optimized. at Microsoft.SharePoint.SPFileStreamManager.CreateCobaltStreamContainer(SPFileStreamStore spfs, ILockBytes ilb, Boolean copyOnFirstWrite,
    Boolean disposeIlb) at Microsoft.SharePoint.SPFileStreamManager.SetInputLockBytes(SPFileInfo& fileInfo, SqlSession session, PrefetchResult prefetchResult) at Microsoft.SharePoint.CoordinatedStreamBuffer.SPCoordinatedStreamBufferFactory.CreateFromDocumentRowset(Guid
    databaseId, SqlSession session, SPFileStreamManager spfstm, Object[] metadataRow, SPRowset contentRowset, SPDocumentBindRequest& dbreq, SPDocumentBindResults& dbres) at Microsoft.SharePoint.SPSqlClient.GetDocumentContentRow(Int32 rowOrd, Object ospFileStmMgr,
    SPDocumentBindRequest& dbreq, SPDocumentBindResults& dbres... 5bb6669c-24a6-70d4-9fcd-23851c953ba2 01/03/2014 11:48:56.83* w3wp.exe (0x1858) 0x198C SharePoint Foundation Files 00000 High ...) at Microsoft.SharePoint.Library.SPRequestInternalClass.GetFileAndMetaInfo(String
    bstrUrl, Byte bPageView, Byte bPageMode, Byte bGetBuildDependencySet, String bstrCurrentFolderUrl, Int32 iRequestVersion, Byte bMainFileRequest, Boolean& pbCanCustomizePages, Boolean& pbCanPersonalizeWebParts, Boolean& pbCanAddDeleteWebParts, Boolean&
    pbGhostedDocument, Boolean& pbDefaultToPersonal, Boolean& pbIsWebWelcomePage, String& pbstrSiteRoot, Guid& pgSiteId, UInt32& pdwVersion, String& pbstrTimeLastModified, String& pbstrContent, UInt32& pdwPartCount, Object&
    pvarMetaData, Object& pvarMultipleMeetingDoclibRootFolders, String& pbstrRedirectUrl, Boolean& pbObjectIsList, Guid& pgListId, UInt32& pdwItemId, Int64& pllListFlags, Boolean& pbAccessDenied, Guid& pgDocid, Byte& piLevel,
    UInt64& ppermMask, ... 5bb6669c-24a6-70d4-9fcd-23851c953ba2 01/03/2014 11:48:56.83* w3wp.exe (0x1858) 0x198C SharePoint Foundation Files 00000 High ...Object& pvarBuildDependencySet, UInt32& pdwNumBuildDependencies, Object& pvarBuildDependencies,
    String& pbstrFolderUrl, String& pbstrContentTypeOrder, Guid& pgDocScopeId) at Microsoft.SharePoint.Library.SPRequestInternalClass.GetFileAndMetaInfo(String bstrUrl, Byte bPageView, Byte bPageMode, Byte bGetBuildDependencySet, String bstrCurrentFolderUrl,
    Int32 iRequestVersion, Byte bMainFileRequest, Boolean& pbCanCustomizePages, Boolean& pbCanPersonalizeWebParts, Boolean& pbCanAddDeleteWebParts, Boolean& pbGhostedDocument, Boolean& pbDefaultToPersonal, Boolean& pbIsWebWelcomePage, String&
    pbstrSiteRoot, Guid& pgSiteId, UInt32& pdwVersion, String& pbstrTimeLastModified, String& pbstrContent, UInt32& pdwPartCount, Object& pvarMetaData, Object& pvarMultipleMeetingDoclibRootFolders, String& pbst... 5bb6669c-24a6-70d4-9fcd-23851c953ba2
    01/03/2014 11:48:56.83* w3wp.exe (0x1858) 0x198C SharePoint Foundation Files 00000 High ...rRedirectUrl, Boolean& pbObjectIsList, Guid& pgListId, UInt32& pdwItemId, Int64& pllListFlags, Boolean& pbAccessDenied, Guid& pgDocid, Byte&
    piLevel, UInt64& ppermMask, Object& pvarBuildDependencySet, UInt32& pdwNumBuildDependencies, Object& pvarBuildDependencies, String& pbstrFolderUrl, String& pbstrContentTypeOrder, Guid& pgDocScopeId) at Microsoft.SharePoint.Library.SPRequest.GetFileAndMetaInfo(String
    bstrUrl, Byte bPageView, Byte bPageMode, Byte bGetBuildDependencySet, String bstrCurrentFolderUrl, Int32 iRequestVersion, Byte bMainFileRequest, Boolean& pbCanCustomizePages, Boolean& pbCanPersonalizeWebParts, Boolean& pbCanAddDeleteWebParts, Boolean&
    pbGhostedDocument, Boolean& pbDefaultToPersonal, Boolean& pbIsWebWelcomePage, String& pbstrSiteRoot, Guid& pgSiteId, UInt32& pdwVersion,... 5bb6669c-24a6-70d4-9fcd-23851c953ba2 01/03/2014 11:48:56.83* w3wp.exe (0x1858) 0x198C SharePoint
    Foundation Files 00000 High ... String& pbstrTimeLastModified, String& pbstrContent, UInt32& pdwPartCount, Object& pvarMetaData, Object& pvarMultipleMeetingDoclibRootFolders, String& pbstrRedirectUrl, Boolean& pbObjectIsList, Guid&
    pgListId, UInt32& pdwItemId, Int64& pllListFlags, Boolean& pbAccessDenied, Guid& pgDocid, Byte& piLevel, UInt64& ppermMask, Object& pvarBuildDependencySet, UInt32& pdwNumBuildDependencies, Object& pvarBuildDependencies,
    String& pbstrFolderUrl, String& pbstrContentTypeOrder, Guid& pgDocScopeId) at Microsoft.SharePoint.SPWeb.GetWebPartPageContent(Uri pageUrl, Int32 pageVersion, PageView requestedView, HttpContext context, Boolean forRender, Boolean includeHidden,
    Boolean mainFileRequest, Boolean fetchDependencyInformation, Boolean& ghostedPage, String& siteRoot, Guid& siteId, Int64& bytes, ... 5bb6669c-24a6-70d4-9fcd-23851c953ba2 01/03/2014 11:48:56.83* w3wp.exe (0x1858) 0x198C SharePoint Foundation
    Files 00000 High ...Guid& docId, UInt32& docVersion, String& timeLastModified, Byte& level, Object& buildDependencySetData, UInt32& dependencyCount, Object& buildDependencies, SPWebPartCollectionInitialState& initialState, Object&
    oMultipleMeetingDoclibRootFolders, String& redirectUrl, Boolean& ObjectIsList, Guid& listId) at Microsoft.SharePoint.ApplicationRuntime.SPRequestModuleData.FetchWebPartPageInformationForInit(HttpContext context, SPWeb spweb, Boolean mainFileRequest,
    String path, Boolean impersonate, Boolean& isAppWeb, Boolean& fGhostedPage, Guid& docId, UInt32& docVersion, String& timeLastModified, SPFileLevel& spLevel, String& masterPageUrl, String& customMasterPageUrl, String& webUrl,
    String& siteUrl, Guid& siteId, Object& buildDependencySetData, SPWebPartCollectionInitialState& initialState, ... 5bb6669c-24a6-70d4-9fcd-23851c953ba2 01/03/2014 11:48:56.83* w3wp.exe (0x1858) 0x198C SharePoint Foundation Files 00000 High ...String&
    siteRoot, String& redirectUrl, Object& oMultipleMeetingDoclibRootFolders, Boolean& objectIsList, Guid& listId, Int64& bytes) at Microsoft.SharePoint.ApplicationRuntime.SPRequestModuleData.GetWebPartPageData(HttpContext context, String path,
    Boolean throwIfFileNotFound) at Microsoft.SharePoint.ApplicationRuntime.SPVirtualPathProvider.GetCacheKey(String virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultFromCacheInternal(VirtualPath virtualPath, Boolean ensureIsUpToDate) at
    System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithN...
    5bb6669c-24a6-70d4-9fcd-23851c953ba2 01/03/2014 11:48:56.83* w3wp.exe (0x1858) 0x198C SharePoint Foundation Files 00000 High ...oAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean</siteurl>
    According to this article, I need to verify whether sites are working in 2010 mode. Next step is to change the authentication. Should I proceed to change the authentication mode before resolving this issue?
    <siteurl></siteurl>
    <siteurl>Regards,</siteurl>
    <siteurl>Khushi
    </siteurl>
    <siteurl></siteurl>
    Khushi

    Hi
    Khushi ,
    Yes , you need to proceed to change the authentication mode . According to your error message “Non-OAuth request. IsAuthenticated=True, UserIdentityName=, ClaimsCount=0” and “UserAgent not available, file
    operations may not be optimized”, all of them can be caused by the authenticate. So make sure you have upgraded cleanly and effectively to Claims Based Authentication.
    For more detail information, you can refer to the article:
    Migrate from classic-mode to claims-based authentication in SharePoint 2013
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

Maybe you are looking for

  • How do you center a title's anchor point?

    I'm sure this is a simple question but I can't find anything in the forums that answer it. I have a text title I want to center in the frame (horizontally and vertically, with text center aligned), but for some reason the guides seem to be wrong.  Th

  • Recommended way to handle a serious number of assets?

    Hi, at my company we are developing a number of commercial games for mobile devices. I can't give many details about the project due to agreements with potential publishers but I would like to emphasize that this is a large, serious project, with a l

  • IPhone 3GS - Reception Problem Discovered

    I was taking a stroll through my backyard and found an issue with reception. I have isolated the cause to the lemon tree I have. Is there some sort of weird signal attenuation that occurs due to the highly acidic nature of lemons? I have posted a vid

  • Importing stills from iPhoto - terrible resolution?

    I'm a complete novice.  I have tried searching on this and have not found any suitable information for this problem.  I have become tired of the instability of iMovie, and just downloaded the trial version  of FCP X.  I've starting tinkering with it

  • Apple Hardware Test error message: 4MEM/9/40000000: 0x79093f90 on 15" retina 2012

    hello. I am having issues with my 15inch retina mac 2012. Some apps for example safari crash every once in a while. Some times i get the grey screen of death. My configuration is: CTO. 2.6 GHz Intel core i7 with 16 GB 1600 MHz DDR3 and 512GB flash me