Solved

Jet error, Run-time error 3447

Posted on 2000-05-11
11
254 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
 
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
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 utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

862 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now