473,395 Members | 1,537 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.

Strange ODBC Behaviour ???

Hi,

I created an MS Access 2000 front end a long time ago. We use it every
day and everything works great. This MS Access DB is held in a folder
on our Cobalt Qube server. On this server we also have MySQL
installed.

I have allready hapilly exported some of the MS Access tables into
MySQL and import-linked back. Again everything works great.

We are working on a small office network using Windows XP.
On my PC I have an odbc connection set up which I used to
import/export tables ,which when tested connects to the MySQL DB and
then lets me into our MS Access front-end on my pc. (this is done by
clicking a shortcut icon on my desktop linked to the MS Access DB on
the server.
On my colleagues PC however, if I open his ODBC admin panel, I have
created the same named ODBC connection as on my PC and when tested
again connects to the MySQL server.

The Problem:

If I try to run the MS Access front end on his machine again via a
shortcut or even going into the folder on the server it denies me
access using odbc ?

How can this be ?
Outside of Access his ODBC conection works perfectly, but when trying
to run Access it says Access denied using the same odbc, using pasword
'yes' ???
Please help, as otherwise this front-end can only be used on my pc ?
Thanks in advance
David
Nov 12 '05 #1
2 1690
You *REALLY* need to have each user have a copy of the front end (preferable
a mde file). All other software you have from Word, Excel, Outlook etc is
ALWAYS installed on each pc, and you should do the same with software you
develop. The fact that you are all of sudden developing software does not
change the fact that you install the software on each pc.

The above may not solve your problem, but it is a good start. I would
test/try moving the font end to that users pc, and then re-creating the link
to MySql. There may be some issues of passwords, or permissions being saved
with the linked tables.

Regardless if the above fixes your problem, you need to give each user a
their own copy of the application that runs on EACH pc. Virtually all other
software you have is run this way, and there is not reason to run ms-access
this way. It is standard practice, and there is not developer that will tell
you otherwise.

--
Albert D. Kallal (MVP)
Edmonton, Alberta Canada
No************@msn.com
http://www.attcanada.net/~kallal.msn
Nov 12 '05 #2

Albert,

Thanks for your response, however I think you missunderstood. We both
have MS Office installed which includes MS Access.

I created a DB with Access and stored it in a folder on our server for
security. I then created a shortcut to it from my desktop and the same
on my colleagues PC. We can both run Access on our PCs. I also created
an ODBC Connection on each PC so that when the DB is run on either PC it
would check the local ODBC connection on that PC to connect to the MySQL
DB.

My PC works fine. The ODBC on the other PC connects fine, but when the
Access DB is run on his PC from the shortcut it denies access using that
ODBC connection that I have already tested and got connected....how is
this possible ?
David.
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 12 '05 #3

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

Similar topics

0
by: Spiggy Topes | last post by:
Hi I have a Visual Basic application that uses ADO to access an Oracle database. I have the latest 9.x ODBC drivers installed, and SQL*Plus tells me I'm looking at Oracle 8i release 8.1.7.4.1...
0
by: Nedelcho Stanev | last post by:
Hello All, I have strange problem with libodbc++ ( 0.2.3 or 0.2.2 ). i'm using mysql-4.0.14 , MyODBC-3.51.06 and unixODBC-2.2.6 configured with following options 1.MySQL ../configure...
2
by: Neil | last post by:
I have a strange situation. I have a stored procedure that is hanging upon execution, but only some machines and not others. The db is an Access 2000 MDB using ODBC linked tables and a SQL 7 back...
9
by: Wescotte | last post by:
Here is a small sample program I wrote in PHP to help illustrates problem I'm having. The data base is using DB2 V5R3M0. The client is WinXP machine using the iSeries Client Access Driver ver...
3
by: Andrew McGregor | last post by:
Hi, I am trying to get a VB.NET application to connect to a local Oracle 9i Lite database. What is the correct form for a connect string? cn = New...
3
by: Richard Marsden | last post by:
Here's another strange error I'm getting when using ODBC to access MySQL. This time ODBC is being more informative, although all the documentation I've looked at, claims that the function in...
2
by: tommydkat | last post by:
Hi! I'm updating a Windows application that we develop that uses a DB2 database. We switched from using Microsoft Developer Studio 6 to Visual Studio .Net 2003 to build our app and since that...
2
by: cmt | last post by:
Greetings I have a web page with an ASP script in it that is not displaying all the data from the SQL Server DB correctly in a form. I have one line in the code, that is doing some strange...
8
by: Dox33 | last post by:
I ran into a very strange behaviour of raw_input(). I hope somebody can tell me how to fix this. (Or is this a problem in the python source?) I will explain the problem by using 3 examples....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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: 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:
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...

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.