Link to home
Start Free TrialLog in
Avatar of printas
printas

asked on

Script Time Out Errors with MySql Database Hosting in Window Server Environment

I am using a shopping cart script that is in asp. I use MySQL database as the back-end. The cart and database is hosted in a Windows 2K server environment with a webhosting company.

The problem I am having is that when I do a search, the script would timed out with the ASP Error '0113' code. The only way to resolve this at the moment is to add a line of code Server.ScriptTimeout=240 in the asp page. However, by adding this line of code, although the search works, but it takes more than 5 minutes just to generate a simple one item search.

So far this is the only suggestion and solution provided by the webhosting company and from the developer of the shopping cart. As you can see this is not acceptable by anymeans for an ecommerce site!

Can anybody tell me what's causing the first problem of timing out? Is it because the webhost provider has not configure it's server correctly or is it because of the MySql database not responding very good when it's hosted in a Window server?

What is another solution in order to get this fix?

Thank you.
ASKER CERTIFIED SOLUTION
Avatar of rajuare
rajuare
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of printas
printas

ASKER

Hi, I am not a tech person. I just to get my business online up as soon as possible. I do not understand all the stuff on Microsoft website.  If you can take a look at my site, and tested yourself to see what I am having problem with, maybe you can tell me whether it's the script that making things bad or it's the MySql database.

I am currious, because the developer of the shopping cart says it has to be the database server that or my webhosting provider not setting the database server properly maybe.  But then again, I would thought that MySql 4.0.2 can handle searches easily. I only have 1776 products in the database. But why it can handle such load in searching.
Avatar of printas

ASKER

oops...forgot to add the link to my site: http://www.printerassociates.com/cart500/
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of printas

ASKER

Thanks everyone for the comment. Will try to fix the design to accommodate larger screen resolutions.

About my original problem, I fixed it already.
All I needed to do was go to phpMyadmin utility and Index all the fields that shop uses for searching in the products table of the database; and removed fields that are not used for searching. That fixed it instanly!
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial