PRB: Application Generates Run-Time Error 3633 When Run on New Machine
ID: Q174488
|
The information in this article applies to:
-
Microsoft Visual Basic Professional and Enterprise Editions for Windows, version 5.0
SYMPTOMS
When building setup disks for a Jet-based database application with the
Setup Wizard, the Setup Wizard doesn't include the Microsoft Jet database
engine files. When you install the application and try to run it, you get
the following error:
Run-time error '3633':
Can't load DLL 'MSJET35.DLL'
CAUSE
The Setup Wizard doesn't know to add the Microsoft Jet database engine if
you are using the Microsoft DAO 2.5/3.5 Compatibility Library instead of
the Microsoft DAO 3.5 Object Library.
RESOLUTION
Use one of the two following methods to resolve this problem:
Method 1
- Open the project and on the Project menu, click References.
- Clear the Microsoft DAO 2.5/3.5 Compatibility Library and select the
Microsoft DAO 3.5 Object Library.
- Click OK.
- Save the project.
- Return to References, switch the object libraries back again (that is,
do the reverse of what was instructed in step 2 above), and resave the
project.
- In the Setup Wizard - ActiveX Server Components pane of the Setup
Wizard, click Add Local, and add MSJET35.DLL from your Windows\System
directory (Windows 95) or Windows\System32 directory (Windows NT). This
process adds the Microsoft Jet 3.5 database engine and its supporting
files.
NOTE: Adding MSJET35.DLL does not resolve the problem if the project has
never had a reference to the Microsoft DAO 3.5 Object Library.
Method 2
Use the Microsoft DAO 3.5 Object Library instead.
STATUS
Microsoft has confirmed this to be a problem in the Microsoft products
listed at the beginning of this article. This problem has been corrected in
the latest U.S. Service Pack for Microsoft Exchange Server version 5.5. For
information on obtaining the Service Pack, query on the following word in
the Microsoft Knowledge Base (without the spaces):
S E R V P A C K
MORE INFORMATION
Steps to Reproduce Behavior
- Create a new application and add a reference to the Microsoft DAO
2.5/3.5 Compatibility Library.
- Create setup disks using the Setup Wizard.
- Install the application on a new machine (that does not already have Jet
installed).
- Run the application and note the error message.
- Repeat the above steps, but add a reference to the Microsoft DAO 3.5
Object Library. The application should run correctly.
Examine the SETUP.LST file of the second application and note that it
includes the following required files that the first application does not
include:
MSJET35.DLL
VBAJet32.dll
VB5DB.dll
Additional query words:
distribution
Keywords : kbVBp500 VBKBDAO VBKBJet VBKBWiz
Version : WINDOWS:5.0
Platform : WINDOWS
Issue type : kbbug
Last Reviewed: May 20, 1999