Sharepoint 2013 - Error while applying custom master page.
I am getting following error on my sharepoint 2013 site on applying a custom master page.
System.ArgumentNullException: Value cannot be null. Parameter name: ribbon at Microsoft.SharePoint.WebControls.RibbonTrimmer..ctor(SPRibbon ribbon) at Microsoft.SharePoint.WebControls.SPPageStateControl.OnInit(EventArgs e)
at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.AddedControl(Control control, Int32 index) at Microsoft.SharePoint.WebPartPages.WikiEditPage.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Does anyone know whats wrong with my custom master page?
Hi,
please check if its properly deployed.
Refer the similar thread below.
http://social.technet.microsoft.com/Forums/en-US/f07ce2f6-6607-4764-8c12-10de4ae1d635/systemargumentnullexception-value-cannot-be-null-parameter-name-ribbon?forum=sharepointgeneralprevious
Please remember to click 'Mark as Answer' on the answer if it helps you
Similar Messages
-
Apply custom master page for a new sub site in programming
Hi;
How Apply a custom master page for a new subsite ?
My code is as follows but it not working : the master page is not applied ?
SPWeb newSite = web.Webs.Add(name, name, name, Convert.ToUInt16(1036), "{815BF557-AFE0-42B4-92A1-A8A56011EDBF}#LaPoste.DTC.ModeleSite", false, false);
newSite.AllProperties["__InheritsCustomMasterUrl"] = "False";
newSite.CustomMasterUrl = "/_catalogs/masterpage/iDtc/iDtcGeneric.master";
newSite.AllowUnsafeUpdates = true;
newSite.Update();
Regardstry this:
foreach (SPWeb site in siteCollection.AllWebs) {
if (site.Title.ToString() == "Reporting Portal")
site.MasterUrl = WebAppRelativePath + "_catalogs/masterpage/Branding101.master";
//site.CustomMasterUrl = WebAppRelativePath + "_catalogs/masterpage/Branding101.master";
site.AlternateCssUrl = WebAppRelativePath + "Style%20Library/Branding101/Styles.css";
site.SiteLogoUrl = WebAppRelativePath + "Style%20Library/Branding101/Images/Logo.gif";
site.UIVersion = 4;
site.UIVersionConfigurationEnabled = false;
site.Update(); -
Apply custom master page on a subsite
Hi;
I try to apply a custom master page on a new subsite but without success (any impact) :
My code is :
web.AllowUnsafeUpdates = true;
SPWeb newSite = web.Webs.Add(name, name, name, Convert.ToUInt16(1036), template, false, false);
newSite.Navigation.UseShared = true;
newSite.AllProperties["__InheritsCustomMasterUrl"] = "False";
newSite.CustomMasterUrl = curItem["SiteUrl"] + "/_catalogs/masterpage/rep/Generic.master";
newSite.AllowUnsafeUpdates = true;
newSite.Update();
newSite.Close();
Regards;hi,
try this
SPSecurity.RunWithElevatedPrivileges(delegate
using (SPSite objSPSite = new SPSite(SPContext.Current.Web.Url))
using (SPWeb objSPWeb = objSPSite.OpenWeb())
objSPWeb.AllowUnsafeUpdates = true;
objSPWeb.MasterUrl = curItem["SiteUrl"] + "/_catalogs/masterpage/rep/Generic.master";
objSPWeb.Update();
objSPWeb.AllowUnsafeUpdates = true;
Whenever you see a reply and if you think is helpful,Vote As Helpful! And whenever you see a reply being an answer to the question of the thread, click Mark As Answer -
Applying custom master page on layout pages
I am applying my custom master page on application layout pages which I am deploying using visual studio. My issue is; I have to copy my custom master page in the same directory where my layout pages exist otherwise its not working.
I want to deploy my custom master in the default master page directory and refer it to my layout pages.
is it possible or I have to copy my custom master page in the layout page directory ????Hi Nazish,
By default your application pages will inherit the masterpage currently applied to the site where your app is hosted, but to specify a custom master on a app page you have to set the "CustomMasterURL" property on your site.
Next your application page needs to inherit from the "LayoutsPageBase" class and you need to specify your custom masterpage on your application page with "~masterurl/custom.master"
Regards, Pieter
MCPD | MCITP
My Blog
Please remember to click "Mark As Answer" if a post solves your problem or "Vote As Helpful" if it was useful. -
SharePoint 2013 error while opening listing page
Dear All,
I have upgraded my SharePoint 2007 to SharePoint 2010 and SharePoint 2013.
Currently I m facing problem whenever I click on any list pages (eg. Press Release) on Sharepoint 2010 and 2013 application.
Attaching the error message. Please help.Is there any custom code used in the master page or other pages?
I'd suggest you open the PR_listing.aspx page in SharePoint designer and then do a search for "ServerContext" and if you get a match, then you or a developer will need to update the code to use the SPServiceContext approach instead.
If you don't get a match on ServerContext then you'll need to look at what custom controls are being used - and if I were you I'd comment each one out until the page loads.
*********************************************************************** Please remember to mark your question as answered and Vote helpful if this solves/helps your problem. Thanks - Mark. ********************************************************************** -
XD01 assertion failed error while updating customer master data
Hi Guys,
This is an error when I use transaction XD01 to create customers accounts, If you have any ideas do let me and we'll try it....
The error does not let an BDC or LSMW progress as well. There are also no recent sap notes on the same.
The error is as follow
ASSERTION_FAILED
Short text
The ASSERT condition was violated.
What happened?
In the running application program, the ASSERT statement recognized a
situation that should not have occurred.
The runtime error was triggered for one of these reasons:
- For the checkpoint group specified with the ASSERT statement, the
activation mode is set to "abort".
- Via a system variant, the activation mode is globally set to "abort"
for checkpoint groups in this system.
- The activation mode is set to "abort" on program level.
- The ASSERT statement is not assigned to any checkpoint group.
What can you do?
Note down which actions and inputs caused the error.
To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can look
at and manage termination messages, and you can also
keep them for a long time.
Error analysis
The following checkpoint group was used: "No checkpoint group specified"
If in the ASSERT statement the addition FIELDS was used, you can find
the content of the first 8 specified fields in the following overview:
" (not used) "
" (not used) "
" (not used) "
" (not used) "
" (not used) "
" (not used) "
" (not used) "
" (not used) "
I have a company code CG01 with sales organization CTS0 and I want to transfer or extend all the customer master data to another company code CG03 with the sales organization CTS0
The things that I have tried and not work
using xd01, fd15, fd16, fd01, does not wok and gives the error as above
The things that I have tried and it works
Change the sales organization from CTS0 to CTS1 I am able to post the customer master data, using any of the above tcodes and it does not give any error, however the client wants to sales organization to remain CTS0
So please give me any ideas as per your experience as this transfer of master data has to happen by Monday, else I'll be fried by my boss
My number is 9820029197
Will also keep you'll posted on any developments on this case,
Ronan Pinto>
> Firstly I am from SAP FI, so totally new to SAP SD
>
Then you are best person to explain the reason on why the same sales organization, can't be assigned to different company codes. When a sales is done through one sales organization, then will the profit/loss be accounted in different company codes. Is it legally allowed in the country, where your customer is doing business? How you are going to develop the balance sheet? Again being the FI person, you are best judge to provide the details to your customer and not a SD guy.
>
> 1) How did the system not give an error while putting the data inside CG02 with sales organisaton same as CST0 same as in company code CG01.
>
I dont see any other method than removing the assignments in the backend and uploading the data. You can consult a Basis person to find the change logs for the assignment table. In my opinion, removing the sales organization from a company code assignment just for loading a customer master data and then reassigning to original sales org is a crooked method and/or not a professional method.
>
> 2) Since I have limited experience of SD, If I have to convince my client about the use of CTS1 sales organisation or a unique sales organisation against his argument that it worked for company code CG02, how should I do it.......
>
As explained above, how the sales will be accounted in different company codes (even if the system allows to assign the same sales org to different company codes)?
I would recommend you to post this question in FI forum (after closing here) to check what are the legal implications for this scenario.
Regards, -
Error while creating customer master data
dear sir,
i have created customer master and maintined all level general,compnay code and sales level data.and again deleted all areas thru t-code XD06.and thru se16n i have deleted the entires in kna1 knb1 knvv table
again while creating one with same name showing error while maintaing sales level data
Check: Table KNA1 does not exist, table KNVI does
Message no. F2061
plz help how do i rectify this problem and maintain the same cutomer no (external) again.
regards,
DebeshHi,
you did the wrong thing, don't remove the entries from standard table like KNA1, KNVV etc, SAP will maintained the entries in lot of tables same time.
XD06 is used to set delete indicator, after wards you may create new customer master, if any problem for name you may change the name field as 'delete' for old customer.
Now to solve your issue, i believe you need to first save the entries with maintainace of general data (KNA1) and then use XD02 to maintain the Sales area data, pl try this way it should work.
If this way will not work, pl maintain the tax indicator in table KNVI manually to solve the issue.
regards
Vivek.
Edited by: Vievk Vardhan on Dec 7, 2009 6:41 PM -
Error while Deleting Customer Master
Dear Friends,
I have a Customer master record, in which not even a single transaction (SD or FI) has been posted till date.
We now want to delete this Customer Master record & I am trying through T-Code OBR2
But I am getting a Error - Reset the number ranges if necessary
Please suggest how to solve this & delete the Custoemr Master.
P.S. I dont want to block the Customer & we want to delete it. Also I have run the program SAPF047 in SE38.
Thanks,
Jignesh MehtaDear Jignesh,
How are You?
Just have a look in to following SAP Help file, regarding Customer Archiving.
http://help.sap.com/saphelp_47x200/helpdata/en/f7/ea0d38d89d6454e10000009b38f8cf/content.htm
You can decide whether you want to archive all the following areas together or each area separately by making the appropriate settings in the variant.
--> General area
--> Company-code specific (FI-specific) area
--> Sales + distribution-specific (SD-specific) area
I think, this will be helpful.
Best Regards,
Amit -
Error while creating customer master XD01
i have created own account group and assigned external number range when am creating customer in xd01 am getting error in partner tab the SP,SH,BP,PY the no is blank and when am trying to save its gives error document is incomplete the error Message no. F2643
Diagnosis
The account group of the current customer is not defined for the required partner usage.
where as when am assining internal number range its working fine kindly help
ThanxHi Mukesh
Please check the following again,
IMG > Logistic > SD > Basic functions > Partner determination > Customer master
Define the Partner functions. If you are defining new then specify the "PARTNER TYPE" for each Partner function.
- Define Account group. You can use existing one (0001-sod-to-party) or you can copy it or create new.
- Define your Partner determination procedure.
- Assign the required Partner functions (SP,SH,PY and BP are mandatory) to your Account group, so that they will be permitted for your Account group.
- Assign the "Partner functions" to your new "Procedure ". Here you specify which are "mandatory" and which are "not changeable".
- Assign the "Account group" to your new "Procedure".
Now, go to XD01,enter your Account group,External number,company code,Sale area and proceed.
If you are finding problem then,fill up all your data (general data, company code data), go to sales area data, fill up sales ,shipping and billing document tab and save it.
Next, go to XD02, sales area data >partner function tab, here fill up the places for respective Partner functions. -
Error while loading Customer master
Dear all,
I am loading customer master from ECC and it got loaded successfully to PSA but when i am executing DTP, then it is giving an error as some of the data are not maintained in English Language and they are in chinese or japanese or some other languages.
So is there any way to solve it??
Regards,
Sohil Shah.Hi,
You can exclude those in Transformations by writing code.
Below is the thread for your reference.
start routine code for deleting records in different language
Let us know if you still have any issues.
Reg
Pra -
Error while loading customer master data through Idoc (DEBMAS) from BODS
Hi All,
I am trying to load customer master data from BODS to SAP ECC through IDOC(DEBMAS). The jobs run successfully but IDOC is not getting posted. Please find the error below.
I checked in TSKD table the entry 0 is present. Please help me to resolve this issue.
Thanks & Regards,
Balamurugan GHi, did you referred this link : Error during customer master mass update through XD99
-
Error while replicating customer master data from R/3 to CRM
Hi gurus,
I am working on replication of customer master data from R/3 to CRM. It was working fine till date. But Now I am not able to replicate because in Inbound queue (in CRM 5.0) I get the status SYSFAIL for queue name R3AI_DNL_CUST_ACGRPB. When I checked SYSFAIL it shows "Incorrect parameter with CALL FUNCTION"
Kindly help regarding it.
regards,
vimalHello Vimal,
Please refer 552435 and see if this helps.
Please reward points.
regards,
Muralidhar Prasad.c -
Error while replicating customer master in SAP Cloud for Customer
Hi All,
when I trigger a message from SOAP UI to C4C via HCI. I am getting the below error in C4C system
Exception: Error in message header mapping; agent class is CL_BUPA_ERP_REPL_IPA
Can anyone please help me sort this.Hi Ginger,
Below is the screen shot of the iflow which I am using.
The above highlighted functions in the message mapping use Standard UDF provided by SAP.
Below is the screenshot from SOAP UI
Using those two standard UDF I need that the message ID and UUID should get generate while I trigger the message from SOAP UI to SAP HCI but I am getting error : Inbound processing in endpoint at https://iflmaptr102h0162avtaiot-h0162.intaas.hana.ondemand.com/cxf/ERP/COD/customers failed with message "com.sap.aii.mappingtool.tf7.
MessageMappingException: Runtime exception during processing
target field mapping /ns0:BusinessPartnerERPBulkReplicateRequest/MessageHeader/ID. The root message is: Exception:[java.lang.NullPointerException: while trying to invoke the method java.lang.String.toUpperCase()
of a null object loaded from local variable 'MessageID'] in class com.sap.xi.tf._JC_ERP_COD_BusinessPartnerERPBulkReplicateRequest_test_ method getMessageID[com.sap.aii.mappingtool.tf7.rt.Context@2d561850]",
caused by "NullPointerException:while trying to invoke the method java.lang.String.toUpperCase() of a null object loaded from local variable 'MessageID'" in HCI . Which Implies that those UDF are not working in this scenario but when we replicate customer from ERP to COD via DEBMAS idoc, the same UDF works completely fine.
Moreover for testing purposes if have provided the message ID and UUID from SOAP UI, in that case the message is completed in HCI but fails in C4C with the message initially posted by me.
So I want to know why these standard UDF do not work when triggered from SOAP UI and how can I make it work? -
How to set custom master page for sharepoint application page ?
Hello,
I need to apply custom master page for the custom application page I created for login purpose.
Can anyone please let me know how to apply master page for custom application page ?
Note : I need to set custom master page for application page at web application level.
thanks,
Dipti ChhatrapatiHi Dipti,
You can use the same reference as ASP.NET
Example
"<%@ Page Language="C#" masterpagefile="../_catalogs/masterpage/minimal.master" title="teste" inherits="Microsoft.SharePoint.WebPartPages.WebPartPage, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" meta:webpartpageexpansion="full"
meta:progid="SharePoint.WebPartPage.Document" %>"
You can use SharePoint Designer 2010
http://www.microsoft.com/download/en/details.aspx?id=16573 to make the reference from you aspx page to you custom masterpage.
When you are editing a aspx page you can go to ribbon "Style" and attach the custom Masterpage.
André Lage Microsoft SharePoint, CRM Consultant
Blog:http://aaclage.blogspot.com
Codeplex:http://spupload.codeplex.com/http://simplecamlsearch.codeplex.com/ -
how to apply custom master page site setting page in sharepoint2007 it's passible or not.
Hello,
Since layout page inherited from application.master page so your custom master page won't apply to settings page. You can use HHTPmodule to overwrite that master page:
http://stephenkaye.blogspot.in/2008/03/how-to-customise-applicationmaster-file.html
http://nikpatel.net/2009/12/20/moss-2007-implementing-the-custom-application-master-page-using-httpmodule/
If you just want to change the color of links then you can also try with different theme.
Hope it could help
Hemendra:Yesterday is just a memory,Tomorrow we may never see
Please remember to mark the replies as answers if they help and unmark them if they provide no help
Maybe you are looking for
-
My phone line went dead between 8:30 AM and 2:00 PM on Saturday Sep 21, 2013. Next step is to talk to ignorant machines and no way to discuss with a live person....To manipulate between the website is outrageous and moronic at best. The service cal
-
WIN 7 OEM license upgrade to WIN 8.1 Pro volume license
Attempting to upgrade an OEM license of WIN 7 on a Viewsonic ViewPad 10pi to WIN 8.1 Pro actionpack license. Does not accept the product Key. Would prefer to do an upgrade due to multi-os - Win/Android tablet. How do I get past the license acceptance
-
Can I change the language back to the original version if I download a film in Germany (e.g. Batman) - on the info page it says the only language provided is German, whereas for adults the films seem to be provided in both the original version, and t
-
Value type exception causes core dump
Hi, Here is the situation: Session EJB (SynchronousAdapterBean) running on WebLogic 7.0 is being called by C++ client using Tuxedo 8.1 Solaris 8. The SynchronousAdapterBean has a find method which throws a user defined exception (SynchronousAdapterEx
-
What options do I have for saving part of a file in Illustrator CS6
I would like to save portions of a file in AI CS6 as SVG files. Is there a way to just save a selected group? Or can I save / export contents from an individual artboard? Thanks