473,397 Members | 2,077 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,397 software developers and data experts.

Interesting ODBC problem

I have just converted a guestbook to use an Access database rather than
MySQL (don't ask...) via odbc and have come across an unusual problem.

There is an admin screen which simply accesses all records and displays
them. All worked fine on my machine. But on my friend's machine the
code times out.

Now I was under the impression that all processing would be complete
/before/ any html was sent out. Surely the processing cannot be
dependent on the speed of the connection!

If I use up my bandwidth by downloading an mp3 or something I can
recreate the error.

Has anyone else come across anything like this?
--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/
Jul 17 '05 #1
6 1863
I noticed that Message-ID: <8p********************************@4ax.com>
from Geoff Berrow contained the following:

Now I was under the impression that all processing would be complete
/before/ any html was sent out. Surely the processing cannot be
dependent on the speed of the connection!


OK, not as interesting as I thought. Does /anyone/ have any idea what's
going on?
--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/
Jul 17 '05 #2

"Geoff Berrow" <bl******@ckdog.co.uk> wrote in message
news:8p********************************@4ax.com...
I have just converted a guestbook to use an Access database rather than
MySQL (don't ask...) via odbc and have come across an unusual problem.

<snip>

No, I'm gonna hafta ask...

Garp
Jul 17 '05 #3

"Geoff Berrow" <bl******@ckdog.co.uk> wrote in message
news:he********************************@4ax.com...
I noticed that Message-ID: <8p********************************@4ax.com>
from Geoff Berrow contained the following:

Now I was under the impression that all processing would be complete
/before/ any html was sent out. Surely the processing cannot be
dependent on the speed of the connection!


OK, not as interesting as I thought. Does /anyone/ have any idea what's
going on?
--


It's not uninteresting, there's just not enough to go on. I've not tried
Access through PHP (after years of hell doing it through C++), but I imagine
the problems are the same.

Timeouts are a pain to track down (no error=no help), but first, is it
working outside of PHP? Outside the web server?

Garp
Jul 17 '05 #4
I noticed that Message-ID:
<d5*********************@news-text.cableinet.net> from Garp contained
the following:
It's not uninteresting, there's just not enough to go on. I've not tried
Access through PHP (after years of hell doing it through C++), but I imagine
the problems are the same.

Timeouts are a pain to track down (no error=no help), but first, is it
working outside of PHP? Outside the web server?


Not sure what you mean. I've simply created an Access database and
uploaded it to the server. The ISP has a utility to create a DSN which
I then use PHP to connect to via ODBC.

It works fine on my dial up connection. But my friend has a very slow
connection and it times out. And it's only 50 text records. What I
can't understand it why it is dependent on the connection speed at all.

--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/
Jul 17 '05 #5
I noticed that Message-ID:
<82*********************@news-text.cableinet.net> from Garp contained
the following:
I have just converted a guestbook to use an Access database rather than
MySQL (don't ask...) via odbc and have come across an unusual problem.

<snip>

No, I'm gonna hafta ask...


OK. My friend has a reseller account with an ISP called Fasthosts.
They have a choice of servers on which he can host as many sites as he
likes for a flat fee. He can host on Linux at no extra cost, but
Windows servers cost an extra GBP 10. However, there is no extra cost
for Access databases. On the other hand, if he chooses Linux it costs
GBP 50 to add a MySQL database.

--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/
Jul 17 '05 #6

"Geoff Berrow" <bl******@ckdog.co.uk> wrote in message
news:tk********************************@4ax.com...
I noticed that Message-ID:
<82*********************@news-text.cableinet.net> from Garp contained
the following:
I have just converted a guestbook to use an Access database rather than
MySQL (don't ask...) via odbc and have come across an unusual problem.

<snip>

No, I'm gonna hafta ask...


OK. My friend has a reseller account with an ISP called Fasthosts.
They have a choice of servers on which he can host as many sites as he
likes for a flat fee. He can host on Linux at no extra cost, but
Windows servers cost an extra GBP 10. However, there is no extra cost
for Access databases. On the other hand, if he chooses Linux it costs
GBP 50 to add a MySQL database.


That's one screwed-up pricing model. Everyone knows Access is a resource
hog - on my machines it's frequently responsible for 100% CPU load. 8)

Garp
Jul 17 '05 #7

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

Similar topics

0
by: Sean Anderson | last post by:
ODBC under System DSN Setup Access Driver give it the DSN (Data Source Name) MSA Click on Select and point to the myfile.mdb (your database file)
3
by: Joe | last post by:
Python 2.4 Windows XP SP2 MS Access 2000 mx.ODBC 2.0.7 Problem data truncation occuring (here's the actual error message): mxODBC.Warning: ('01004', 5, ' String data, right truncated on...
11
by: Wolfgang Kaml | last post by:
Hello All, I have been working on this for almost a week now and I haven't anything up my sleeves anymore that I could test in addition or change.... Since I am not sure, if this is a Windows...
1
by: simianphile | last post by:
OK, I had a problem that I've now fixed but I can't really understand what was causing it in the first place. I have an intranet site that uses basic authentication to allow users to view and...
0
by: Kong Li | last post by:
Follow up to this thread, the latest Oracle 9i release 2 patchset (9.2.0.5) fixed the handle count leak problem. The problem is in Oracle client component. Thanks. Kong ----- From: Kong...
5
by: SerGioGio | last post by:
Hello, I am going nuts. I am trying to connect to my local ORACLE instance using ODBC. It used to work few weeks ago, but it fails now. Connection with: - SQL*plus: connection works! -...
6
by: Andreas Lauffer | last post by:
I changed from Access97 to AccessXP and I have immense performance problems. Details: - Access XP MDB with Jet 4.0 ( no ADP-Project ) - Linked Tables to SQL-Server 2000 over ODBC I used...
4
by: Dave | last post by:
Hey guys, I have an ODBC problem that has me stumped. I wrote a VBA script to run in Microsoft Excel that pulls data out of an application using that application's ODBC driver and puts it into...
8
by: acb | last post by:
Hello, I am a beginner in ASP.NET and C# having programmed in VB (not the .NET flavour) in the past. I am looking for assistance in converting a functional VB.NET aspx page to C#. I am trying...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.