FIX: ??????? System.InvalidCastException ?? ???? ??? ??????? ??????? OdbcConnection.GetSchema ?? .NET Framework 2.0

?????? ????????? ?????? ?????????
???? ???????: 922981 - ??? ???????? ???? ????? ????? ??? ???????.
????? ???? | ?? ????

?? ??? ??????

???????

??? ??????? ??????? OdbcConnection.GetSchema ?? Microsoft .NET Framework 2. 0? ?? ???? ??????? System.InvalidCastException. ?? ???? ??? ??????? ??? ????? ???????? ?????????:
  • ??????? ??????? OdbcConnection.GetSchema ???????? ???? ????? ????? ????????.
  • ????? ??????? ?????? ????? ODBC ???? ???? ?????? ?? ODBC ??????? 3.0 ?? ????? ????.

?????

??????? ??????? OdbcConnection.GetSchema ?????? SQLGetTypeInfo ?? ODBC API. ???? ?????? SQLGetTypeInfo ?????? ????? ????? ??? ??? ?????. ?? ???? ?????? ??? ????? ????? ODBC ???? ?? ???? ??????? ??? ?????? SQL ??? ????. ??? ???? ??????? ????? ??? ????? ????? ODBC ??????? ??????? ???????? ???? ?????:
  • case_sensitive
  • fixed_prec_scale
  • unsigned_attribute
??? ?? ?????? ??? ??????? ?????? SQL_SMALLINT ????? ?? ???. ???? SQL_SMALLINT ???? ??? ?????. ??? ??? ??? ??? ??????? ?????? ???? ????? ??????? System.InvalidCastException ???? ????? ????? Microsoft ADO.NET ????? ?????? ??? ???? System.Int32.

????

??????? ??????? ??????

????? ???? ????? ???? ????? ?? Microsoft ???? ????? ??? ?? ?? ??????? ??????? ?? ??? ??????? ???. ??? ?????? ??? ??????? ???? ????? ??? ??????? ????????. ?? ??? ????? ???????? ?????? ??? ??? ??????? ??????. ?????? ??? ?? ??? ????? ??? ??????? ??????? ???? ????????? ??? ??????? ?????? ?? ???? ?????? Microsoft .NET Framework 2.0 ????? ????? ??? ??? ??????? ??????.

??? ??? ??????? ?????? ???? ?????? ??? ???????? ?? Microsoft "?????? ??? ??????? ??????. ?????? ??? ????? ????? ?????? ?????? ?????? ?????? ??? ???? Microsoft ???? ??????? ??? ?????? ?????? ?? ?????? ???? Microsoft ?????? ??? ?????:
http://support.microsoft.com/contactus/?ws=support
?????? ?? ??? ???????? ?? ??? ????? ????????? ???? ?????? ????? ??? ??????? ????? ??? ??? ?????? ????? ??? Microsoft ?? ??????? ?????? ??? ???? ??? ?? ???????. ???? ????? ?????? ????? ???????? ??? ????? ????? ???????? ????????? ???? ?? ???? ??? ???? ??? ???????.

????????? ????????

??? ?? ???? ???? .NET Framework 2.0 ????? ????? ??? ??????? ??????.

????? ????? ?????

??? ???? ??? ????? ????? ???? ????????? ??? ????? ??? ??????? ??????.

??????? ??????? ??????? ??????

?? ??? ??? ??????? ?????? ??? ??? ??????? ????? ????.

??????? ?????

????? ????? ????? ?????????? ?? ??? ??????? ?????? ???? ????? (?? ???? ????) ??????? ?? ?????? ??????. ??? ??? ???????? ???????? ?????? ???? ??????? ?? "??? ??????? ???????" (UTC). ????? ???? ???? ??????? ?????? ??? ??????? ??? ??????? ??????. ?????? ????? ??? ??????? ??????? (UTC) ???????? ??????? ?????? ????? ??????? ??????? ??????? ?? ???? ??????? ?????? ?? "???? ??????".
.NET Framework 2.0 ?????? 32-?? (x 86)
?? ??? ??????????? ??? ??????
??? ?????????? ???????? ????????????????????? ???????
Mscordacwks.dll2.0.50727.190801,280????? ????? ????04: 03x 86
Mscorlib.dll2.0.50727.1904,317,184????? ????? ????04: 03x 86
Mscorwks.dll2.0.50727.1905,624,320????? ????? ????04: 02x 86
Normalization.dll2.0.50727.19015,360????? ????? ????04: 03x 86
Normidna.nlp??? ???? ???????59,342????? ????? ????04: 03??? ???? ???????
Normnfc.nlp??? ???? ???????45,794????? ????? ????04: 03??? ???? ???????
Normnfd.nlp??? ???? ???????39,284????? ????? ????04: 03??? ???? ???????
Normnfkc.nlp??? ???? ???????66,384????? ????? ????04: 03??? ???? ???????
Normnfkd.nlp??? ???? ???????60,294????? ????? ????04: 03??? ???? ???????
Sos.dll2.0.50727.190382,464????? ????? ????04: 03x 86
System.data.dll2.0.50727.1902,893,824????? ????? ????04: 03x 86
.NET Framework 2.0 ??????? ?? ?? (x 64)
?? ??? ??????????? ??? ??????
??? ?????????? ???????? ????????????????????? ???????
Mscordacwks.dll2.0.50727.1901,597,952???? ????? ??????: ??x 64
Mscorlib.dll2.0.50727.1903,956,736????? ????? ????00: 11x 64
Mscorwks.dll2.0.50727.19010,302,976???? ????? ????19: 00x 64
Normalization.dll2.0.50727.19018,432???? ????? ????19: 01x 64
Normidna.nlp??? ???? ???????59,342???? ????? ??????: ????? ???? ???????
Normnfc.nlp??? ???? ???????45,794???? ????? ??????: ????? ???? ???????
Normnfd.nlp??? ???? ???????39,284????? ????? ????04: 03??? ???? ???????
Normnfkc.nlp??? ???? ???????66,384???? ????? ??????: ????? ???? ???????
Normnfkd.nlp??? ???? ???????60,294???? ????? ??????: ????? ???? ???????
Sos.dll2.0.50727.190480,768???? ????? ??????: ??x 64
System.data.dll2.0.50727.1902,959,872????? ????? ????00: 11x 64
.NET Framework 2.0 ??????? ?? ?? (IA-64)
?? ??? ??????????? ??? ??????
??? ?????????? ???????? ????????????????????? ???????
Mscordacwks.dll2.0.50727.1902,711,040???? ????? ????19: 09IA-64
Mscorlib.dll2.0.50727.1903,956,736????? ????? ????00: 58IA-64
Mscorwks.dll2.0.50727.19021,264,384???? ????? ??????: ??IA-64
Normalization.dll2.0.50727.19044,032???? ????? ??????: ??IA-64
Normidna.nlp??? ???? ???????59,342????? ????? ????04: 03??? ???? ???????
Normnfc.nlp??? ???? ???????45,794???? ????? ????19: 08??? ???? ???????
Normnfd.nlp??? ???? ???????39,284????? ????? ????04: 03??? ???? ???????
Normnfkc.nlp??? ???? ???????66,384????? ????? ????04: 03??? ???? ???????
Normnfkd.nlp??? ???? ???????60,294????? ????? ????04: 03??? ???? ???????
Sos.dll2.0.50727.190862,720???? ????? ??????: ??IA-64
System.data.dll2.0.50727.1903,102,720????? ????? ????00: 58IA-64

?????

???? Microsoft ?? ??? ????? ?? ?????? Microsoft ??????? ?? ??? "????? ???".

??????? ????

????? ?? ?????????? ???? ??? ??? ??????? ?????? ?????? ?? "????? ??????? ?? Microsoft:
824684??? ????????? ???????? ????????? ?? ??? ??????? ????? Microsoft

?????

?????? ??? ???? ?? ????????? ??? ????? OdbcConnection.GetSchema ?? ?????? ???? ???? ????? Microsoft (MSDN) ?????? ??? ?????:
http://msdn2.microsoft.com/en-us/library/ms135852.aspx

???????

???? ???????: 922981 - ????? ??? ??????: 23/?? ??????/1428 - ??????: 1.1
????? ???
  • Microsoft .NET Framework 2.0
????? ??????: 
kbmt kbfix kbbug kbhotfixserver kbqfe kbpubtypekc KB922981 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????922981

????? ???????

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com