473,326 Members | 2,655 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,326 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 2529
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: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.