473,395 Members | 1,891 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,395 software developers and data experts.

Client Access ODBC driver problem

I'm having an issue with a php program I am writing. If the user
enteres their password incorrectly a popup box appears asking them if
they would like to reenter their password (it's part of the driver not
my application). The issue comes into play when you run apache as a
service or not locally and the popup simply doesn't appear any longer.
This wouldn't be an issue but all future requests to login are ignored
until because the driver is stuck waiting for the inital responce of
yes/no to attempt a different password. Has anyone found a way around
this issue?

Eric

Nov 12 '05 #1
3 5025
Wescotte wrote:
I'm having an issue with a php program I am writing. If the user
enteres their password incorrectly a popup box appears asking them if
they would like to reenter their password (it's part of the driver not
my application).
What "driver"? What operating system? What version?

I've never heard of that behaviour before.

What extension are you using to connect from PHP to DB2? Using Unified
ODBC, compiled with --with-ibm-db2, with cataloged database connections
on Linux I have not seen this problem. Nor have I seen the problem using
Unified ODBC on Windows when the targeted DB2 database has been added as
a System DSN to the Data Sources.
The issue comes into play when you run apache as a
service or not locally and the popup simply doesn't appear any longer.
This wouldn't be an issue but all future requests to login are ignored
until because the driver is stuck waiting for the inital responce of
yes/no to attempt a different password. Has anyone found a way around
this issue?
Eric

Nov 12 '05 #2
I can only help you with the ODBC API, not PHP. I do not know how PHP maps
ODBC parameters.

From your symptoms, I asume you're calling SQLDriverConnect. Set the
DriverCompletion argument to SQL_DRIVER_NOPROMPT and the call will fail
instead of prompting.

"Wescotte" <we******@earthlink.net> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
I'm having an issue with a php program I am writing. If the user
enteres their password incorrectly a popup box appears asking them if
they would like to reenter their password (it's part of the driver not
my application). The issue comes into play when you run apache as a
service or not locally and the popup simply doesn't appear any longer.
This wouldn't be an issue but all future requests to login are ignored
until because the driver is stuck waiting for the inital responce of
yes/no to attempt a different password. Has anyone found a way around
this issue?

Eric

Nov 12 '05 #3
That's exactly what I needed. Thank you very much

Eric

Mark Yudkin wrote:
I can only help you with the ODBC API, not PHP. I do not know how PHP maps ODBC parameters.

From your symptoms, I asume you're calling SQLDriverConnect. Set the
DriverCompletion argument to SQL_DRIVER_NOPROMPT and the call will fail instead of prompting.

"Wescotte" <we******@earthlink.net> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
I'm having an issue with a php program I am writing. If the user
enteres their password incorrectly a popup box appears asking them if they would like to reenter their password (it's part of the driver not my application). The issue comes into play when you run apache as a
service or not locally and the popup simply doesn't appear any longer. This wouldn't be an issue but all future requests to login are ignored until because the driver is stuck waiting for the inital responce of yes/no to attempt a different password. Has anyone found a way around this issue?

Eric


Nov 12 '05 #4

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

Similar topics

3
by: Roy Souther | last post by:
Trying to get the unixODBC to work connecting to an IBM DB2 UDB V8.1. The DB2 server is running on Red Hat 8 and is tested and confirmed to be serving connections to Windows 98 clients using the...
3
by: Wescotte | last post by:
I'm working with IBM's Client Access ODBC Driver version 8.00.08.00 5/8/2001 installed with Client Access Express V5R1M0. The issue is if I execute the exact same select statement more than...
1
by: JoeBobHankey | last post by:
Background: - I'm running MSDE 2000 (not client tools, stored procedure capability, etc). This may change, but not in the first part of development. - My Access file is an Access 2002 project...
5
by: Mike McIntyre [MVP] | last post by:
I am working on an issue where and ASP.NET web application on one computer (A) needs to access files on a network mapped drive (B). This application uses as DSN on (A) that maps a proprietory...
2
by: Chuck Ritzke | last post by:
Hi all, I am getting an intermittant error after uploading a project from my development machine. I click on a link which opens an aspx page that, upon page load, reads a very small amount of...
0
by: bazzer | last post by:
hey, im trying to access a microsoft access database from an ASP.NET web application in visual basic 2003.NET. i get the following error when i try running it: Server Error in...
8
by: Greg Strong | last post by:
Hello All, The short questions are 1 Do you know how to make DSN connection close in Access to Oracle 10g Express Edition? &/or 2 Do you know how to make a DSN-less pass-through query...
6
by: SEFL | last post by:
Hi there, I'm trying to write a VBS that accesses a local database on my system (personal project). I'm running Windows XP 64-bit with Access XP. Every time I try to access the database on...
21
by: lesperancer | last post by:
I've got an access97 reporting mdb that pulls data (77,000 rows) from a sql server table into a local table to run reports if the local table is part of the reporting MDB, the insert statement...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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.