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
 All Forums
 Technical
 ASP (Windows server) versions
 500 - Internal server error.
Next Page
Author « Topic »
Page: of 2

renixstore
New Member

USA
55 Posts

Posted - 02/16/2019 :  14:35:09  
I downloaded ASP Updater v6.9 and tried to update.

I keep getting:
500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed

I tried all the suggestions, but keep getting 500 - Internal server error.

http://www.renix-electronics.com/updatestore.asp


The site is down and I can not log in.

When I perform:
http://www.renix-electronics.com/updatestore.asp

I get a green checkmark before:
Checking for PayPoint.net upgrade
An error occurred on the server when processing the URL. Please contact the system administrator.

Any help appreciated

Edited by - renixstore on 02/16/2019 14:40:40

V45
Advanced Member

United Kingdom
416 Posts

Pre-sales questions only
(More Details...)

Posted - 02/16/2019 :  14:44:33  
Hi Gerhard

When visiting the updatestore.asp link you have posted I see what I would expect to see with the two check boxes for the CSS & JS files and the Upgrade to version 6.96 button

Visiting the root of the website does throw a 500 error and I think you need to ask your host to turn off friendly error messages so that you can see the real error being masked by the generic 500 error message.

Will - Bolton Manchester UK

Edited by - V45 on 02/16/2019 14:51:27

renixstore
New Member

USA
55 Posts

Posted - 02/16/2019 :  15:26:03  
I edited the web.config as suggested her:

https://www.ecommercetemplates.com/help/troubleshooting.asp#asp11

Now it states the error differently:

The website cannot display the page
HTTP 500

Most likely causes:
•The website is under maintenance.
•The website has a programming error.

What you can try:
Refresh the page.
Go back to the previous page.

This error (HTTP 500 Internal Server Error) means that the website you are visiting had a server problem which prevented the webpage from displaying.

For more information about HTTP errors, see Help.

Andy
ECT Moderator

95440 Posts

Posted - 02/17/2019 :  00:07:50  
Hi

I would remove the web.config file as although it usually helps determine the error for some reason here it hasn't helped. Can you ask your host if they can turn off friendly error messaging and that should show us what the problem is that's being masked.

Andy

Please feel free to review / rate our software

renixstore
New Member

USA
55 Posts

Posted - 02/20/2019 :  20:45:13  
Andy,

I finally got updated to ecommplusupdate_v6.9.6_

Some thing are now broken.

- Can not put anything into cart.
- Does not display Giant Image:

Any suggestions?

insight
ECT Moderator

USA
4476 Posts

Posted - 02/20/2019 :  21:14:35  
Sounds like you didn't add the /js/ectcart.js javascript line to your pages. See the first post here: https://www.ecommercetemplates.com/support/topic.asp?TOPIC_ID=110209

Peter

ServeLink
Professional ecommerce web hosting for ASP & PHP
https://servelink.com

Take a look at our image upload/resize tool for the ASP cart
https://servelink.com/clients/cart.php?gid=7

renixstore
New Member

USA
55 Posts

Posted - 02/23/2019 :  09:56:02  
Thanks for the replies.

I have it mostly working

Still looking into some minor things

stevep
Advanced Member

USA
182 Posts

Pre-sales questions only
(More Details...)

Posted - 05/18/2020 :  13:36:30  
I'm having a cart problem - Ecommerce PlusASP v7.2.2. Cart.asp seems to cause a 500-Internal Server Error. The link provided by Peter regarding ectcart.js is no longer available, and I don't recall any editing of files in the updater instructions.

I tried with Firefox and Chrome. I can place an item in the cart, but if I try to delete it (click trashcan) or click Checkout I get the 500 error. So I can even delete it from the cart. Continue shopping works, but that is proddetail.asp. I look forward to suggestions.

Thank you,
Steve

dbdave
ECT Moderator

USA
10242 Posts

Posted - 05/18/2020 :  13:42:58  
Hi, you will want to get to the problem by getting the actual error.
The "500" is a generic error and the real error will be in the server logs.
You can also see the actual error by turning off friendly error messages. That can usually be done in the web.config file.
If you are with servelink, they can help find the actual error.
Servelinks control panel should have a link to the logs where you can see the real error as well.

Thanks,
David

insight
ECT Moderator

USA
4476 Posts

Posted - 05/18/2020 :  13:43:49  
Best to take a look in your IIS log file to see what the actual error is. It won't be javascript related in this case so don';t worry about that for now.

Peter


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

stevep
Advanced Member

USA
182 Posts

Pre-sales questions only
(More Details...)

Posted - 05/18/2020 :  14:12:15  
Thanks David - I'm with Hostek, been with them since 2006 and things have gone off the rails in the past year or so. I'm going to have to educate myself on how to find the actual error, but can say it the address bar I get cart.asp?lid=0#oc in Firefox, nothing but cart.asp in Chrome (incognito window).

Steve

insight
ECT Moderator

USA
4476 Posts

Posted - 05/18/2020 :  14:20:12  
If you can locate the IIS log file, then open it in a text editor and search up from the bottom for a string like "com 500" (without the quotes). That should bring you to the line with the last error description. Post it here and if it's at all recognizable then we can advise. Otherwise, it might need a bit more work to root out the cause.

Peter


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

dbdave
ECT Moderator

USA
10242 Posts

Posted - 05/18/2020 :  14:26:41  
Hi Steve, in addition to what Peter wrote, you might want to try a web.config file.

If there is one there, just temporilarily rename it and open notepad and paste in the following

<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.webServer>
<httpErrors errorMode="Detailed">
<remove statusCode="404" subStatusCode="-1" />
<error statusCode="404" subStatusCode="-1" path="/404.asp" responseMode="ExecuteURL" />
</httpErrors>
</system.webServer>
</configuration>


save it as web.txt and upload to the server via FTP.
Once it's uploaded, rename it to web.config

Run the site and see if you get an actual error this time.
Once you get the real error, reply back here and immediately remove that new web.config and restore the original (if it exists).

Thanks,
David

stevep
Advanced Member

USA
182 Posts

Pre-sales questions only
(More Details...)

Posted - 05/19/2020 :  04:15:18  
Struck out on IIS log file, could not figure it out; while researching numerous sets up instructions were found but none provided a logical path.

I do have a web.config file both locally and on my hosted server, dating to last August. Looks like it has code added in "rules" and "preconditions" relating to "No HttpOnly." David's code is already there except for
<httpErrors errorMode="Detailed">
<remove statusCode="404" subStatusCode="-1" />
<error statusCode="404" subStatusCode="-1" path="/404.asp" responseMode="ExecuteURL" />
</httpErrors>
...so I added that above </system.webServer>

That breaks the whole site, any page produces only the 500 - Internal server error. I deleted web.config on the server (there is still a web - copy.config file there) and it brings me back to where I was before, crashing cart.

I can definitively say this problem has only existed since the update to v7.2.2, since customer orders processed properly prior to that. I await further suggestions rather than perform trial-and-error which might make things worse.

UPDATE - reinstalled v7.2.2 as troubleshooting step, did not solve problem.

Thank you,
Steve

Edited by - stevep on 05/19/2020 07:07:58

Vince
Administrator

42425 Posts

Posted - 05/19/2020 :  07:28:49  
Hi Steve
It's very hard to know what the cause of the problem is until we can see the details of the error message. Can't you ask your host to turn on detailed error messages and then we can hopefully move forward.

Vince

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

dbdave
ECT Moderator

USA
10242 Posts

Posted - 05/19/2020 :  07:35:12  
Hi Steve, you wouldn't want to "add" to your existing web.config, but rather temporarily replace it, then put it back as I mentioned.
If you want me to do that for you, click my user name and send over FTP details and I'll get the error for you.

Thanks,
David

stevep
Advanced Member

USA
182 Posts

Pre-sales questions only
(More Details...)

Posted - 05/19/2020 :  08:36:14  
Vince, I will but am going to follow through with David first.

I noticed the following was already in web.config: <httpErrors errorMode="DetailedLocalOnly" />
I removed that in order to take a more step-by-step approach, leaving the remainder of web.config the same (including David's code). I put an item in the cart then went to it and clicked the trashcan. The following error appeared:
Microsoft JET Database Engine error '80040e07'
Data type mismatch in criteria expression.
/vsadmin/inc/inccart.asp, line 6540
I think I've seen this before. I can no longer access the cart to delete items. This remains true as long as this web session continues, even if I close the tab and open a new one.

Perhaps this is the error you need to see - I'll hold off on David's last suggestion (minimal web.config temporarily) until I hear if this is the case or not.

Steve

dbdave
ECT Moderator

USA
10242 Posts

Posted - 05/19/2020 :  10:42:22  
Hi Steve, it looks like you've uncovered the actual error there.
That's a step in the right direction.

If you are getting this error when running the updatestore.asp script, Vince may need to look at this, and the error details will certainly help.
I'll send him a message.

Be sure to put that web.config file back so it shows a generic error. Bad people can sometimes get useful information to do bad things with those detailed error messages.

Thanks,
David

:::edit::: Sorry, I went back and looked at the original past from a different user.
You might try to run the update package again, and be sure to run the updatestore.asp script in your browser.

Edited by - dbdave on 05/19/2020 10:52:23

Vince
Administrator

42425 Posts

Posted - 05/19/2020 :  11:31:31  
Hi Steve
Thanks for getting us the details of the error there and I've fixed it now and added the fix to the updater. So sorry about the problems but can you get another copy of the updater and copy the inccart.asp script to your site and that should sort this out.

Thanks too to Dave as always for helping out here.

Vince

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

stevep
Advanced Member

USA
182 Posts

Pre-sales questions only
(More Details...)

Posted - 05/19/2020 :  12:23:16  
It seems more stable now - I don't get errors like the 500 Server error mentioned above. Just the "jet" one that I mentioned. Doing further experimentation, I see another hint. Here is how to duplicate, I picked a product at random.
https://www.i-cubeinc.com/proddetail.asp?prod=AV.io+HD+Frame+Grabber
Click "Buy Now"
In the dialog that comes up clicking either "edit order" or "checkout" causes the "jet" error. Whatever items are put on the cart remain and can't be deleted.

If you delete browsing history that seems to clear the cart. On one of the browsers I can get the cart page and access to the trashcan (one step further than above), clicking it brings up the "jet" error.

Steve


stevep
Advanced Member

USA
182 Posts

Pre-sales questions only
(More Details...)

Posted - 05/19/2020 :  12:24:36  
Oh sorry Vince did not see that! I will do it, thank you.

Thanks to Dave from me as well - I left his code in my config.web file as it greatly enhances my error reporting.

Steve

Edited by - stevep on 05/19/2020 12:28:22
Page: of 2 « Topic »  
Next Page
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000