???? ID: 316675 - ????? ???????: 04 ?????? 2010 - ??????: 2.0

Unhandled ????? ?? ???? ?? ?? ?? ???? Access ??????? ?? ??? ??? asp.NET ????? ????????? ?? ?????? ???? ?? ?????? ????

?????? ??????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.
?? ???? ????? Microsoft .NET ????????? ????? ????????? ???????? ?? ???????? ???? ??::
  • System.Data.OleDb

?? ????? ??

??? ?? ??????? ???? | ??? ?? ??????? ????

?????

????? ???????????? ?? ??? unhandled ????? ?? ???? ??:
  • ??????? ASPNET ???? ?? ??????? ??? asp.NET ????? ????????? (Aspnet_wp.exe) ????? ???
    -??-
  • ?? ?? ????????? ?? ????????? ????? ???? ???

    -??-
  • ?? ?????? ???? ?? ???? Access ??? ????? ?? ?????? ????????
?? ???????????? ?? ??? ???? ????? ??????? ??? ?? ???? ?? ?? ??????? ?? ???? ??:
Microsoft Jet ??????? ????? 'C:\Nwind.mdb' ????? ???? ??? ????? ?? ???? ???? ???? ?????????? ?????? ???? ???? ?? ?? ??, ?? ?? ???? ???? ?? ????? ?? ?????? ?? ???????? ???
???????? ?? ?? updateable ?????? ?? ????? ???? ??????

????

??????? concerns, ?? ???? asp.NET ????? ?? ????????? ???? ??????? ASPNET ???? ?? ??????? ??? ??? ?? ???? ????????? ?? ??? ????????? ????? ???? ??, ??? ??????? ?? ?? ?? ????????? ?? ??? ?????? ?? ????? ?? ????????? ?? ???? ?? ??????? ??????

?? ?????? ?? ???? ?? ??????? ASPNET ???? ?? ?????? ???? ?? ???? Access ??????? ??? ????? ?? ??? ???????? ????????? ???? ???

????????

?? ?????? ?? ?????? ?????? ?? ???, ????? ??? ?? ???? ?? ???? ????::
  • ASP.NET ????? ????????? ??? ?????? ???? ?? ??????? ????? ?? ??? ???????? <processmodel>Machine.config ?? ??? ?????.</processmodel>
  • ??????? ?????? ??, Microsoft ??????? ???? ?? ???? asp.NET ????????? ?? ?? ????????? ????? ????? ?? ???? ?? ??? impersonated ?????????? ?? ???????? ?? ?? ??????? ??? ??????? ?? ??? ?????? ????????? ??? ??? ???? ???
  • ????? ?? "???" ?? ??? ????????? ??? ???? ??????? ?? ??????? ??????? ?? ????? ?? ?????? ???????? ???? ??; ?????, Microsoft ??????? ???? ???? ?? ?????? ???

??????

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

???? ???????

?? ???? ???????????? ?? ??????, full-time ?????? ?? ???? ??? ??, ?? Microsoft ?????? ???? ?? ?? ?? ????? Microsoft SQL Server ?? ??? Microsoft ??????? ?????????? ???????? (IIS)? ??????? Microsoft ?????? ????? ????? (ASP) ??? OLE DB-?????? ?? ODBC-?????? ??????? ?? ??? ??? ???? ??, IIS ??? ???? ??? extensively ???????? IIS ?????? ???????????? ?? ???, ?? ?? ??????? ???????? ??? ?? ???? ??? ?? ???? ????????? ???????? ?? Microsoft SQL Server ?? ??? ????? ???? ?? ??? ??????? ???? ??? ???

???:"ACID" ?? ????????? ?? ????????? ???????? ??? ?? ??? ????? ?? ??? ??? acronym ??: Atomicity, ??????, Isolation, Durability.

ASP ?? ????? ???? ????? ?? ??? ??? Microsoft Jet ??????? ????? ?? ????? ?? ?????? ???? ??? ????? ?? ??? Microsoft ODBC ??????? ?? Microsoft OLE DB ??????? ??? ?? ??? ??? ???? ???????, (???? ??? ?????????, commerce ?????????, transactional ?????????, ????? ????? ?? ??? ???) ??????????? ?? ????-stress, ????-concurrency, full-time ????? ?? ??? ????? ?? ????

??????? ?? ???: ??????? ???? ?? ??? ???

  1. Microsoft Visual C# .NET ??? ?? asp.NET ??? ????????? ??? ??? ????????? ??????
  2. ???? ??? ???????, ??? ????? ?? ????? ?? ????? ???? ?? ?? ?? "Declaration" ??? ??? ????? ??? ??????:
    using System.Data.OleDb;					
  3. ????? ??? ??????Page_Load?????:
        String myConn  ="Provider=Microsoft.JET.OLEDB.4.0;Data Source=C:\\Nwind.mdb;";
        String myQuery  = "Insert into Customers(CustomerID,CompanyName) Values ('aaaaa', 'aaaaa')";
    
        OleDbConnection cn = new OleDbConnection(myConn);
        cn.Open();
        OleDbCommand cmd = new OleDbCommand(myQuery, cn);
        cmd.ExecuteNonQuery();
        cn.close();
    					
  4. ???? ?????? ?? ??? ??????? ??????? ???????? ?? ??????? ?????
  5. ????????? ?? ??????? ?????
  6. ???? ???????? ??? WebForm1.aspx ?????? ????? ??? ?? ?? above-mentioned ??????? ??? ?? ??? ?? ??????? ???

??????

???????? ??????? ?? ???, ????? ???? ???????? ?? ????? ?? ?????? ?? Microsoft ???????? ??? ?????::
306590  (http://support.microsoft.com/kb/306590/ ) ASP.NET ??????? ????????? ??????
307626  (http://support.microsoft.com/kb/307626/ ) ASP.NET ??????????? ????????? ??????
?? ???? ??? ???? ??????? ?? ???<processmodel></processmodel>??????, ????? Microsoft ?????? ??????? (MSDN) ?? ???? ??? ????:
<processmodel>??????</processmodel>
(vs.71) http://msdn2.Microsoft.com/en-us/library/7w2sway1 .aspx (http://msdn2.microsoft.com/en-us/library/7w2sway1(vs.71).aspx)

???? ???? ???? ??:
  • Microsoft ADO.NET 2.0
  • Microsoft ASP.NET 1.0
  • Microsoft Access 2002 Standard Edition
  • Microsoft Access 2000 Standard Edition
??????: 
kbtshoot kberrmsg kbnofix kbprb kbsystemdata kbmt KB316675 KbMthi
???? ?????? ???????????? ?????? ????????
??????????: ?? ???? ?? ???? ??????? ?? ????? ?? Microsoft ????-?????? ?????????? ?????? ?????? ???? ??? ??. Microsoft ???? ??? ????-???????? ?? ????-???????? ????? ?????? ?? ???? ???????? ???? ?? ???? ????? ????? ??? ?? ??? ?????? ?? ???? ???? ???? ??? ????? ??. ???????, ????-???????? ???? ????? ???? ???? ???? ???. ?????, ????????, ?????-???? ?? ??????? ?? ???????? ?? ???? ???, ???? ?? ??? ?????? ???? ???? ??? ????? ??? ?? ???? ??. Microsoft ??????? ??? ???? ?? ?????? ?? ??????????, ????????? ?? ??? ?????? ?? ???? ????? ?? ???? ???????? ?? ??? ???? ????? ?? ??? ????????? ???? ??. Microsoft ????-?????? ?????????? ?? ????? ?????? ?? ?? ??? ??.
?????????? ?? ??????? ????????? ??????? ??:316675  (http://support.microsoft.com/kb/316675/en-us/ )