Solved

Jet error, Run-time error 3447

Posted on 2000-05-11
11
259 Views
Last Modified: 2010-05-02
I can run this thing fine on my system, a co worker get invalid login and password despite being no such thing in it and another gets the error in the subject line and saying this:

The Jet VBA file failed to initialize when called.  

What is going on?
0
Comment
Question by:treyjeff
11 Comments
 
LVL 28

Expert Comment

by:AzraSound
ID: 2801276
PRB: Error "The Jet VBA File...Failed to Initialize When Called"

http://support.microsoft.com/support/kb/articles/q192/9/34.asp

0
 

Expert Comment

by:mdmurphy
ID: 2801286
Hi,
I found this snipit of info on my MSDN CD--hope it helps!

Applications like Visual Basic 6.0 and Visual C++ 6.0 install new versions of the DAO and Jet files on your development computer. Any version of VBAJet32.dll 6.0.1.8132 or later is now dependent on the file Expsrv.dll. The error occurs with your original setup program because it does not include Expsrv.dll in the dependency information.

RESOLUTION
To resolve the error, do one of the following:

Manually add Expsrv.dll to your file list for your existing setup program.

Re-create a new setup program from scratch that includes this new dependency.

0
 
LVL 28

Expert Comment

by:AzraSound
ID: 2801302
thats exactly what the link says that i pointed to
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 1

Author Comment

by:treyjeff
ID: 2801515
I tried that and get an error on install when it gets to that file.  The destination system doesnt have any development tools.  I'm using VB5 Pro but I do have Visual Interdev 6 on my system.  Now when I try to run it on his system it says the db is in use by someone else when it isn't.
0
 
LVL 1

Author Comment

by:treyjeff
ID: 2801621
I have no idea whats going on!  I have tried a few things and just nothing!!
0
 
LVL 9

Accepted Solution

by:
Ruchi earned 30 total points
ID: 2801698
0
 
LVL 1

Author Comment

by:treyjeff
ID: 2801866
Ok, the absolutely diverse site gave a solution which at least made the error go away :)

Unfortunately there is now run time error 3051!!

It says" It is already opened exclusively by another user, or you need permission to view it's data.

What does this one mean?  I can still view it fine!
0
 
LVL 28

Expert Comment

by:AzraSound
ID: 2801872
how are you connecting to and opening the database?  can you post some code?
0
 
LVL 1

Author Comment

by:treyjeff
ID: 2805020
Here is what goes when we press button called Build Database - I can run it no problem but this other person can't!!!!:    

Dim DB As Database
   
    'The database is built using extracts from Control:Manufacturing
   
    'Delete the current database.
    Set DB = OpenDatabase("s:\pathapps\cmcost\cmcost.mdb")
'    Set DB = OpenDatabase("z:\testsrce\cmcost\cmcost.mdb")
    DB.Execute ("delete * from Detail")
    DB.Execute ("delete * from Master")
       
    Call ReadMaster(DB)
    Call ReadLabour(DB)
    Call ReadMaterial(DB)
    Call ReadStandard(DB)
0
 
LVL 28

Expert Comment

by:AzraSound
ID: 2805081
try this:


Set DB = OpenDatabase("s:\pathapps\cmcost\cmcost.mdb",True)

this will open it in exclusive mode..the default is shared mode...i think thats why you may be getting that error

also ensure when you close the program to close out all the database objects you create and set them to nothing, e.g.

DB.Close
Set DB = Nothing



0
 
LVL 1

Author Comment

by:treyjeff
ID: 2810966
The absolutelydiverse site gave me the answer.  Still having problems but different ones now.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
VB error "Type mismatch" 2 61
Macro which automatically sends attachment to Outlook 14 78
Adding to a VBA? 6 78
Prevent checkbox click event occur while editing it in vb6 8 57
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question