FIX: ?????? OdbcConnection ?? ????? ??? ??? ????? ????? ??? ?????? ????? ?????? ???? ???????? ?? .NET Framework 2.0

?????? ????????? ?????? ?????????
???? ???????: 917752 - ??? ???????? ???? ????? ????? ??? ???????.
????? ???? | ?? ????

?? ??? ??????

???????

???? ??? ????????? ??????. ????? ??????? "???? ?????? ????? ??" Microsoft .NET Framework ?? ODBC ?? .NET Framework 2.0 ??????? ????? ?????? ?? ??????? ????? ??. ?? ?????? ??????? BeginTransaction ?????? OdbcConnection ???? ??????. ????? ????? ??? ?????? ????? ?????? ???? ???????? ????????. ?? ??? ?????????? ?? ???? ????????? OdbcException ??? ?? ?????. ??? ???? ???? ????????? ?????? ??????? ??? ??????? .NET Framework 1.1.

?????

???? ??? ??????? ??? ????? BeginTransaction ????? ????? ??? ODBC (SQL_ERROR) ???? SQLSetConnectAttr ???? ?????. ??? ??? Autocommit ??? ????? ????????? ????????? ???? ?????? .NET Framework ?? ODBC. ???? ???????? ??? ????? ????? ??? Autocommit ??? ????? ????? ??? ???????? ???? ????. ????? ??? ??? ?????? ??? ????? ??? ?????? ??? ???? ?? ???? ????????. ???? ??????? ????? ???????? ?? ????? ????????? ???? ??? ?????. ??? ??????? ????? ???????? ?????? ????????? ??? ODBC (SQL_ERROR).

????

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

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

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

?????? ??? ??????? ??????? ??? ?? ???? ???? Microsoft ??? ??????? ??????? ?? ???? ????? ??????? ????? ??? ?????????:
916002FIX: ????? ??? ??? ?????? ??????? ??? SqlClient ?? ??? ??????? ???????? ??? 2.0 ADO.NET ??????? ????? SQL Server 2005: "??? ???? ??? ????? ?? ???? ???? ??? ?? ???? ?? ???? ???????? ????"

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

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

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

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

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

????? ??? ??????? ?????? ??? ??????? ???????? ?????? ???????? ???? ???? ??? ??????? ???. ??? ??????? ?????? ?? ?? ????? ??? ???? ??????? ???? ??? ?? ???? ???? ?????? ???? ????? ?????? ????? ????.????? ????? ????? ?????????? ?? ??? ??????? ?????? ???? ????? (?? ???? ????) ??????? ?? ?????? ??????. ??? ??? ???????? ???????? ?????? ???? ??????? ?? "??? ??????? ???????" (UTC). ????? ???? ???? ??????? ?????? ??? ??????? ??? ??????? ??????. ?????? ????? ??? ??????? ??????? (UTC) ???????? ??????? ?????? ????? ??????? ??????? ??????? ?? ???? ??????? ?????? ?? "???? ??????".

????? 32-?? .NET framework 2.0

?? ??? ??????????? ??? ??????
??? ?????????? ???????? ????????????????????? ???????
Mscordacwks.dll2.0.50727.158800,76824 ???? 200614: 59x 86
Mscorlib.dll2.0.50727.1584,317,18424 ???? 200614: 59x 86
Mscorwks.dll2.0.50727.1585,623,29624 ???? 200614: 59x 86
Sos.dll2.0.50727.158377,34424 ???? 200614: 59x 86
System.data.dll2.0.50727.1582,893,82424 ???? 200614: 59x 86

??????? 2.0 x 64-based ???? ??? .NET

?? ??? ??????????? ??? ??????
??? ?????????? ???????? ????????????????????? ???????
Mscordacwks.dll2.0.50727.1581,597,44024 ???? 2006?: 09x 64
Mscorlib.dll2.0.50727.1583,956,73624 ???? 200611: 25x 64
Mscorwks.dll2.0.50727.15810,306,04824 ???? 2006?: 05x 64
Sos.dll2.0.50727.158476,16024 ???? 2006?: 15x 64
System.data.dll2.0.50727.1582,959,87224 ???? 200611: 25x 64

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

?? ??? ??????????? ??? ??????
??? ?????????? ???????? ????????????????????? ???????
Mscordacwks.dll2.0.50727.1582,710,01624 ???? 2006?: 14IA-64
Mscorlib.dll2.0.50727.1583,956,73624 ???? 200612: 03IA-64
Mscorwks.dll2.0.50727.15821,260,28824 ???? 2006??: ??IA-64
Sos.dll2.0.50727.158857,08824 ???? 2006??: ??IA-64
System.data.dll2.0.50727.1583,102,20824 ???? 200612: 03IA-64

???? ??????

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

?????

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

??????? ????

????? ?? ????????? ??? ???? ??????? ???????? Microsoft SQL Server ???? ??? ??? ??????? ?????? ?????? ?? "????? ??????? ?? Microsoft:
822499???? ????? ????? ??? ??????? ????? Microsoft SQL Server

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

??????? ????

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

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

  1. ????? ??? ?????? Microsoft Access (.mdb) ?? ?? ?????? ???? ????? ??? ??????. ????? ?? ??? ??? ??? ???????? ?? ?????? d:\db1.mdb ??? ?? ??? ?????? T1. ????? ?????? ???????? C1 ? C2.
  2. ????? ??? ??????? ?? ???? T1.
  3. ????? ????? C# ???????? Microsoft Visual Studio 2005 ?? ?? ???? ???????? ???????? ??????? ?? ???????.
    string cnstr = @"Driver={Microsoft Access Driver (*.mdb)};DBQ=d:\db1.mdb;UID=Admin;PWD=;"
    OdbcConnection cn = new OdbcConnection(cnstr);
    cn.Open();
    System.Diagnostics.Debug.WriteLine("connected.");
    
    try
    {
    OdbcTransaction trn = cn.BeginTransaction(IsolationLevel.ReadUncommitted);
    OdbcCommand cmd = new OdbcCommand("select * from T1", C1, C2);
    OdbcDataReader dr;
    dr = cmd.ExecuteReader();
    while (dr.Read())
    {
    System.Diagnostics.Debug.WriteLine(dr[1].ToString());
    }
    dr.Close();
    trn.Commit();
    }
    catch (OdbcException odbcex)
    {
    System.Diagnostics.Debug.WriteLine(odbcex.Message);
    System.Diagnostics.Debug.WriteLine(odbcex.StackTrace);
    }
    cn.Close();
    cn = null;
    
  4. ?? ?????? ??????? ?? ???? ?? ??????? ???????.
??? ????? ??? ???????? ?????? ???? ?? ???????.

???????

???? ???????: 917752 - ????? ??? ??????: 23/?? ??????/1428 - ??????: 3.3
????? ???
  • Microsoft .NET Framework 2.0
????? ??????: 
kbmt kbprb kbtshoot kbexpertiseadvanced KB917752 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????917752

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

 

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