???? ID: 2517589 - ????? ???????: 25 ?? 2012 - ??????: 6.0

?? ??? ?? KB983246 ??????? ???? ?? ?? Windows 7 SP 1 ?? Windows Server 2008 R2 SP 1 ?? ??? ?? ?? ???????? ?? ??? recompile ADO ????????? ???? ???????? ?????? ?? ???? ????

?????? ??????This article applies to a different operating system than the one you are using. Article content that may not be relevant to you is disabled.
??????? ADO ?? ADO MD ???? ??? Microsoft ??? ??????? ???? ??? ?? ???????? ????? ???????? ?? ?????? ?????, ??????? ????-?????? ??????????? ??? ?? ????? ??????????? ??? ?? ???? ??? ?? ???? ??? ???? ?? ??? ?? ??????? ???? ??????? ????? ?? ??? ??? ADO ?? ?????? ?? ????? ????? ???? ???? ?????????? ????? ????????? ???? ??? ?? ??? ?? ?????? ???????? ?? ??? ???? conducted ??? ???? ?? ??? ???? ???? ?? ??????? ?? ????? ???? ?????? ???????? ADO ?? ADO MD ?? ????? ?? ????? ?? ?? ???? ??? ??? ???? ?? ?????? ???? ???? ??????? ?? ???, ????? ???? ?? Microsoft ???????? ??? ?????:
840667   (http://support.microsoft.com/kb/840667/ ) ADO ?? ADO MD ??? ?? ????? ???? ??? ??????????? ????????? ??????? ?????? ????? ?????????
??? ?? ??????? ???? | ??? ?? ??????? ????

?????

?? ???????? ?? ????? ????? Windows 7 ?????? ??? 1 (SP1) ?? Windows Server 2008 R2 SP 1 ?? KB9823246 ??????? ?? ?? ??? ?? ?? ???????? ??, ?? ??? Microsoft ActiveX ???? ?????????? (ADO) ????????? ?????????? ??????????? ??? ?? ?? ?? ????? ???? recompile:
  • Microsoft Visual C++
  • Microsoft Visual Basic (VBA) ??????????? ?? ???
  • Microsoft Visual Basic 6
  • Microsoft.??? ?????????
?? ???????? ???, ?? ?????????-???? ???????? ???????? ?? ???? ???? ?? ???? ?????? ?? ???, ??? ???? ??????? ?? Windows 7, Windows Vista, ?? Windows ?? ???? ????????? ???? ???? ???? ??????????? ?? ???? ??, ?? ?? ????? ??? ?? ???? ?? ?? ???? ?????? ????? ???? (??? ?? ???? ?????? ????? ??????? ?? ???? ??.)

?????? ????? 1
REGDB_E_CLASSNOTREG (0X80040154)
?????? ????? 2
E_POINTER (0X80004003)
?????? ????? 3
E_NOINTERFACE (0X80004002)
?????? ????? 4
Cast COM ???????? ?????? 'System.__ComObject' ???????? ?????? ???? ??? ?????? ' ADODB.??????? '? ?? ???????? ???? ??? ??????? QueryInterface ??? IID '{00001550-0000-0010-8000-00AA006D2EA4}' ?? ??? ???????? ?? ??? COM ??? ?? ????? ?????? ?? ???? ???? ???: ??? ???????? ??????? (????? HRESULT ??: 0x80004002 (E_NOINTERFACE)). "
?? ?????? ????? Visual C++ ??? ??? ????????? ???? ???
#import " msado15.dll" no_namespace rename("EOF","EndOfFile")
 
int main()
{
  CoInitialize(NULL);
  _ConnectionPtr pConnection = NULL;
     HRESULT hr = pConnection.CreateInstance(__uuidof(Connection)); //hr gets E_NOINTERFACE here
}
?? ?????? ????? Visual Basic ?? ??? ????????? ??? ??? ????????? ???? ???
Private Sub Form_Load()
 Dim Conn As New ADODB.Connection ?Runtime error here: Class does not support Automation or does not support expected interface
End Sub
VBA ??????:??-???? ?????? '430': ???? ??????? ?? ?????? ???? ???? ?? ???????? ???????? ?? ?????? ???? ????

??? Microsoft ?? ?? ??? ADO ???????? ?????? ?? ?????? ???? ??, ?? ?? Visual Basic 6 ?? ?????? ???? ??? Visual Basic 6 supportability ?? ???? ??? ???? ??????? ?? ???, ????? MSDN ??? ??? ?? ????:
??? ???? Visual Basic 6.0 Windows Vista, Windows Server 2008 ?? Windows 7 ?? ?????? (http://msdn.microsoft.com/en-us/vbasic/ms788708.aspx)
???????? ?????? ?? ADO supportability ?? ???? ??? ???? ??????? ?? ??? Microsoft ???????? ??? ???? ????? ?? ??? ?????????? ???? ?????? ????? ????:
318559  (http://support.microsoft.com/kb/318559/ ) ?? ??? ADO (ADODB) ????? ???????? ??? ???????? ?????? ?? ?? ????? ??????

????

?? ?????? ????? ???? ?? ??????? ??? ADO ???????? ?? ??????? ?????????? ?? ??? (IIDs) ?? ?????? ???? ?? ???? ?? ??? Windows 7 SP1 ??? ????????? ???? ??? ??? ?????? IID ???????? ?????????? ??????? ????? ??? ??:
_Deprecated
?????? ?? ???, ???????? _Connection ??????????? ?????? ???? ??? ??:
  • Windows 7 ?? Windows ?? ?????? ????????? ???, _Connection IID 00000550-0000-0010-8000-00AA006D2EA4 ???
  • Windows 7 SP1, _Connection IID 00001550-0000-0010-8000-00AA006D2EA4 ??, ?? IID _Connection_Deprecated ?? ??? 00000550-0000-0010-8000-00AA006D2EA4 ???
???? ????????? early _Connection ???? ?? ??? ???????? ?? ????? ???? ??, ?? ?? IID ?? ?????? ???? ?? ????? ?????? ????????? ??? ???????? ??? IID ????? ???? ??, ??????? ????????? ???? ???????? ?????? ?? ???? ??, ?? ?? ?????? ??????? ???? ???

??? ADO apis ?? ???????????-?????? ??? ADO 2.7 ?? ??? ?? ????????? ???? 64-Bit Windows ?? ????????? ??, ?? ADO apis ?? ???? ?? 64-??? ???? ?????? (???? LONGLONG ???? ??????) ?? ????? ???? ?????????? ???????, ?? apis ?? ????? ????????? ??? ?? ???? ???? ?????? ????? ????? ?????? ?? ????? ?? ?????? ???? ???, ????? ???? "?????? ????? ??" ?????? ????? ????????

????????

?? ?????? ?? ?? ???? ?? ???, ???? ?? ???????? ??? ?? ?? ??? ????? ???? ?? Microsoft ???????? ??? ??????? ????:
2640696  (http://support.microsoft.com/kb/2640696/ ) Windows ?? ?????? ????????? ??? ?? Windows 7 SP1 ?? Windows Server 2008 R2 SP1 ??? ?????? ?? ??? ADO-?????? ????????? ???? ???

???? ???????

?? ????? ?????? ?? ??? Windows 7 SP1 ADO GUID ????????
http://blogs.msdn.com/b/psssql/archive/2011/10/03/yes-we-made-a-mistake-and-are-finally-going-to-fix-it.aspx (http://blogs.msdn.com/b/psssql/archive/2011/10/03/yes-we-made-a-mistake-and-are-finally-going-to-fix-it.aspx)

???? ???? ???? ??:
  • Windows 7 Enterprise
  • Windows 7 Home Basic
  • Windows 7 Home Premium
  • Windows 7 Professional
  • Windows 7 Starter
  • Windows 7 Ultimate
  • Microsoft Windows XP Service Pack 3
  • Microsoft Windows Server 2003 Service Pack 2
  • Windows Vista Business
  • Windows Vista Business 64-bit edition
  • Windows Vista Enterprise
  • Windows Vista Enterprise 64-bit edition
  • Windows Vista Home Basic
  • Windows Vista Home Basic 64-bit edition
  • Windows Vista Home Premium
  • Windows Vista Home Premium 64-bit edition
  • Windows Vista Service Pack 1
  • Windows Vista Service Pack 2
  • Windows Vista Starter
  • Windows Vista Ultimate
  • Windows Vista Ultimate 64-bit edition
  • Windows Server 2008 Datacenter
  • Windows Server 2008 Datacenter without Hyper-V
  • Windows Server 2008 Enterprise
  • Windows Server 2008 Enterprise without Hyper-V
  • Windows Server 2008 for Itanium-Based Systems
  • Windows Server 2008 for Windows Essential Server Solutions
  • Windows Server 2008 for Windows Essential Server Solutions without Hyper-V
  • Windows Server 2008 Foundation
  • Windows Server 2008 Standard
  • Windows Server 2008 Standard without Hyper-V
  • Windows Server 2008 R2 Datacenter
  • Windows Server 2008 R2 Datacenter without Hyper-V
  • Windows Server 2008 R2 Enterprise
  • Windows Server 2008 R2 Enterprise without Hyper-V
  • Windows Server 2008 R2 for Embedded Systems
  • Windows Server 2008 R2 for Itanium-Based Systems
  • Windows Server 2008 R2 Foundation
  • Windows Server 2008 R2 Standard
  • Windows Server 2008 R2 Standard without Hyper-V
??????: 
kbprb kbsurveynew kbprogramming kbtshoot kbmt KB2517589 KbMthi
???? ?????? ???????????? ?????? ????????
??????????: ?? ???? ?? ???? ??????? ?? ????? ?? Microsoft ????-?????? ?????????? ?????? ?????? ???? ??? ??. Microsoft ???? ??? ????-???????? ?? ????-???????? ????? ?????? ?? ???? ???????? ???? ?? ???? ????? ????? ??? ?? ??? ?????? ?? ???? ???? ???? ??? ????? ??. ???????, ????-???????? ???? ????? ???? ???? ???? ???. ?????, ????????, ?????-???? ?? ??????? ?? ???????? ?? ???? ???, ???? ?? ??? ?????? ???? ???? ??? ????? ??? ?? ???? ??. Microsoft ??????? ??? ???? ?? ?????? ?? ??????????, ????????? ?? ??? ?????? ?? ???? ????? ?? ???? ???????? ?? ??? ???? ????? ?? ??? ????????? ???? ??. Microsoft ????-?????? ?????????? ?? ????? ?????? ?? ?? ??? ??.
?????????? ?? ??????? ????????? ??????? ??:2517589  (http://support.microsoft.com/kb/2517589/en-us/ )