473,608 Members | 2,287 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1698
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....ho w 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
2260
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 through an Oracle client version 9.2.0.1.0. I'm assuming that these should be compatible... The application has, until now, been running on the MS ODBC drivers for Oracle, but we'd like to get away from using LONGs, and use the
0
1870
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 --prefix=/usr/local/test --with-openssl --with-mysqld-user=root --enable-thread-safe-client --with-pthread --enable-shared
2
1473
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 end. The sp is executed as a pass-through. The sp is fairly simple: UPDATE CUSTOMER SET LastMergeName = . FROM (CUSTOMER C INNER JOIN MergeItems I ON C. = I.)
9
2196
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 10.00.04.00 to connect to the database. The problem is that executing the exact same SQL select statement more than twice int a row stops produces results. The first two instances will always produce the correct results but after that it will simply...
3
10767
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 Microsoft.Data.Odbc.OdbcConnection("dsn=POLite;Trusted_Connection=yes;User Id=SYSTEM;Password=MANAGER")
3
2393
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 question (SQLSetPos) should not return the error! I have a result set that has been opened for update. I am trying to delete the current row with a call to SQLSetPos: rc = SQLSetPos( hStmt, nRow, SQL_DELETE, SQL_LOCK_NO_CHANGE );
2
7278
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 switch, we've been getting a function sequence error with this SQLSTATE: State:S1010,Native:0,Origin: Here is a sample query we're running that generates the error UPDATE TOM.USERS SET TYPE=TYPE WHERE 1 = 0
2
1385
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 things. You can see the code below. The line in question is: WTacctTotal = objRs("WTacctTotal")
8
5291
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. (Sorry, long email) The first two examples are behaving normal, the thirth is strange....... I wrote the following flabbergasting code: #-------------------------------------------------------------
0
8063
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8002
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8148
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8338
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5475
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3962
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2474
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1594
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1329
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.