Custom 404 Error page in Sharepoint Foundation 2013
Hi all,
How to point to the custom 404 error page in Share Point Foundation 2013. I have seen some links but not working for me. Please me let me know if you have any suggestion.
Thanks.
Can i create any page and pass the page url in it,like if i have created a page as custom404.aspx under pages library so do i need to do like this?
$spsite = Get-SPSite "<http://sharepoint:1000/>"
$spsite.FileNotFoundUrl = "<pages/custom404.aspx>"
is this the correct way or i am doing incorrectly??
please suggest
Similar Messages
-
How can I set up a custom 404 error page on OSX Server?
I moved my web site to a local server and changed the structure drastically. Unfortunately I am getting hits for information that was on the old server which I haven't put back yet. I'd like to set up a custom 404 Error Page to let people know what's up. In server.app I can set up a 500 error page but not a 404 and when I tried hand coding it into the sites .conf file I really messed things up. It took me a while to get that all corrected!
Thanks for any advice,
Bill WFound it!
Under the web server Advanced Setting set "Allow overrides using .htaccess" then create an .htaccess file in the root directory with the line:
ErrorDocument 404 notfounderror.html
Use whatever HTML/PHP/etc. document you have created. -
Custom 404 error page only works 75% of the time
I have made custom HTTP error pages for my app and they work for Mozilla, Opera and Firefox but IE seems to have its own personal 404 error page.
Anyone know how to make IE work and play well with others and display the custom 404 page like the other 3 browsers do? I did clear the IE cache, twice.
The environment is Tomcat 5.0.19 (stand-alone, no IIS) running on Window Server 2003 Enterprise
Thanks for your help!
WillYou got to love microsoft products huh. Microsoft has turned on its friendly error pages. Unfortunately, to fix this, you have to have your clients modified their browser settings. Inside the IE browser, do the following:
1. From menu choose tools->internet options
2. Choose the advanced tab
3. Uncheck the checkbox that says "Show friendly HTTP error messages"
That will do it for ya. -
Create a custom Master Page in SharePoint Foundation 2013
Hi,
I am new to SharePoint foundation.
I am trying to create a custom master page and save it as template, so that i can use it for all other sub sites. But i don't know where to start. Also i tries searching in Google, i got results for share point and not for share point foundation.
So, Please give me a step by step procedure or a link to step by step procedure on how to create a master page, save it as template and use it for a sub site.
Thanks in advance,
Gowtham RFew points to note related to SharePoint Master page:
You don't need to create master page template. If you deploy your master page in site collection level you can reuse the same master page in subsites without copying again and again, rather just by referencing
You have not mentioned how you are going to deploy your master page. If you have any Visual Studio (VS) solution already, try to add your master page in the VS solution and deploy your master page (and other branding components) as SharePoint WSP
solution.
Deploying master page will not activate the master page, you need to use some kind of 'Web Level Feature' to activate your branding - the feature will basically set the master page property of SharePoint site to your custom master page.
Please follow the links below for steps by steps instructions (and you will find many just by googling 'sharepoint master page visual studio'):
http://frederik.se/how-to-deploy-a-custom-master-page-in-sharepoint-2013-using-visual-studio/
http://joshuaorimogunje.wordpress.com/2011/10/05/how-to-create-custom-master-page-for-sharepoint-2010-using-visual-studio-2010/
http://blogs.msdn.com/b/bobgerman/archive/2011/01/31/packaging-master-pages-and-page-layouts-with-visual-studio-2010.aspx
http://go.limeleap.com/community/bid/291931/Creating-a-Custom-SharePoint-Master-Page-with-jQuery-Using-Visual-Studio
Thanks,
Sohel Rana
http://ranaictiu-technicalblog.blogspot.com -
CQ5 Multiple custom 404 error pages for multiple sites
HI,
I have multiple sites, and I would like to set up a different 404 page for each of my sites
Someone already faced this problem? How I can accomplish this?
Or there is a way to do via the dispatcher and create a static 404 error HTML page each time I publish a site?
Thank You
AdolfoCurrently the most effective way to do what you're asking is to set up your 404.jsp to include the content of a site specific 404.
There was a conversation about this here;
http://dev.day.com/discussion-groups/content/lists/cq-google/2010-02/2010-02-11__day_commu nique_Sling_error_pages_zambak.html
-jason -
Custom Styled Top Link Bar Sharepoint Foundation 2013
I want to be able to style the top link bar with some custom CSS but I am unable to find any guides that walk me through the process. I could use a step by step guide. I have sharepoint designer and I know how to open the master page for editing. I've
tried to link an external CSS page but I still am not quite getting the results I want. I only get part of the CSS to apply. Please helpHi,
Please check the following article about how to style the top navigation with custom css.
http://msdn.microsoft.com/en-us/library/office/dn205275(v=office.15).aspx
Here is a good article for branding top navigation in SP 2013 ,by explaining the top navigation related style elements :
http://sharepoint.rackspace.com/branding-top-navigation-in-sharepoint-2013
Regards,
If a post answers your question, please click Mark
As Answer on that post and Vote
as Helpful
subhash reddy -
How to create customized 404 error page in iplanet 6.1?
Hi,
i need to display custmozed 404 page when my applilcation server(weblogic 9.2) is not available or down.
How i can do this in iplanet??
Any idea would be helpful.. Thank you,
---Praveen Reddy JError fn="send-error" reason="Not Found" path="$docroot/custom404.html
This is what we have in obj.conf on sun one 6.1 if that helps ..
Now that u have brought this .. has any body tried putting a .jsp instead of .html .. for me it just shows the code of jsp :( -
Error 503 after renaming SharePoint Foundation 2013 Server
We renamed a SharePoint Foundation 2013 server using the procedure outlined here:
http://www.bluesphereinc.com/blog/renaming-a-sharepoint-20102013-server/
Everything seemed to work fine until we tried to access the site afterwards. Now all we get when trying to access the site is the Error 503: Service is unavailable message. We can get into central administration without any problems.Hi ,
According to your description, my understanding is that you encountered 503 error after renaming SharePoint Foundation 2013 Server.
For your issue, please refer to the actions as follow:
1.Check the web site properties in IIS. Under home directory tab, check the application pool value and then open that application pool from the application pools (separate node in the IIS tree). Click the
identity tab and see who is the pool assigned to. For the sake of testing, you can select "Predefined" and select local service from the drop down. Restart IIS and see if things work out for you. Http 503 error is generated by the IIS and it happens
when web server sends data stream back to the web site.
2.Verify that all SharePoint services are started, this error might occur because of changing the service account password. You may need to change the new password to application pool or SharePoint timer
service. Click the stopped application pool -> click advanced settings ->Identity ->click the user to retype the user ->Application Pool Identity dialog ->click set -> manually type the user name and password. Then restart the server.
If your issue persists, please provide detail error message of ULS log
to determine the exact cause of the error?
For SharePoint 2013, by default, ULS log is at
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\LOGS
Best Regards,
Eric
Eric Tao
TechNet Community Support -
SharePoint Foundation 2013 - FBA Custom Login Page
Hi,
i am trying to enable FBA in SharePoint Foundation 2013 and it works fine for default login page
but when i try to create custom login page ( which is already working without any problems in SharePoint 2010 ) i receive an error when i try to authenticate user using the following code :
SPClaimsUtility.AuthenticateFormsUser(Context.Request.UrlReferrer, txtUserName.Text, txtPassword.Text);
i checked the Log file and found the following entries :
- Application error when access /_layouts/CM Custom Login Page/Login.aspx, Error=Exception of type 'System.ArgumentException' was thrown. Parameter name: httpApplication at Microsoft.SharePoint.IdentityModel.SPClaimsUtility.AuthenticateFormsUser(Uri
context, String userName, String password) at CM_Custom_Login_Page.Layouts.CmCustomLoginPage.Login.btnLogin_Click(Object sender, EventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
- System.ArgumentException: Exception of type 'System.ArgumentException' was thrown. Parameter name: httpApplication at Microsoft.SharePoint.IdentityModel.SPClaimsUtility.AuthenticateFormsUser(Uri
context, String userName, String password) at CM_Custom_Login_Page.Layouts.CmCustomLoginPage.Login.btnLogin_Click(Object sender, EventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
- Getting Error Message for Exception System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.ArgumentException: Exception of type 'System.ArgumentException'
was thrown. Parameter name: httpApplication at Microsoft.SharePoint.IdentityModel.SPClaimsUtility.AuthenticateFormsUser(Uri context, String userName, String password) at CM_Custom_Login_Page.Layouts.CmCustomLoginPage.Login.btnLogin_Click(Object
sender, EventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(...
- ...Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)check first whether you are getting context or not, to me it looks like issue with Contrext.Request.UrlReferrer
try with this code
Uri url = new Uri(SPContext.Current.Web.Url);SPClaimsUtility.AuthenticateFormsUser(url, txtUserName.Text, txtPassword.Text); -
Error Accessing Host Named Site Collections In SharePoint Foundation 2013
We have a new SharePoint Foundation 2013 server that has one web application two host named site collections. We get the "This page can't be displayed" message when we try to navigate to either of the site collections. Adding the server's IP to
the host file on the machine we are testing from doesn't help. We can ping the new sites from that machine. The web application does not have a host header.
Web application URL = http://servername
Site collection #1 URL = http://customer.company.com
Site collection #2 URL = http://vendor.company.comHi,
I recommend to verify the things below:
Check if site can be accessed with site collection administrator.
Add the SharePoint sites to a trusted zone to see if the issue still occurs.
As this issue can be caused by many reasons, you may check the ULS log for more detailed errors.
For SharePoint 2013, by default, ULS log is at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\LOGS.
Best regards.
Thanks
Victoria Xia
TechNet Community Support -
SharePoint Foundation 2013 - Master Pages
I am trying to create a SharePoint Intranet site but am quickly running into a number of issues and am looking for help.
I need to create a site that has multiple subsites (one for each department) however all of the subsites need to have a consistent look and feel about them so I have delved head long into branding, creating master pages, etc. I have set-up a
master page, with a logo and icon, I would like this to cascade down to all subsites and pages below however I have no option to set this up.
Is this a limitation of using foundation? What other limitations are there to foundation that I need to be aware of?
There also doesn't seem to be any visual designer, what do people use and what would people recommend to use?
I am sure there will be a number of other questions that I need to ask but these will do for starters.
regards,
MattPlease refer the below link to apply custom master page to all sharepoint subsites
http://rickhilferink.wordpress.com/2011/01/25/creating-a-sharepoint-2010-foundation-masterpage-solution-and-automatically-activate-it-for-all-sites-and-newly-created-subsites/
http://aryannava.com/2011/03/29/how-to-apply-custom-master-page-and-theme-to-all-sharepoint-2010-sub-sites/
For SP 2013 foundatoin limitations and boudaries, pls refer the below link
https://social.technet.microsoft.com/Forums/sharepoint/en-US/c2c3bdbc-2e48-436c-9bb8-b604f00de8fa/sharepoint-foundation-2013-limitation
Please don't forget
to mark it answered, if your problem resolved or helpful. -
Hello
On our SharePoint Foundation 2013 server approving Access Requests fails with "request approval failed" after pressing the approve button. The user is site administrator, site collection administrator and site owner.
In the ulsviewer we see the following error:
System.NotSupportedException: No data is available for encoding 1033. at System.Text.Encoding.GetEncodingRare(Int32 codepage) at System.Text.Encoding.GetEncoding(Int32 codepage) at Microsoft.SharePoint.Email.SPMailMessageHelper.GetSocialNotificationMailMessage(SPWeb
web, String senderAddress, String senderName, Boolean useSenderAddressAsFromAddress, String recipientAddress, CultureInfo recipientCulture, String subject, String sidebarHtml, String descriptionHtml, String customMessageHtml, List`1 embeddedAttachments)
at Microsoft.SharePoint.SPSharingEmailHelper.SendAccessRequestsEmail(SPCachedItemEventProperties eventProperties, SPUser sender, String message, SPUser recipient, String recipientEmailAddress, String strSubject, String body) at Microsoft.SharePoint.SPSharingEmailHelper.SendRequestorNotification(SPCachedItemEventProperties
eventProperties, String objRequestedTitle, SPUser reqByUser, SPUser reqForUser, String message, Boolean isMessageUpdate, Int32 status) at Microsoft.SharePoint.SPAccessRequestsOperationHandler.HandleStatusChangingToApprove(SPCachedItemEventProperties
properties, Int32 reqByUserId, Int32 reqForUserId, Int32 newStatus, SPUserCollection users, SPGroupCollection groups, IEnumerable`1 roleDefs) at Microsoft.SharePoint.SPAccessRequestsOperationHandler.HandleRequestStatusChanging(SPCachedItemEventProperties
properties, SPUserCollection users, SPGroupCollection groups, IEnumerable`1 roleDefs) at Microsoft.SharePoint.SPAccessRequestsOperationHandler.ItemUpdating(SPCachedItemEventProperties properties, SPUserCollection users, SPGroupCollection
groups, IEnumerable`1 roleDefs) at Microsoft.SharePoint.SPAccessRequests.UpdateItem(Int32 newStatus, SPUser reqFor, String convStr, String permType, Int32 permissionLevel, Boolean extendInvitation, String anonLinkType, SPList accReqList,
SPListItem item, SPUserCollection users, SPGroupCollection groups, IEnumerable`1 roleDefs) at Microsoft.SharePoint.SPAccessRequests.ChangeRequestStatusCore(Int32 newStatus, SPUser reqFor, String convStr, String permType, Int32 newPermissionLevel,
Boolean extendInvitation, String anonLinkType, SPList accReqList, SPListItem request) at Microsoft.SharePoint.SPAccessRequests.ChangeRequestStatus(Int32 itemId, Int32 newStatus, SPUser reqForUser, String convStr, String permType, Int32
permissionLevel, Boolean extendInvitation, String anonLinkType, SPWeb web) at Microsoft.SharePoint.SPAccessRequests.ChangeRequestStatus(Int32 itemId, Int32 newStatus, String convStr, String permType, Int32 permissionLevel)
at Microsoft.SharePoint.ServerStub.SPAccessRequestsServerStub.ChangeRequestStatus_MethodProxy(XmlNodeList xmlargs, ProxyContext proxyContext) at Microsoft.SharePoint.ServerStub.SPAccessRequestsServerStub.InvokeStaticMethod(String methodName,
XmlNodeList xmlargs, ProxyContext proxyContext, Boolean& isVoid) at Microsoft.SharePoint.Client.ServerStub.InvokeStaticMethodWithMonitoredScope(String methodName, XmlNodeList args, ProxyContext proxyContext, Boolean& isVoid)
at Microsoft.SharePoint.Client.ClientMethodsProcessor.InvokeStaticMethod(String typeId, String methodName, XmlNodeList xmlargs, Boolean& isVoid) at Microsoft.SharePoint.Client.ClientMethodsProcessor.ProcessStaticMethod(XmlElement
xe) at Microsoft.SharePoint.Client.ClientMethodsProcessor.ProcessOne(XmlElement xe) at Microsoft.SharePoint.Client.ClientMethodsProcessor.ProcessStatements(XmlNode xe) at Microsoft.SharePoint.Client.ClientMethodsProcessor.Process() 449c7b9c-6cec-f09a-9792-3d76c4d7e351
The server is running on an English Windows 2012 Server and also the English version of SharePoint Foundation 2013 with the June 2013 CU.
We see exactly the same error when add users to a group with the option "Send an email invitation" enabled.
Any ideas what could cause this problems?
Regards,
ReinhardHi Reinhard ,
According to your error message, it says that no data is available after encoding the social notification mail message. It should be caused by the E-Mail encoding setting.
For troubleshooting your issue, please check the character set of your E-Mail Settings:
Verify that the user account that is performing this procedure is a member of the Farm Administrators group.
On the Central Administration Home page, click System Settings.
On the System Settings page, in the E-Mail and Text Messages(SMS) section, click Configure outgoing e-mail settings.
On the Outgoing E-Mail Settings page, make sure
Character set setting is 65001(Unicode UTF-8).
Best Regards,
Eric
Eric Tao
TechNet Community Support -
Error showing Developer Dashboard in SharePoint Foundation 2013
Hi everybody,
we have a SharePoint Foundation 2013 farm with SP1 and CU Nov 2014 applied (15.0.4667.1000). We have enabled developer dashboard and when we try to open it a new browser window appears with the followed error:
Server Error in '/' Application.
Cannot make a cache safe URL for "microsoftajax.js", file not found. Please verify that the file exists under the layouts directory.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: Microsoft.SharePoint.SPException: Cannot make a cache safe URL for "microsoftajax.js", file not found. Please verify that the file exists under the layouts directory.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[SPException: Cannot make a cache safe URL for "microsoftajax.js", file not found. Please verify that the file exists under the layouts directory.]
Microsoft.SharePoint.Utilities.SPUtility.MakeBrowserCacheSafeLayoutsUrl(String name, Boolean localizable, Int32 desiredVersion) +1456
Microsoft.SharePoint.WebControls.ScriptLinkInfo.ToScriptUrl(Page page) +663
Microsoft.SharePoint.WebControls.ScriptLinkInfo.ToScriptBlock(Page page) +23
Microsoft.SharePoint.WebControls.ScriptLink.RenderScriptBlockInline(Page page, HtmlTextWriter writer, Boolean deltaPage, StringBuilder sb, ScriptLinkInfo s) +109
Microsoft.SharePoint.WebControls.ScriptLink.RenderScriptBlockInternal(Control ctrl, Page page, Boolean afterUI, HtmlTextWriter writer, Boolean deltaPage) +1027
Microsoft.SharePoint.WebControls.ScriptLink.RenderScriptBlock(Control ctrl, Page page, HtmlTextWriter writer, Boolean afterUI) +58
Microsoft.SharePoint.WebControls.ScriptLink.Render(HtmlTextWriter writer) +226
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +150
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +249
System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +49
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +150
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +249
System.Web.UI.Page.Render(HtmlTextWriter writer) +40
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +150
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5120
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.19449
This error is reproduced in all our enviroments, which has applied the same level patch.
Is this a SharePoint bug?
Regards,
Sergio CallejaI am using following power shell command.
$contentService = [Microsoft.SharePoint.Administration.SPWebService]::ContentService
$devDashboardSettings = $contentService.DeveloperDashboardSettings
$devDashboardSettings.DisplayLevel = "On"
$devDashboardSettings.Update();
I have used this commands on Sharepoint 2013 Foundation. In that, it shows small icon for DD. But when I am clicking on it, it doesn't show anything. Just blank screen. When I used same commands with Sharepoint 2013 server vesion, these commands works for me.
Does this mean that, in Sharepoint Foundation, It doesn't provide Developer Dashboard. ?
Please comment below , if you have any idea. -
SharePoint Foundation 2013 - Treeview current navigation linking to wrong page
Good day,
We are having issues with the OOTB tree view for SharePoint Foundation 2013.
The client has a document library with a folder structure. Clicking on the first level folder (Private) navigates you to the wrong url, but when you navigate to one of its child folders, by expanding the parent folder (Private) and THEN clicking on the parent
folder, it navigates to the right url.
See attatched screenshots:
Error:
No error:Hey guys,
Any update on this? Sorry for the hassle, guessing it's a SharePoint bug?
Thanks,
Abrie van Wyk -
SharePoint Foundation 2013 error after March 2013 PU
Hi all!
i have SharePoint Foundation 2013, install March 2013 PU but now i can't edit webpart pages that have a search webpart. Then i install the SP1 too, but the issue continue. Any idea?
I read about the SP1 problem, but i installed the lasted update.
the errror on the IE developer tool says that SCRIPT5009: 'WebForm_OnSubmit' is undefined
Its only when i put a search webpart on page.
thanksHi all,
I had to open a MS case to resolve this issue.
I going to explain the problem and the resolution for you.
Our SharePoint time zone is Caracas (-4:30)
Our SharePoint language was Spanish (Venezuela)
This was part of the page code before install the upgrade:
var _spRegionalSettings={adjustHijriDays:0,calendarType:1,firstDayOfWeek:0,firstWeekOfYear:0,localeId:2058,currentDateInLocalCalendar: new Date(2014, 5, 27),showWeeks:0,timeZone:'-04:30:00.0001171',timeZoneInHours:-4.5,workDayEnd:1020,workDayStart:480,workDays:'0111110',time24:0};…
And after the upgrade:
var _spRegionalSettings={adjustHijriDays:0,calendarType:1,firstDayOfWeek:1,firstWeekOfYear:2,localeId:3082,currentDateInLocalCalendar: new Date(2014, 5, 27),showWeeks:0,timeZone:'-04:30:00.0005463',timeZoneInHours:-4,5,workDayEnd:1020,workDayStart:480,workDays:'0111110',time24:1};…
So for this thing all script failed.
In our case I noticed when added any search webpart.
So the resolution:
Change the language to Spanish (Mexico) or some language where the decimal separator wasn’t a coma “,”
I hope this help.
Thank you Victoria.
Alexandra
Alexandra
Maybe you are looking for
-
I just got a bunch of Windows updates automatically installed. Now I cannot make large video DVD. Encoding Error comes up every time I put a 1 hour on a DVD. I can make a 5 minute DVD.
-
Nothing is responding on my imac
I cannot open anything on my imac this happened suddenly ,the mouse moves but mail, finder , safari etc etc will not respond ?
-
Need assistance on multiple errors
Hi everyone, I have trouble compiling my Java program due to some errors shown below and would like to seek your help: 1) I have a couple of these error: Enumeration enum = objectsMoved.elements(); Error msg: "Enumeration cannot be resolved" Is ii be
-
Is there a cs6 in multilanguage?
Hi is there a cs6 in multilanguage? i mean after the installation , i can set the language , italian or german or english in short have the possibility to work with cs6 in english ,so i can enjoy the tutorials and after change the language in italian
-
First I get INSECURE STARTUP ITEMS FOLDER DETECTED. Items in the Startup Items folder ("/Library/StartupItems/") have not been started because the folder does not have the proper security settings. followed by... INSECURE STARTUP ITEM DISABLED. "/Lib