Partager via

ODBC links between Excel files no longer work after update KB5002820

François Boissonneault 40 Points de réputation
2025-12-10T16:09:23.79+00:00

For several years, I've used multiple Excel files linked to other Excel files via an ODBC connection in MS Query. Since this morning (December 10th, 2025), I imagine following the KB5002820 update, it no longer works. I get the message in French "[Microsoft][Pilote ODBC Excel] Opération non autorisée pour ce type d'objet" (maybe in English"[Microsoft][Excel ODBC Driver] Operation not allowed for this type of object"). I haven't modified my files for several months. How can I fix this problem? Thank you.

Microsoft 365 et Office | Excel | Pour les entreprises | Windows

Réponse acceptée par l’auteur de la question
  1. Hendrix-C 14,985 Points de réputation Personnel externe Microsoft Modérateur
    2025-12-10T20:21:16.22+00:00

    For your convenience, the below response is provided in English. If you prefer using French, please let me know.

    Hi @François Boissonneault,

    Thank you for posting your question in the Microsoft Q&A forum.

    I'm sincerely sorry for any inconvenience and troubles this situation may have caused you.

    Based on your sharing, the issue is highly due to missing compatibility between ODBC and the latest update KB5002820 patch (released on December 9). I have researched through Microsoft product help and other official information sources but up to now, there is no Microsoft help article or announcement found and also no troubleshooting guidance addressing this issue.

    Therefore, to avoid negative effect this issue may cause to your workflow, I highly suggest rolling back to the previous Office version in which OBDC has worked properly:

    Step 1: Download and Extract ODT 

    Step 2: Create Your Custom Configuration File 

    • Open Notepad and paste the following XML: 

    <Configuration>  

    <Updates Enabled="TRUE" TargetVersion="16.0.xxxxx.yyyyy" />  

    </Configuration> 

    Step 3: Run the Installer 

    • Open Command prompt as administrator, navigate to the folder where setup.exe and your XML file are located, then run: 

    setup.exe /configure config.xml 

    • This will install the specified version of Office/Excel. 

    Step 4: Update Office to the earlier version

    For better visualization about this guidance, you can watch this video How To Roll Back Microsoft Office To The Previous Version

    (Note: We're providing this information as a convenience to you. The sites are not controlled by Microsoft, and we can't make any representations regarding quality, safety or suitability of any software or information found there. Please make sure you completely understand the risk before retrieving any suggestions from the above link) 

    Additionally, I strongly recommend submitting in-app feedback so that your experience can be formally logged with our engineering team. You can do this from Excel > Help > Feedback or go to Microsoft 365 Feedback Hub > send feedback. 

    User's image

    For now, I highly recommend upvoting this answer as well. That way, other users who encounter the same question will see the clarification, and more of them may report similar problem, helping to bring attention to the request. The more reports the team receives, especially from business users, the faster issues like this can be prioritized and resolved as soon as possible. 

    I know this is not the experience you expected, and I want to thank you for your patience while the team works on improvements.  

    Thank you for your understanding and corporation. Please let me know if there's anything else I can help you with. 

    Looking forward to your response.


     If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".   

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread


5 réponses supplémentaires

  1. Jakob Wögerbauer 80 Points de réputation
    2025-12-16T11:31:09.35+00:00

    I was able to fix this issue with the following registry entry:

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\ClickToRun\REGISTRY\MACHINE\Software\Microsoft\Office\16.0\Access Connectivity Engine\Engines]
    "AllowQueryRemoteTables"=dword:00000001
    

    Attention: Renabling this disabled feature is a security risk!

    Source: https://support.microsoft.com/en-us/topic/kb5002984-configuring-jet-red-database-engine-and-access-connectivity-engine-to-block-access-to-remote-databases-56406821-30f3-475c-a492-208b9bd30544

    2 personnes ont trouvé cette réponse utile.
    0 commentaires Aucun commentaire

  2. Dave Sylvester 5 Points de réputation
    2025-12-14T22:00:58.2733333+00:00

    My company also has been affected by this.

    The accepted solution is not a solution, but a workaround. And, quite annoying that until a solution is available, I'll have to deploy a rollback on 150+ machines.

    But, at least rolling back has worked so far, as long as you turn updates off inside one of the office programs, so it doesn't come right back again.

    My first attempt at rollback didn't seem to work, so I went back to 19328.20190, and that did work.

    I used ODT with the following configuration:

    <Configuration>
      <Add OfficeClientEdition="64" Channel="Current" Version="16.0.19328.20190">
        <Product ID="O365ProPlusRetail">
          <Language ID="en-us" />
        </Product>
     </Add>
    </Configuration>
    

    I hope this helps someone else.

    I'm more than eager to find out what actually happened in the update to break this so I can fix it and turn updates back on. If anyone knows what broke in ODBC connections with 2511, please let us know.

    1 personne a trouvé cette réponse utile.

  3. Ruben Almeida 0 Points de réputation
    2025-12-16T13:15:54.9933333+00:00

    Hello Guys,

    make a .bat file with this script

    
    

    Restart and is fixed!!!

    NO ROLLBACK NECESSARY!!!


  4. Tim Wiseman 0 Points de réputation
    2025-12-12T13:30:25.0466667+00:00

    We also have this issue!! glad I have found other people affected

    any fix for it? have you managed to remove the update and confirm that is the issue ?

    Tim


Votre réponse

Les réponses peuvent être marquées comme « Acceptées » par l’auteur de la question et « Recommandées » par les modérateurs, ce qui aide les utilisateurs à savoir que la réponse a résolu le problème de l’auteur.