Solved

Jet error, Run-time error 3447

Posted on 2000-05-11
11
256 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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

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.
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

770 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