Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 246169 - Last Review: January 25, 2007 - Revision: 3.1
ACC97: MDE Database Must Be Recompiled Under Current Service Release
This article was previously published under Q246169
Moderate: Requires basic macro, coding, and interoperability skills.
SYMPTOMS
When you are working with a Microsoft Access 97 MDE database, you may receive one or more of the following errors:
- ActiveX can't create object.
- Function name function name in expression not found.
- Function isn't available in expressions in query expression.
- Compile error.
CAUSE
The database may have been compiled into the MDE file type on a computer that does not have the same service release for Access 97 as the development computer.
The problem is generally caused by one of two things:
- The database includes a reference to the utility database, Utility.mda.
- The MDE database was compiled using libraries (DLL, OCX, etc.) that have been modified between service releases.
RESOLUTION
Resolution for Cause 1
On the development computer, ensure that you have installed the latest service release, and then in the original MDB database:
- Open a module in Design view, click References on the Tools Menu, and then click to clear the reference to Utility.mda.
- On the Debug menu, point to Compile and Save All Modules.
- Close the module.
- On the Tools menu, point to Database Utilities, and then click Make MDE file.
- Redistribute the MDE database, ensuring that all target computers have the same service release installed.
Resolution for Cause 2
On the development computer, ensure that you have installed the newest version of all libraries that are referenced and used in your environment, and then:
- In the original MDB database, open any module in Design view.
- On the Debug menu, point to Compile and Save All Modules.
- Close the module.
- On the Tools menu, point to Database Utilities, and then click Make MDE file.
- Redistribute the MDE database, ensuring that all target computers receive updates to all referenced libraries.
APPLIES TO
- Microsoft Access 97 Standard Edition
Retired KB Content DisclaimerThis article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate
Be the first to leave feedback, to help others about this knowledge base
article.
(Optional) Name
(Optional)
Public URL Or Email
Comments
No
HTML -- Text Only Please