Messages from Microsoft AxtiveX Data Objects 2.8 Library COMException may differ on Windows version

国英 飯間 1 Reputation point
2020-11-20T13:29:27.02+00:00

Excuse me.
I have a question in English.

Messages from Microsoft AxtiveX Data Objects 2.8 Library COMException may differ on Windows version

When the error Code = -2147217887 [0x80040e21] occurs, it turns out that the message content returned by Message of System.Runtime.InteropServices.COMException is different depending on the Windows version.

WindowsXP, Windows7: An error occurred during a multi-step OLE DB operation. Check the state value of each OLE DB. The work did not finish.

Windows10: 0x80040e21 message text not found in OraOLEDB message file.

ErrorCode = -2147217887 [0x80040e21] I know the meaning of itself, and I know how to deal with it, but I'm afraid that it's okay to ignore the message difference due to the OS difference.

I would like to ask you to teach me the factors that cause this message difference.

Development environment and language: VisualStudio2008 VB.NET
Framework: .NET Framework 3.5.1
Build in x86 mode
Connection DB: ORACLE

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,326 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Daniel Zhang-MSFT 9,611 Reputation points
    2020-12-02T08:59:48.5+00:00

    Hi 89389735,
    Operating system(OS) updates make changes to bottom level design. If you get confused with the different meanings of these error messages, I suggest you to enter your error code into this website to find the definition and cause of the errors.
    Best Regards,
    Daniel Zhang


    If the response is helpful, please click "Accept Answer" and upvote it.

    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.

    1 person found this answer helpful.
    0 comments No comments