Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
 All Forums
 Technical
 ASP (Windows server) versions
 Ugly generic 404 error message
Author « Topic »  

Roger
Advanced Member

342 Posts

Posted - 07/11/2022 :  11:49:24  
ASP version 7.5.1
Getting the generic 404 message when an item doesn't exist or is not available on search and products.asp. Can't make webconfig show details. Funny thing, when the webconfig file is present, everything operates normally, but no details on the error.

Roger

Vince
Administrator

42768 Posts

Posted - 07/11/2022 :  13:37:07  
Hi Roger
Can you get your host onboard about the error messages as we really need the error message details to sort this out.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

Roger
Advanced Member

342 Posts

Posted - 07/11/2022 :  13:59:53  
Working on it...

Roger

Roger
Advanced Member

342 Posts

Posted - 07/11/2022 :  17:17:56  
ServeLink response:

...In the case of a HTTP 404 response there isn't anything extra we can add, there's no further error message that can be displayed as there isn't an error as such. The resource you requested simply cannot be found and that's all we know...

It's just odd that without the web.config file it displays as the old generic 404 page rather than the beautiful page filled with suggestions as to next steps on the custom page that displays when web.config is left on the site.

Roger

Roger
Advanced Member

342 Posts

Posted - 07/11/2022 :  17:25:53  
Here is a link to a product that is no longer available:

https://needlepointus.com/proddetail.asp?prod=AB9MD

in case you want to try it.

Roger

insight
ECT Moderator

USA
4479 Posts

Posted - 07/11/2022 :  18:20:31  
quote:
It's just odd that without the web.config file it displays as the old generic 404 page rather than the beautiful page filled with suggestions as to next steps on the custom page that displays when web.config is left on the site.


Not really odd. web.config tells the site where your custom 404 page is located; if you remove that then, without being directed to the location of the custom page, all the system can really do is display a default 404 page together with a HTTP 404 response code. Sounds like that's what you are seeing

Peter


Professional ecommerce web hosting services
Shared hosting Windows & Linux | Dedicated servers | Domains | SSL
Ecommerce Templates specialists since 2003
https://servelink.com

Edited by - insight on 07/11/2022 18:20:55

Roger
Advanced Member

342 Posts

Posted - 07/11/2022 :  18:33:16  
Hi Peter,
Thing is, there's nothing in the web.config file but the error details instructions.

Roger

insight
ECT Moderator

USA
4479 Posts

Posted - 07/11/2022 :  18:54:09  
So what are you expecting to happen then? You won't get a custom 404 page to display, if that's what you are trying to do, unless web.config knows the location of that custom file (that's the default setup that we provide). Detailed error messages on screen are not really a great idea, but you do need an actual script error to occur before you will see anything, a 404 isn't going to do that.

Peter


Professional ecommerce web hosting services
Shared hosting Windows & Linux | Dedicated servers | Domains | SSL
Ecommerce Templates specialists since 2003
https://servelink.com

Roger
Advanced Member

342 Posts

Posted - 07/11/2022 :  19:32:26  
Is there a sample web.config file that can help with this?

Roger

insight
ECT Moderator

USA
4479 Posts

Posted - 07/11/2022 :  20:14:14  
If you switch Hosting & DNS >> Hosting Settings >> Custom Error Documents back on again the system will rewrite the default web.config file which will get your custom error document displaying again. I think that's what you are looking for.

Peter


Professional ecommerce web hosting services
Shared hosting Windows & Linux | Dedicated servers | Domains | SSL
Ecommerce Templates specialists since 2003
https://servelink.com

Roger
Advanced Member

342 Posts

Posted - 07/12/2022 :  07:32:47  
Thanks Peter, that helped.

Thanks,

Roger

Edited by - Roger on 07/19/2022 06:32:21
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000