logo
Welcome to our new AbleCommerce forums. As a guest, you may view the information here. To post to this forum, you must have a registered account with us, either as a new user evaluating AbleCommerce or an existing user of the application. For all questions related to the older version of Gold and earlier, please go to AbleCommerce Gold forum. Please use your AbleCommerce username and password to Login. New Registrations are disabled.

Notification

Icon
Error

Options
Go to last post Go to first unread
judy at Web2Market  
#1 Posted : Monday, June 28, 2021 6:08:39 AM(UTC)
judy at Web2Market

Rank: Advanced Member

Groups: Developers
Joined: 11/7/2018(UTC)
Posts: 303

Thanks: 21 times
Was thanked: 5 time(s) in 5 post(s)
We are testing Elmah.io on a site to get more helpful error messages and this one keeps re-appearing, as a result of 404s on some pages. Do you know why it would be looking for a view called Error.*** ?
Edit: I did a little research and ran across this- the customerror tag in web.config is not the best way to handle errors.
https://richarddingwall....04-errors-in-aspnet-mvc/
Thanks
an hour agoGET
/Nascar
404
828312-DB1
System.Web.HttpException
The controller for path '/Nascar' could not be found.
1


The view 'Error' or its master was not found or no view engine supports the searched locations. The following locations were searched: ~/Themes/GPS_Store_AC9/Views/Webpage/Error.cshtml ~/Themes/GPS_Store_AC9/Views/Webpage/Error.vbhtml ~/Themes/GPS_Store_AC9/Views/Shared/Error.cshtml ~/Themes/GPS_Store_AC9/Views/Shared/Error.vbhtml ~/Views/Webpage/Error.cshtml ~/Views/Webpage/Error.vbhtml ~/Views/Shared/Error.cshtml ~/Views/Shared/Error.vbhtml

Edited by user Monday, June 28, 2021 6:16:14 AM(UTC)  | Reason: Not specified

Wanna join the discussion?! Login to your AbleCommerce Forums forum account. New Registrations are disabled.

shaharyar  
#2 Posted : Tuesday, June 29, 2021 7:19:00 AM(UTC)
shaharyar

Rank: Advanced Member

Groups: Admin, Developers, Registered, HelpDesk, Authorized User
Joined: 10/5/2018(UTC)
Posts: 704

Thanks: 5 times
Was thanked: 113 time(s) in 112 post(s)
Can you please share the changes done in web.config if there are any.

Any customizations related to Error action method?
judy at Web2Market  
#3 Posted : Tuesday, June 29, 2021 7:54:44 AM(UTC)
judy at Web2Market

Rank: Advanced Member

Groups: Developers
Joined: 11/7/2018(UTC)
Posts: 303

Thanks: 21 times
Was thanked: 5 time(s) in 5 post(s)
No, there are no changes in the web.config related to error handling.
judy at Web2Market  
#4 Posted : Wednesday, June 30, 2021 5:57:42 AM(UTC)
judy at Web2Market

Rank: Advanced Member

Groups: Developers
Joined: 11/7/2018(UTC)
Posts: 303

Thanks: 21 times
Was thanked: 5 time(s) in 5 post(s)
I'll do more research into Elmah. Maybe it is some kind of routing they put in.
Joe Payne2  
#5 Posted : Wednesday, June 30, 2021 6:14:51 AM(UTC)
Joe Payne2

Rank: Advanced Member

Groups: HelpDesk, Developers
Joined: 11/9/2018(UTC)
Posts: 564

Thanks: 122 times
Was thanked: 26 time(s) in 25 post(s)
What do you think of Elmah so far Judy?
judy at Web2Market  
#6 Posted : Wednesday, June 30, 2021 6:28:31 AM(UTC)
judy at Web2Market

Rank: Advanced Member

Groups: Developers
Joined: 11/7/2018(UTC)
Posts: 303

Thanks: 21 times
Was thanked: 5 time(s) in 5 post(s)
Looks like it is an Elmah thing.
https://stackoverflow.co...attribute/779961#5936867
Joe, I like it. We used it on this site in Gold because they wanted more details on errors. The error details are clearer than in AC in most cases. It even logged a sql insert error (not AC code!) the other day and that was helpful. I wish I could get it to work without using Elmah.io, but I really like their interface and reporting. You can keep your costs down by filtering out certain errors though.
Just found this- you can embed source code in your error messages!
https://docs.elmah.io/ho...ce-code-in-log-messages/

Edited by user Wednesday, June 30, 2021 6:34:44 AM(UTC)  | Reason: Not specified

Users browsing this topic
Guest (5)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.