msjtes40.dll error

Danny

Registered User.
Local time
Today, 17:41
Joined
Jul 31, 2002
Messages
152
Hi

I’m currently running office 365 a split access db. Few users to including myself recently received the following error:

Your database or project contains a missing or broken reference to the file ‘msjtes40.dll’ version 4.0. To ensure that your database or project works properly, you must fix this reference.

Searching online, I found the following possible solution and I was able to open the copy of my FE.
Steps to clear the missing reference:

  1. Open your database: in Microsoft Access.
  1. Press Alt+F11 to open the Visual Basic Editor (VBE).
  1. In the VBE, go to the Tools menu.
  1. Click on References.
  1. In the References dialog box, scroll down and find the entry that starts with MISSING: followed by the name of the reference, in this case, MISSING: Microsoft Jet and Replication Objects Library or something similar.
  1. Clear the check box: for this MISSING reference.
  1. Click OK.

  2. Select Debug > Compile from the VBE menu to check if the project now compiles without error.
However, I’m currently experiencing the following issues:

1. When I attempted to search for a record in the backend tbl, I get #Name?
2. When I tried opening previously created query and/or modify the criteria, I received
Record is deleted. (Error 3167)

Any ideas?

TIA

Regards,
 
Hi

I’m currently running office 365 a split access db. Few users to including myself recently received the following error:

Your database or project contains a missing or broken reference to the file ‘msjtes40.dll’ version 4.0. To ensure that your database or project works properly, you must fix this reference.

Searching online, I found the following possible solution and I was able to open the copy of my FE.
Steps to clear the missing reference:

  1. Open your database: in Microsoft Access.
  2. Press Alt+F11 to open the Visual Basic Editor (VBE).
  3. In the VBE, go to the Tools menu.
  4. Click on References.
  5. In the References dialog box, scroll down and find the entry that starts with MISSING: followed by the name of the reference, in this case, MISSING: Microsoft Jet and Replication Objects Library or something similar.
  6. Clear the check box: for this MISSING reference.
  7. Click OK.

  8. Select Debug > Compile from the VBE menu to check if the project now compiles without error.
However, I’m currently experiencing the following issues:

1. When I attempted to search for a record in the backend tbl, I get #Name?
2. When I tried opening previously created query and/or modify the criteria, I received
Record is deleted. (Error 3167)

Any ideas?

TIA

Regards,
Did the code in your project compile after deselecting this reference? I didn't see where you mention completing that step?

I, too, am curious about the reason for using the Microsoft Jeft and Replications Objects Library with that version. It appears to be a JET DLL, and therefore dating back to the pre-accdb/ACE versions.
So, in addition to indicating why it was selected in the first place, can you put the whole situation into context? Is the Front End an mdb or an accdb? How long ago was the database created? Why was this dll referenced in the original implementation?

I find, for example, on my computer running Windows 11, M365 Access, that the DLL called Microsoft Jet and Replication Objects 2.6 Library, which is the closest to the reference you mention, is called msfro.dll And there is no ‘msjtes40.dll’ version 4.0 on the computer.

It makes me wonder what about the history of this particular database application and the references it uses. Are we going down memory lane a bit here?
 
@Gasman provided a link to a thread dealing with problems in the named DLL file. Be aware that the particular file is old enough that it will become desupported at the end of the month (as described in the referenced thread). If you have not followed his link already, do so and read the entire link so you will see how much work has already been done on problems related to that library. Some of the posts in the linked thread give one or more workarounds. Plus there is a lot of discussion regarding the wisdom (?) of using 20-year-old libraries with O365.

Here is a link to the top of Gasman's reference.

 
Can you post a screenshot of your References window showing the missing reference name?
 
Thanks everybody for your feedbacks.
I’m not using it and I’m not sure how it appears in the list to begin with.

George, Did the code in your project compile after deselecting this reference?
Now you mentioned it, I might have missed the last step: Debug > Compile from the VBE menu to check if the project now compiles without error. I’ll do so when I get back to work in a couple of days and post the result.

It makes me wonder what about the history of this particular database application and the references it uses. Are we going down memory lane a bit here?
It is possible, how do I go about finding if the DB is about to exceed the max file size? The db is very old designed by someone else who no longer with us.

The attached screenshot is to show before and after of the reference file. Also the error I get when searching for record in the BE and creating queries in FE.

TIA
Regards,
 

Attachments

  • Screenshot .jpg
    Screenshot .jpg
    78.1 KB · Views: 16
It is possible, how do I go about finding if the DB is about to exceed the max file size?

Open Windows Explorer, select to show details, and look at the size of the file. A monolithic Access app cannot exceed 2 Gb (though Windows might show that as 2147 Mb). Since you said it was a split app, each component file cannot exceed 2 GB. In actual practice, you are skating on thin ice when you exceed 1.5 Gb though the exact point of no return DOES depend on the structure of the DB. If you are above 1.5 Gb, I would strongly suggest looking into archiving older data if possible.

To get the correct file size, make a Windows Explorer copy of the DB to a safe place, then open the DB privately and perform a Compact & Repair. If that works with no errors, you can use the compacted copy for production, and its size immediately after that C&R is the actual DB size. For big, old DB files, there is some minor risk of errors, which is why you make a backup copy first, using Windows rather than Access to make the backup copy. Using the Windows copy/paste option, you move the file as a whole and Access doesn't get involved in that step. As to WHERE you move the copy, that's up to you but I would put it in a separate folder.
 

Users who are viewing this thread

Back
Top Bottom