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
|
|
|
|
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?
|
|
|
|
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.
|
|
|
|
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.
|
|
|
|
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?
|
|
|
|
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#5936867Joe, 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
|
|
|
|
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.
Important Information:
The AbleCommerce Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close