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

Error accessing MS Access table linked to MySQL

Hello

In order to perform a hetrogeneous join (I think that's what they're called)
between MySQL and another database, I've created an Access database
containing linked tables from each datasource.

I create the linked tables without any problems, clicking on "save password"
before selecting the desired tables. I can then access both tables fine from
within the Access GUI.

The problem starts when I then try to access this data from my ASP.NET web
application - classic ASP works fine but .NET gives me...

ERROR [HY000] [Microsoft][ODBC Microsoft Access Driver] ODBC--connection to
'MyDSN' failed.

From then on, the Access database remains locked (.LDB file in the same
directory) and I get a similar error when I run my ASP page, which
previously worked.

Any suggestions would be gratefully received.
--
Regards
James Bird

Web Manager
The Dolls House Emporium
Tudor Models Ltd
ja********@dollshouse.com www.dollshouse.com
Tel: 01773 514405 Fax: 01773 513772
This email and any files transmitted with it are confidential and intended
solely for the individual or entity to whom they are addressed. No liability
is accepted for the accuracy or completeness of any information contained in
this email.

If you are not the intended recipient please notify the sender that you have
received it in error, and do not use, distribute, print or copy it.

Jul 19 '05 #1
3 2532
I may not help, but what the heck...

1) when you say "access this data" do you mean accessed the linked table
through odbc?
if so, do you access the mysql linked table(only) or can you access the
"other" database(only) with success?
Can you create an excel spreadsheet, link it with odbc with access, and then
try to access that from .net?
is the mysql odbc connector an older version? I would also check mysql odbc
versions for any .net "unlikeabilities"

hth
bobb

"James Bird" <ja********@dollshouse.com> wrote in message
news:10*************@corp.supernews.com...
Hello

In order to perform a hetrogeneous join (I think that's what they're called) between MySQL and another database, I've created an Access database
containing linked tables from each datasource.

I create the linked tables without any problems, clicking on "save password" before selecting the desired tables. I can then access both tables fine from within the Access GUI.

The problem starts when I then try to access this data from my ASP.NET web
application - classic ASP works fine but .NET gives me...

ERROR [HY000] [Microsoft][ODBC Microsoft Access Driver] ODBC--connection to 'MyDSN' failed.

From then on, the Access database remains locked (.LDB file in the same
directory) and I get a similar error when I run my ASP page, which
previously worked.

Any suggestions would be gratefully received.
--
Regards
James Bird

Web Manager
The Dolls House Emporium
Tudor Models Ltd
ja********@dollshouse.com www.dollshouse.com
Tel: 01773 514405 Fax: 01773 513772
This email and any files transmitted with it are confidential and intended
solely for the individual or entity to whom they are addressed. No liability is accepted for the accuracy or completeness of any information contained in this email.

If you are not the intended recipient please notify the sender that you have received it in error, and do not use, distribute, print or copy it.

Jul 19 '05 #2
I may not help, but what the heck...

1) when you say "access this data" do you mean accessed the linked table
through odbc?
if so, do you access the mysql linked table(only) or can you access the
"other" database(only) with success?
Can you create an excel spreadsheet, link it with odbc with access, and then
try to access that from .net?
is the mysql odbc connector an older version? I would also check mysql odbc
versions for any .net "unlikeabilities"

hth
bobb

"James Bird" <ja********@dollshouse.com> wrote in message
news:10*************@corp.supernews.com...
Hello

In order to perform a hetrogeneous join (I think that's what they're called) between MySQL and another database, I've created an Access database
containing linked tables from each datasource.

I create the linked tables without any problems, clicking on "save password" before selecting the desired tables. I can then access both tables fine from within the Access GUI.

The problem starts when I then try to access this data from my ASP.NET web
application - classic ASP works fine but .NET gives me...

ERROR [HY000] [Microsoft][ODBC Microsoft Access Driver] ODBC--connection to 'MyDSN' failed.

From then on, the Access database remains locked (.LDB file in the same
directory) and I get a similar error when I run my ASP page, which
previously worked.

Any suggestions would be gratefully received.
--
Regards
James Bird

Web Manager
The Dolls House Emporium
Tudor Models Ltd
ja********@dollshouse.com www.dollshouse.com
Tel: 01773 514405 Fax: 01773 513772
This email and any files transmitted with it are confidential and intended
solely for the individual or entity to whom they are addressed. No liability is accepted for the accuracy or completeness of any information contained in this email.

If you are not the intended recipient please notify the sender that you have received it in error, and do not use, distribute, print or copy it.

Jul 19 '05 #3
I may not help, but what the heck...

1) when you say "access this data" do you mean accessed the linked table
through odbc?
if so, do you access the mysql linked table(only) or can you access the
"other" database(only) with success?
Can you create an excel spreadsheet, link it with odbc with access, and then
try to access that from .net?
is the mysql odbc connector an older version? I would also check mysql odbc
versions for any .net "unlikeabilities"

hth
bobb

"James Bird" <ja********@dollshouse.com> wrote in message
news:10*************@corp.supernews.com...
Hello

In order to perform a hetrogeneous join (I think that's what they're called) between MySQL and another database, I've created an Access database
containing linked tables from each datasource.

I create the linked tables without any problems, clicking on "save password" before selecting the desired tables. I can then access both tables fine from within the Access GUI.

The problem starts when I then try to access this data from my ASP.NET web
application - classic ASP works fine but .NET gives me...

ERROR [HY000] [Microsoft][ODBC Microsoft Access Driver] ODBC--connection to 'MyDSN' failed.

From then on, the Access database remains locked (.LDB file in the same
directory) and I get a similar error when I run my ASP page, which
previously worked.

Any suggestions would be gratefully received.
--
Regards
James Bird

Web Manager
The Dolls House Emporium
Tudor Models Ltd
ja********@dollshouse.com www.dollshouse.com
Tel: 01773 514405 Fax: 01773 513772
This email and any files transmitted with it are confidential and intended
solely for the individual or entity to whom they are addressed. No liability is accepted for the accuracy or completeness of any information contained in this email.

If you are not the intended recipient please notify the sender that you have received it in error, and do not use, distribute, print or copy it.

Jul 19 '05 #4

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

Similar topics

0
by: Morten Gulbrandsen | last post by:
C:\mysql\bin>mysql -u elmasri -pnavathe company Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 29 to server version: 4.1.0-alpha-max-debug Type...
0
by: James Bird | last post by:
Hello In order to perform a hetrogeneous join (I think that's what they're called) between MySQL and another database, I've created an Access database containing linked tables from each...
3
by: zaphod | last post by:
I want to use MS Accesss as a front end for an existing MySQL database. Since Acceess doesn't have the same data types, eg. ENUM, am I tied to the smaller subset of types supported by Access? I'm...
5
by: Philippa | last post by:
I'm trying to access data in vba using the openrecordset command. The data in on a SQL Server 2000 database, and I have linked tables to that data. the Table I'm trying to access is one of these...
10
by: Mike | last post by:
I recently had a Microsoft Access 97 database corrupt on me. The setup is a split database (front end/back end) setup with about 10-15 users. This is the first corruption in something like a...
0
by: Smriti Dev | last post by:
Hi, I have a ms access table table which is linked to a mysql database table. I have used a ms access form to edit records. However, when I attempt to edit a record I get a write conflict error...
1
by: dimitri | last post by:
i try to copy data from excel into my MySql database which runs on a linux. i use MS Access to access the database. i need to optain the unique id number, and this is where i have some troubles....
6
by: onnodb | last post by:
Hi all, While working on an Access UI to a MySQL database (which should be a reasonable, low-cost, flexible interface to the DB, better than web-based, much less costly than a full-fledged .NET...
11
by: Chad | last post by:
Hi Is it possible to substitute an alternative data source (eg MySQL or SQL Server) into an existing MS-Access application?
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: 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
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
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
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.