473,385 Members | 1,752 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

asp + mysql and simultaneous requests result in IIS 500 error


Hope this is not OT: I am running into some strange things whenever my
ASP pages send out simultaneous requests to another ASP page which in
turn gains access to a MySQL database using a DSNless connection
string.

Whenever I run a page that just puts out a single request things seem
to go fine, but if I activate some Flash components that reside on my
ASP pages that put out requests to ASP pages which in turn try to
retrieve data from the MySQL database, I get a 500 error code. These
Flash files try to update their data every other 5 seconds and they do
so simultaneously - however there are never more than 4 simultaneous
request at one particular time.

I am running XP (sp2) with IIS 5.1. I am aware of the fact that ASP
and MySQL is not the best combo out there, but I have no other options.
Does anyone know why IIS returns 500 error codes on simultaneous
requests? Would that be a MySQL issue? Why does this bog down and
cause "Page cannot be display
ed" on other asp pages that don't send simultaneous requests? It seems
to me IIS can only process one ASP to MySQL request at a time - is this
caused by the DSNless connection?

Note, only one of the 4 simultaneous requests seems to come back OK
(code 200).

Here is a snippet of the IIS log file:

14:39:08 127.0.0.1 GET /test/test.asp 500
14:39:08 127.0.0.1 GET /test/test.asp 500
14:39:08 127.0.0.1 GET /test/test.asp 500
14:39:08 127.0.0.1 GET /test/test.asp 200
14:39:12 127.0.0.1 GET /test/test.asp 500
14:39:12 127.0.0.1 GET /test/test.asp 500
14:39:12 127.0.0.1 GET /test/test.asp 500
14:39:12 127.0.0.1 GET /test/test.asp 200

Any help would be appreciated!!
Thanks

--
slugger
------------------------------------------------------------------------
Posted via http://www.webservertalk.com
------------------------------------------------------------------------
View this thread: http://www.webservertalk.com/message844758.html

Jul 22 '05 #1
1 2430
It's kinda hard to say without knowing ~what~ the error is. Perhaps it has
to do with XP's limitation of only 10 connections at a time.

Ray at home

"slugger" <sl************@mail.webservertalk.com> wrote in message
news:sl************@mail.webservertalk.com...

Hope this is not OT: I am running into some strange things whenever my
ASP pages send out simultaneous requests to another ASP page which in
turn gains access to a MySQL database using a DSNless connection
string.

Whenever I run a page that just puts out a single request things seem
to go fine, but if I activate some Flash components that reside on my
ASP pages that put out requests to ASP pages which in turn try to
retrieve data from the MySQL database, I get a 500 error code. These
Flash files try to update their data every other 5 seconds and they do
so simultaneously - however there are never more than 4 simultaneous
request at one particular time.

I am running XP (sp2) with IIS 5.1. I am aware of the fact that ASP
and MySQL is not the best combo out there, but I have no other options.
Does anyone know why IIS returns 500 error codes on simultaneous
requests? Would that be a MySQL issue? Why does this bog down and
cause "Page cannot be display
ed" on other asp pages that don't send simultaneous requests? It seems
to me IIS can only process one ASP to MySQL request at a time - is this
caused by the DSNless connection?

Note, only one of the 4 simultaneous requests seems to come back OK
(code 200).

Here is a snippet of the IIS log file:

14:39:08 127.0.0.1 GET /test/test.asp 500
14:39:08 127.0.0.1 GET /test/test.asp 500
14:39:08 127.0.0.1 GET /test/test.asp 500
14:39:08 127.0.0.1 GET /test/test.asp 200
14:39:12 127.0.0.1 GET /test/test.asp 500
14:39:12 127.0.0.1 GET /test/test.asp 500
14:39:12 127.0.0.1 GET /test/test.asp 500
14:39:12 127.0.0.1 GET /test/test.asp 200

Any help would be appreciated!!
Thanks

--
slugger
------------------------------------------------------------------------
Posted via http://www.webservertalk.com
------------------------------------------------------------------------
View this thread: http://www.webservertalk.com/message844758.html

Jul 22 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

19
by: Westcoast Sheri | last post by:
To keep track of how many fruits my visitors buy, I use a mySQL database (2 columns: "fruit" and "quantity")....so can we make these following mySQL queries work somehow? (visitor buys 5...
1
by: Dmitry Davletbaev | last post by:
Hi! I'm working on program that acts as MySQL client. After successful connection program send queries for a long time. When I stop server mysql_query return error (no surprise). But when I...
11
by: Durai | last post by:
Hi All, I tested "concurrent testing" in MySQL. It works fine. But I couldn't do in PostgreSQL 7.3.4 on HPUX IPF. I got deadlock problem. I used the PHP script to update table( one script...
1
by: googlegroups | last post by:
Hello everyone, I need a new web server for our existing website and I don't want subscribe to the whole IIS way of doing things. I thought I would implement a custom web server using the new...
1
by: automation | last post by:
There is a truncation error of my Web Application using PHP 5.04, MySQL 5.022, and HTML(IE 6.0) whereby the MySQL Result Set is being truncated on the HTML page, even though the CSS Div Page Height...
2
by: dmagliola | last post by:
Hello all, I'm experiencing a problem with ASP.Net for which I can't find a reasonable explanation, or any information. I'm currently developing an application that, through AJAX, asks the...
221
Atli
by: Atli | last post by:
You may be wondering why you would want to put your files “into” the database, rather than just onto the file-system. Well, most of the time, you wouldn’t. In situations where your PHP application...
21
by: mark | last post by:
Hello, I want to create a php scraper that will get some information from e.g. 5 sites simultaneously. I tried the following script:...
2
by: jeddiki | last post by:
Hi I have two tables and I am trying to step through them using mysql arrays. I think that maybe I have not understood the foreach loop properly. I have two of them, it looks logical to me...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.