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

Posted on 2004-04-30
Last Modified: 2006-11-17
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.
Question by:printas
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Accepted Solution

rajuare earned 100 total points
ID: 10957596
Pls refer the following links for solution,

Microsoft Knowledge Base Article - 182036

Other solutions
These Microsoft articles tell you how to resolve this in NT and windows 2000.;EN-US;q287499;EN-US;q253669
LVL 31

Assisted Solution

alorentz earned 80 total points
ID: 10958693
What is you query?

Author Comment

ID: 10962192
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.
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Author Comment

ID: 10962283
oops...forgot to add the link to my site:
LVL 31

Assisted Solution

alorentz earned 80 total points
ID: 10962624
Correct, your site is pretty slow...may be programming, may be host.  We can't tell without the code.

Another thing, you site is not properly design for resolution greater then 800x600.  I use 1280x1024, and the site was very distort and objects overlapped.  Probably want to have your designer/programming starightent that out!  They should know better!!!
LVL 31

Assisted Solution

alorentz earned 80 total points
ID: 10962643
Oh yeah, and the Add to Cart (Order Product) buttons should be next to each item, like most other sites, not checkboxes and 1 button at the bottom.  I was a bit confused when first saw it...but I'm just an idiot :)  But, so is everyone else...

Assisted Solution

TheKenman earned 70 total points
ID: 10965534
Alorentz is correct in that the site does not work well with large resolutions. Should be fairly simple to fix, if the site was designed correctly to start with.

As far as the search goes, you need to give us the code to shopsearch.asp.


You should have a line (hopefully near the top where it usually is) that looks like this:

     Conn = "Driver={SQL Server};;Database=multires;Uid=myname;Pwd=mypass"

You should modify that line to put dummy values where it says "", "myname" and "mypass".....unless you want a bad security breach.


Author Comment

ID: 10983435
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!
LVL 31

Assisted Solution

alorentz earned 80 total points
ID: 10985730
We could only assume that the fields were properly indexed, and based our answers around that.

Good luck...

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:   The Exchange of informatio…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: and…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question