473,394 Members | 1,869 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Query is corrupt error message 11-14-2019

79 64KB
All of sudden, many vba functions in my Access application using query are not working with error message "Query is Corrupt".

Google results has one page from Microsoft dated 11/14/2019 referring the issue to a patch updates for MSI of several builds.

Does anyone know when MS will fix this issue? Will it be automatically repaired when fix is done by MS or is there some steps we need to do to fix the problem?
Nov 15 '19 #1
13 2645
DJRhino1175
221 128KB
I was getting a lot of corruption issues awhile back and the only thing I could find that fixed my issues was a registry fix. I had to put it on every PC that uses access. I haven't had corruption since.

Expand|Select|Wrap|Line Numbers
  1. Windows Registry Editor Version 5.00
  2. [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters]
  3. "FileInfoCacheLifetime"=dword:00000000
  4. "FileNotFoundCacheLifetime"=dword:00000000
  5. "DirectoryCacheLifetime"=dword:00000000
Save it in a .txt file as whatever name .reg

Hopefully that will work out for you.

You will probably have to fix your query to and any other objects that are not working in the database.

Good Luck
Nov 15 '19 #2
cactusdata
214 Expert 128KB
There is an official page on that issue:

Access error: "Query is corrupt"
Nov 15 '19 #3
Joe Y
79 64KB
The page from Microsoft I found from Google results is -

https://support.office.com/en-us/art...3-f21636caedec
Nov 15 '19 #4
Joe Y
79 64KB
There is a workaround suggested by the support page. However, I have lots of VBA using query. Making each change is going to be a big challenge.
Nov 15 '19 #5
Joe Y
79 64KB
DJRhino1175,

I've never dealt with registry. Can you guide me through where to save the .reg file? Most of the users are using Windows 10 pro, some are Windows 7 Pro.

Thanks in advance!
Nov 15 '19 #6
NeoPa
32,556 Expert Mod 16PB
Hi Joe.

Let's deal with this one point at a time :
  1. I suspect that DJRhino's suggestion will not pertain to this issue. That is not to say, by any stretch of the imagination, that DJ wasn't being helpful and sharing his past experiences with you. Simply that his solution looks like it may be for another problem altogether.
  2. I strongly recommend to you, and anyone that doesn't themselves have a good understanding of the Registry in Windows or how one can update it safely, that you don't go there. Every responsible web page ever written that includes instructions on such amendments always includes very strong warnings. If you aren't sure - don't go there.
  3. The page you found on Google is exactly the same one that CactusData posted for you some four hours previously.
  4. You may want to revisit that page. Everyone in the Access world seems to be suffering badly from this issue and everyone is talking about it. As you'd expect, those involved at MSFT, as well as many other prominent faces in the Access world that work in this area, are working very hard to get this resolved. The current version of the page gives various options - most of which depend on the version(s) of Access you're using.
  5. Joe Y:
    Making each change is going to be a big challenge.
    It certainly is. Get your head around that and get on with it, is my best advice. You won't be unique in having to and there will certainly be help and support for all those, like yourself, who've been caught out by this issue.

As a last contribution, and though these are actually commercial sites and so normally unacceptable on Bytes.com, they are helpful in a very serious situation and are both by MVPs working closely with MSFT - the producer of the software, so I will include them :
Critical: Office Update breaks Access — Query is corrupt
Microsoft Access Query is Corrupt Error 3340
Nov 16 '19 #7
NeoPa
32,556 Expert Mod 16PB
@DJRhino.

I believe that .REG files must actually be stored as UNICODE, rather than simple ASCII text as you'd normally find when creating a new document in most text editors. Many handle UNICODE if the file is already encoded that way - and of course for the most part they would look the same, but don't be confused into thinking they're standard ASCII text files.

I'm not pushing the use of .REG files you understand, just explaining a potential confusion in the hope that it may help.

The easiest way to create a workable .REG file is to select a part of the Registry tree within RegEdit.Exe and Export it from the Right-Click menu. That file will, necessarily, be encoded the right way for importing into a Registry tree at some other time.

NB. *** NEVER PLAY WITH THE REGISTRY ***
When you know enough to ignore this warning then you already know the dangers and that you hold full responsibility for all the results - intended & unintended.
Nov 16 '19 #8
Joe Y
79 64KB
Thanks for the advice. I’m working on the workaround suggested by Microsoft. Let’s hope they issue the fix soon.
Nov 17 '19 #9
NeoPa
32,556 Expert Mod 16PB
I'm sorry I couldn't give you better news :-(

I strongly expect that a fix will come out very soon (Sorry - I really can't be more specific.), but I also believe that it's unlikely to be soon enough for most users to get away without having to handle this locally in one way or another.

Releasing a fix to the whole world for a problem that's only just been discovered is always going to be a gargantuan task. Timescales will never match user requirements in those situations.

I wish you the best of luck - of course - as I do everyone who's been affected by these patch releases.
Nov 18 '19 #10
twinnyfo
3,653 Expert Mod 2GB
What a cluster! I guess I'll wait until November 24th.....
Nov 18 '19 #11
NeoPa
32,556 Expert Mod 16PB
Hi guys.

This has been a very traumatic experience for everyone in the Access world but I can report that the Access Team in Redmond has been working extremely hard to get resolutions for the various supported versions still out there (Unsupported ones didn't suffer from the problem anyway ;-) ).

The following extracts are taken from emails from a member of the team :
Access:
Hi everyone,

We are getting patches out, this is the first available, for Office 2016 MSI installations:
November 18, 2019, update for Office 2016 (KB4484198)

Please let me know if you have any issues, or this doesn’t resolve the issue.
Just to be clear, this won’t help Office 2010 or 2013, for which patches will be following shortly.

For O365 Monthly Channel, or Office 2016 C2R installs, an update will be also be available very soon.
Followed very soon afterwards by :
Access:
Fixes for most everything, including O365, and 2016 C2R will be coming this week.

When the fix for O365/2016C2R are available, you will update using File/Account/Update Options/Update Now from within an Office application.
I'll send another note when new updates become available.
What may be more useful to many out there :
Access:
What’s not there (yet, but will be shortly), is that you can now download the update for O365 Monthly Channel/2016 C2R.
It should update you to 16.0.12130.20390.
So, you may be able to get the update before it's even notified publicly. It's in the works obviously.
Nov 19 '19 #12
Joe Y
79 64KB
Thanks for the update. Looking forward to all patches released. My users have various versions of Office installed.
Nov 19 '19 #13
Rabbit
12,516 Expert Mod 8TB
Depending on how long it's going to take them to release the patch and how urgent your work is, it may be feasible to write a script to automate creating a view for all the tables and stepping through all the query definitions to point them to the views.
Nov 19 '19 #14

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: N. Graves | last post by:
Hello, I don't understand this error message." Error accessing File. Network Connection may have been lost." I'm not using any network connection for the database. In the VBA editor is goes...
1
by: iam247 | last post by:
Hi I am a relative beginner with SQL and ASP. With some help after previous posts I have a page which successfully requests querystrings from another page and deletes a record from an access...
14
by: Tom | last post by:
Using AccessXP in 2000 mode. I have the following tables --- TblLocation LocationID PropertyID StateID CountyID CityID
3
by: Trevor Andrew | last post by:
Hi There, I have a small ASP.NET application under development. I am using VS.NET 2002 (2003 upgrade is on the way) with .NET Framework 1.1. It is hosted on a web hosting service in the US. I am...
3
by: Robert | last post by:
Every time I navigate to any .aspx file on my computer, I get the error below. According to MSDN this indicates that my CLR is corrupt, but I've re-installed the .NET framework with no help. Also...
4
by: TJS | last post by:
When trying to delete a row from a datagrid I get this error on every record regardless of record selected to delete. "Index 7 is not non-negative and below total rows count." there are 8 rows...
8
by: Alpha | last post by:
I created the following code in my C# program but it's giving me error message at run time of : XML.XPATH.XPATHEXCEPTION : Namespace Manager or XSLTContext needed. This query has a prefix,...
7
by: Comagmbh | last post by:
Hello! I am new to this group and I hope anyone can help me. I have an error message which is very complicated to me. Okay this message is very simpel, but I don`t understand how to build my SQL...
3
by: sillyr | last post by:
Hi - I use Access 2007 and have a an issue I haven't encountered until now. My users enter data into a form that sends the data to two linked tables. One table worked fine and all of the data was...
1
by: mabubakarpk | last post by:
I am using asp.net framework 2.0. I am facing following error message "Attempted to read or write protected memory. This is often an indication that other memory is corrupt" For more detail Plz...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.