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

MDE doesn't work on target machine -- Access 2000

I have Access 2000 installed on a machine and I create the MDE just fine.
When I copy the MDE file over to another machine that has Access 2000
installed, the references are hosed and I get unable to find function error.
There are no third party controls in the application.

This target machine is on a network requiring domain login, but the user is
set up as a Local Administrator.
Any ideas or code that I can use to work arount this problem? The only work
around I have found is to copy the source code to the target machine and
make the MDE there.
Thanks!

Nov 13 '05 #1
4 2359
Here's a good reference (no pun intended):
http://members.rogers.com/douglas.j....nceErrors.html

--
Shane Suebsahakarn
----
Head of IT
PAN Telecom
Tel: +44 (0) 870 757 7001

"Barry Young" <yo******@insightbb.com> wrote in message
news:p5dXc.62873$Fg5.49786@attbi_s53...
I have Access 2000 installed on a machine and I create the MDE just fine.
When I copy the MDE file over to another machine that has Access 2000
installed, the references are hosed and I get unable to find function error. There are no third party controls in the application.

This target machine is on a network requiring domain login, but the user is set up as a Local Administrator.
Any ideas or code that I can use to work arount this problem? The only work around I have found is to copy the source code to the target machine and
make the MDE there.
Thanks!


Nov 13 '05 #2
Hi Shane,

The strange thing about this particular situation is once I copy and create
the MDE on the target machine, everything works without changing or setting
any references. The target machine is part of a domain.

I make the MDE on the target machine without changing any references, and
again it works fine. I just can't copy the .MDE file from my laptop to the
target machine and have it run with out the function error.

Any ideas?

Thanks!

Barry
"Shane Suebsahakarn" <sh***@REMOVETHISgcicom.net> wrote in message
news:cg**********@hercules.btinternet.com...
Here's a good reference (no pun intended):
http://members.rogers.com/douglas.j....nceErrors.html

--
Shane Suebsahakarn
----
Head of IT
PAN Telecom
Tel: +44 (0) 870 757 7001

"Barry Young" <yo******@insightbb.com> wrote in message
news:p5dXc.62873$Fg5.49786@attbi_s53...
I have Access 2000 installed on a machine and I create the MDE just fine. When I copy the MDE file over to another machine that has Access 2000
installed, the references are hosed and I get unable to find function

error.
There are no third party controls in the application.

This target machine is on a network requiring domain login, but the user

is
set up as a Local Administrator.
Any ideas or code that I can use to work arount this problem? The only

work
around I have found is to copy the source code to the target machine and
make the MDE there.
Thanks!



Nov 13 '05 #3
Hi, Barry.
The strange thing about this particular situation is once I copy and create the MDE on the target machine, everything works
Strange? No. The "failing" MDE file was created on a computer configured
differently than the target computer, so Access is trying to resolve the
References for the application, but it fails in at least one instance. The
"failing" MDE file was successful only when using its native configuration.
Your "successful" MDE is successful in its native configuration, too. When
you move this "successful" MDE from the target computer to the development
computer, you'll likely find that it fails on that foreign configuration,
too.

Check the References in the MDB on the development computer. Is your
application using any libraries other than the default libraries? Access
can often resolve the default libraries if these libraries are located in a
directory on the target computer different than the directory on the
development computer. However, non-default libraries located in directories
on one computer that aren't located in the exact same location on another
computer will often cause the missing References issue, even if the file is
located *somewhere* on that target computer and the file version is the
same. With an MDB or MDA file, one just recompiles the source code to allow
Access to change the paths for the required libraries. With an MDE, no
changes to References can be made.

The default libraries for Access 2K are:

Visual Basic for Applications
Microsoft Access 9.0 Object Library
OLE Automation
Microsoft ActiveX Data Objects 2.1 Library

The References dialog window will show the exact locations of these
libraries and any other libraries your application uses on the development
computer. If you take the same steps on the target computer, you'll find
that some or all of the file locations don't match.

So, you can take Shane's good advice to follow the recommendations of other
Access experts who have been down this same road before, or continue to use
your work-around of compiling the database on the target computer, or change
the configuration (uninstall, then reinstall Microsoft Office) of either the
development computer or the target computer so that the configurations match
(i.e., all file paths are the same) to avoid the missing References issue.

You'll have to decide which method offers your I.T. environment the most
productive, cheapest, or least time-consuming means to solve this common
problem.

HTH.

Gunny

See http://www.QBuilt.com for all your database needs.
See http://www.Access.QBuilt.com for Microsoft Access tips.

(Any human can read my reply E-mail address and should alter it so that a
message will be forwarded to me. Spammers are free to use my UNALTERED
reply E-mail address. I will *never* get those messages!)
"Barry Young" <yo******@insightbb.com> wrote in message
news:viwXc.240205$eM2.35580@attbi_s51... Hi Shane,

The strange thing about this particular situation is once I copy and create the MDE on the target machine, everything works without changing or setting any references. The target machine is part of a domain.

I make the MDE on the target machine without changing any references, and
again it works fine. I just can't copy the .MDE file from my laptop to the target machine and have it run with out the function error.

Any ideas?

Thanks!

Barry
"Shane Suebsahakarn" <sh***@REMOVETHISgcicom.net> wrote in message
news:cg**********@hercules.btinternet.com...
Here's a good reference (no pun intended):
http://members.rogers.com/douglas.j....nceErrors.html

--
Shane Suebsahakarn
----
Head of IT
PAN Telecom
Tel: +44 (0) 870 757 7001

"Barry Young" <yo******@insightbb.com> wrote in message
news:p5dXc.62873$Fg5.49786@attbi_s53...
I have Access 2000 installed on a machine and I create the MDE just fine. When I copy the MDE file over to another machine that has Access 2000
installed, the references are hosed and I get unable to find function

error.
There are no third party controls in the application.

This target machine is on a network requiring domain login, but the user
is
set up as a Local Administrator.
Any ideas or code that I can use to work arount this problem? The
only work
around I have found is to copy the source code to the target machine

and make the MDE there.
Thanks!




Nov 13 '05 #4
I found the culprit. There were three references in that didn't need to
be checked (utility OLE Automation etc).

Removed the references but I still need to test it on the target
machine.

If I have a problem, I'll post more to this thread.

Thanks again for your help.

Barry


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 13 '05 #5

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

Similar topics

16
by: Luca | last post by:
About one month ago I have inserted in my web site a clickcounter who controls the access to almost every link, but this script who changed the path in every link so the search engines couldn't...
2
by: kelvin | last post by:
Hi, I've this piece of code which does not work at all. Can anyone point out my mistake? I've 2 buttons. History button will call verifyFields() function and lead to different page for...
8
by: mheden | last post by:
Hello all, I'm using an Access 97 front-end with a SQL Server 2000 back-end. One particular bit of code runs a stored procedure to obtain a rowcount from one of the back-end tables. This works...
149
by: Christopher Benson-Manica | last post by:
(Followups set to comp.std.c. Apologies if the crosspost is unwelcome.) strchr() is to strrchr() as strstr() is to strrstr(), but strrstr() isn't part of the standard. Why not? --...
3
by: Roland Riess | last post by:
Hi all, as an absolute beginner with all web matters I'm sure there are still many things that I do net understand yet - so please point me to the right direction whereever you feel that I'm...
4
by: Neil | last post by:
I just noticed that control tips aren't working in any of my databases. I recently installed Access 2003, and created a database in it, and noticed that control tips weren't working in my controls....
33
by: larpup | last post by:
I checked all my references prior to compiling. The mdb or mde works perfectly with full version of A2003. When running on a computer with RunTime i receive an error that a reference is broken...
10
by: ENTBedford | last post by:
Ive been using my Access 2000 database for years to run a surgical waiting list. It's on a shared drive and is accessed by several machines running a mixture of Access 2000 and 2003 under XP. One...
1
by: teddysnips | last post by:
I have a new client who has an Access 2000 database that used to run under Windows 2000 Pro. They have just "upgraded" to Access 2007 under Vista, and the old database stopped working - buttons on...
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:
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
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.