Questions tagged [error-handling]

Questions related to configuring, managing custom error pages according to status code.

Filter by
Sorted by
Tagged with
1 vote
2 answers
24 views

Can not delete copied items in Sitecore 7. Getting Error Job started: RemoveLinks|System.ArgumentNullException: Value cannot be null

Hello – As I’m working through Sitecore trying to add some pages and delete some, I’m running into this “Breaking Links” error that doesn’t allow me to delete pages I don’t need. For example, I now ...
1 vote
0 answers
42 views

Sitecore 10.2 - Capture application level errors

If I was to capture application level errors on our instance for integration with some form of error reporting software (i.e, Rollbar) how would I go about this without a Global.asax Application_Error(...
  • 228
2 votes
3 answers
142 views

Issue with custom errors configuration in my Sitecore 10.1 instance

I am facing an issue whereby custom errors are not redirecting to error page configured. I have custom errors remote only set in the web.config as below: <customErrors mode="RemoteOnly" ...
  • 228
0 votes
1 answer
58 views

Error while generating static page in SXA

I am trying to generate a static error page for the website. I am getting this error while creating. I have published the entire site. I am using following blog/article for the same :- https://doc....
  • 339
0 votes
0 answers
106 views

Handling error pages SXA with IIS

I am looking to configure error pages on SXA. I read the following topic and configured it accordingly: https://techknowlodgey.wordpress.com/2020/05/09/error-handling-with-sxa/ I have generated a ...
-1 votes
2 answers
116 views

error CS0119: 'Sitecore.Mvc.HtmlHelperExtensions.Sitecore(System.Web.Mvc.HtmlHelper)' is a 'method', which is not valid in the given context

[![I currently receiving these warnings. Do they have anything to do with it. Furthermore, the warnings say it can’t find Navigation.js and Sitecore.Foundation.Theming.min.js even though they are ...
0 votes
0 answers
761 views

404 error handle in Sitecore SXA

I am using Sitecore SXA and handling page not found through by default functionality in SXA by going on below path: /sitecore/content/{tenant name}/{sitename}/Settings > Error handling tab > and ...
  • 870
1 vote
0 answers
456 views

Sitecore Error : System.Net.WebException - The operation has timed out

After doing a deployment to the live server, I am getting this error in the logs multiple times due to which the website is not showing. This is the only error that is generated: 12136 23:10:30 ...
1 vote
1 answer
155 views

SXA 1.2 Error Pages configuration

i'm currently using SXA 1.2. I have to create 404 and 500 page. do we have out of the box Feature to configure 404 and 500 Page. In the recent SXA release i can see we can able to configure(see the ...
2 votes
1 answer
575 views

Setting up custom 500 error page on SC 9.1

I'm trying to setup custom 500 page on SC 9.1 I'm following this procedure: https://www.geekhive.com/buzz/post/2017/08/a-complete-guide-to-configuring-friendly-error-pages-in-sitecore-part-2-500-...
0 votes
1 answer
466 views

Prevent Login Redirect on 403 When an Ajax Call

Using Sitecore 9.1 and SXA 1.8 Does anyone know the best way to force Sitecore to return a legit 403 error when an Ajax call is hitting an API method? Currently when the following code is thrown ...
  • 321
2 votes
1 answer
3k views

Is it possible to add Custom 403 Error page in Azure Web Apps

We have built our Sitecore 9.1 solution in Azure Web Apps. We have added custom 403 and 400 error pages by making use of the Error Manager module from Sitecore https://marketplace.sitecore.net/en/...
0 votes
0 answers
431 views

Runtime error while clicking the items in sitecore

Upgraded the sitecore 8.1 to 9.1 and sometimes while clicking the item , gor the runtime error , Error:ManagedPoolThread #6 10:10:44 ERROR Exception processing remote events from database: master ...
1 vote
1 answer
344 views

How to support custom 404 Pages while keeping Languages.AlwaysStripLanguage set to false

My team is running into a very confusing error where our 404 pages are throwing 500 errors, but only when the Languages.AlwaysStripLanguage configuration setting is set to "false". When we remove the ...
0 votes
1 answer
711 views

SXA server error page not working in Azure PaaS

We are using Sitecore 9.0.2 and SXA 1.7.1 We have configured a server error page in the field called "Server Error Page Link" in the "Settings" item. We generated the static error page (navigate to ...
1 vote
1 answer
405 views

Replacing 404 errors with 410 Sitecore 7.2

This may be a little broad so I'd appreciate any pointers. Is there a way to replace the typical 404 response with 410 for pages that have been deleted? Obviously I'd like to keep 404 responses for ...
  • 228
1 vote
1 answer
2k views

"WARN Request is redirected to document not found page" message shown in the log file

I have configured CD server according to the official document and spreadsheet and also disabled anonymous IIS access to admin, login, shell folders and default.aspx file. However, after changing IIS ...
  • 375
1 vote
0 answers
502 views

Error message "loading hook" for content search

I have configured two Sitecore servers (CM and CD) using Sitecore 8.2.7. On CD server, Sitecore page is properly shown on the browser but there is a error message shown in the log folder as shown ...
  • 375
2 votes
1 answer
305 views

Custom error page on System HttpNotFound()

In my controller I'm error checking the query string and if the ID they specify doesn't exist I want to return a 404. While the path doesn't correspond with an item in sitecore I am trying to pull an ...
4 votes
1 answer
5k views

handling 500 errors in sitecore 9 [duplicate]

For handling status code 500 followed below step in web.config file: <system.web> <customErrors mode="off" /> <system.web> </system.webServer> <httpErrors ...
  • 619
5 votes
3 answers
2k views

Sitecore SXA 500 custom error page not working

I am using Sitecore 8.2 along with SXA. We have 404 and 500 custom error pages configured in Sitecore. 404 custom error page is working but I am unable to get 500 custom friendly error page whenever ...
  • 51
1 vote
4 answers
1k views

Status Code 200 returned for 404 page SXA website

We have a SXA website and tried to add 404 page as described here Setup 404 page by creating the Pipeline and adding a rendering to set the StatusCode to 404. We also added Page Not found link in ...
  • 137
0 votes
1 answer
1k views

Friendly error page for Sitecore web application [duplicate]

We want to set up a friendly error page for a Sitecore application. We created a new htm page in root folder and used IIS custom errors (using web.config's custom errors element) to redirect errors to ...
0 votes
2 answers
649 views

Custom Error page in Habitat [duplicate]

We have a habitat application with multi-site. If any error occurred, it has to redirect to error page item of specific site. We were planning to implement by https://community.sitecore.net/...
  • 963
2 votes
1 answer
214 views

Autogenerate Sitecore 500 static pages on publish:end and publish:remote:end

We use static html pages for the 500 errors to make sure that something renders assuming that the site is down. The issue with this is that these static pages would have to be manually edited and ...
  • 2,363
7 votes
2 answers
1k views

How do you write a Custom 404 page that is compatible with SXA?

I'm running Sitecore 8.2 update 4 and SXA 1.3 Update 1. I'm trying to get some custom 404 pages working so that my marketing team can enjoy creating their own 404 pages for each of the sites running ...
6 votes
4 answers
7k views

Sitecore.Diagnostics.Log.Error() method is not working Inside a Static Class

I typically do my error logging like this: Sitecore.Diagnostics.Log.Error("My Error Message Here", ex, this); But, that same syntax does not work for inside a Static class since this is not valid in ...
  • 1,765