???? ID: 325093 - ????? ???????: 03 ?????? 2010 - ??????: 2.0

ASP.NET ????? exhibit ????????? ??????? ??????? ?????-???? ??? ?? ??????? ???? ??

?????? ??????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.

?? ????? ??

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

?????

????? ??? exhibited ?????

?? ?? ???? .aspx ????? ????? ??? ?? Microsoft asp.NET ??? ?????????, ?? ????? ??????? ?? ????? ?? ???? ??:
  • ??? ????? ????? ?? ???????? ??? ????? ?? ???? ???
  • ?? .aspx ????? ??????? ???? ?? ??? ??? ??????? ??????? ?? ???? ???
??????? ??????? ?? ?? .aspx ????? ?? ??? ?????-???? ??? ??????? ????, ?? ???? ??? ??? ???? ?? ???? ???? ?? ???? ?????? ?? ??? ??? ??? ??????? ???

?? ?? asp.NET ???? ???? ?? ??? Visual Studio .NET ?? ????? ???? ??? exhibited ?????

?? ?? Microsoft Visual Studio ??? ?? asp.NET ????????? ???? .NET ?? ???, ???? ????? ?????? ????? ??? ???? IDE ???:
????????? ?? ????? ?? ?????? ???? ??? ??????: ??? ????? ?? ??????? ?? ??????? ???? ??? ??????? ????? ????????? asp.NET ?? ATL ????? ?? ??????? ?? ?????? ???? ????? Visual Studio .NET ????? ??? ??????? ???? ?? ??? ????? ?????? ??? ????? ????? ??? ??, ?? ???????? ???? ?? ??? ????? URL ????????? ???? ??? ???

?? asp.NET ?? ATL ????? ??????? ???? ?????? ?????????? ??? ?? ?????? ???? ?? ??? ?? ?? ????? ???? ?? ?? ????????? ?? ??? asp.NET ????? ???? ???? ?? ??? ?????? ?? ???????? ?? ????? ???? ????????

????

??????? ???? ?? ??? Microsoft .NET Framework ?????????? ????????? ??? (SDK) ?? Microsoft Visual Studio .NET, Microsoft ??????? ?????????? ???????? (IIS) ?????? ??? ????? ??? ????????? ?? asp.NET ?? ??? ?? ???????? ?????? ???? ?? ??? ???? ?? ????

?? ???????? ??? ???? ??? ????? ??? ?? ?? ????? ????? ???? ????????? ??? ???? ???? ??:
  • IIS ???? ?? ??? ?? .NET Framework SDK ?? Visual Studio .NET ????? ???? ??? ??????? ???? ???? ??? ???
  • ???? ?????? ?? ???? ??? ?? ?? .NET ???? ?? ?? IIS ???????????? Framework SDK ????? ?? Visual Studio .NET ??????

????????

?? ?????? ?? ?? ???? ?? ??? ?? asp.NET ?? ??? ????? ??? ????????? ??? ?????? ?? ?????? ??? IIS ?????? ?? ???????? ASP.NET ?? ??? IIS ?????? ?? ??? ???? ?? ??? ?? ????? ????

ASP.NET ?? ??? IIS ?????? ?? ??????? ?? ??? Aspnet_regiis.exe utlity ?????? ??? ???? ?? ???, ?????????? ????? ?? ???? ????.:
  1. ????? ????,????????? ????-????? ????, ?? ???? ????????.
  2. ??????:cmd?? ????-????? ????, ?? ???? ???OK.
  3. ????? ????????? ??, ????? ???? ???? ???? ?? ???? ??? ENTER ?????::
    "\WindowsFolder\Microsoft.NET\Framework\VersionNumber> \aspnet_regiis.exe "-i
    ???:?????WindowsFolder???? ???????? ?????? ??????? ?? ?????????? ?? ???? ?????VersionNumber.NET Framework ??????? ?? ???? ???????? ?? ??????? ?????
ASP.NET ?? ??? IIS ?????? ?? ??????? ?? ??? Aspnet_isapi.dll ??????? ???? ?????? ??? ???? ?? ???, ?????????? ????? ?? ???? ????.:
  1. ????? ????,????????? ????-????? ????, ?? ???? ????????.
  2. ??????:regsvr32WindowsFolder\Microsoft.NET\Framework\VersionNumber\aspnet_isapi.dll?? ????-????? ????, ?? ???? ???OK. Regsvr32 ??????? ?? ?????? ???? ???

??????

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

???? ???????

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

???????? ???? ?? ???? ?? ???? ?? ???? ??? ?????? ?????? ?? ????? ?? ??? ????? ????? ?? ???? ????? ?? ??????? ?????? ?? ??????? ??? ??????? ????? ?? ??? ???? ???? ??? ??? ?? ???? ????? IIS ????????? ?????? ?? ?????? ???? ?? ?? ???, ?? ?? ???? ??? ?? ????? ?? ???? ???? ?? ???? ??? ????? ??????????? ?? ???? ???? ?? ??? ?? ???? ?? "???? ??? ????? ???? IIS ????????? ??????" ??? ????
  1. ASP.NET ??? ????????? ?????, ????? Visual Studio .NET. ??? ???? ?? ???, ?????????? ????? ?? ???? ????.:
    1. Microsoft Visual Studio .NET ???? ????..
    2. ????? ???????????? ??,????? ????-????? ????, ?? ???? ????????????.
    3. ???????? ?????????????? ????? ???, ?? ?? ????? ????????? C# ???????????,Visual Basic ??????????? ???????????????? ???????? ????-????? ????, ?? ???? ???ASP.NET ??? ??????????? ???????????????.
    4. ??????????????? ???, ?????WebApplication#??????? ??? ??MyWebApp. ??? ?? ??????? ????? ?? ????? ????, ???? ????? ??? ?? ??? ??? ???? ????HTTP://localhost. ?????????????????????? ?? ??? ??? ????? ???? ??:
      HTTP://localhost/MyWebApp
  2. ?????? Explorer ??? ????????? ??? ?? ????-????? ????, ?? ????? ????add?? ????-????? ????, ?? ???? ?????? ??????? ?????. ??? ??????? ???MappingsTest.aspx?? ????-????? ????, ?? ???? ????????.
  3. ?????? ??? .aspx ????? ?? ????-????? ????, ?? ???? ???????? ???. ????? ??? ??????Page_Load????? ??????:

    ????? C# .NET
    private void Page_Load(object sender, System.EventArgs e)
    {
    	Response.Write("This code was executed");
    }
    						
    Visual Basic .NET
    Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Response.Write("This code was executed")
    End Sub
    					
  4. ????? ???????????? ??,??? ????????? ??????? ?? ???? ?????? ????????? ??????? ?????? ???
  5. ????? ?????????Visual Studio .NET IDE, ??? ???? ????? ?????????? ?????.
  6. .Aspx ??? ?? ????-????? ????, ?? ???? ?????????? ??? ?????.
  7. ?????? ??? ???, ??? ??????? ??? "?? ??? ???????? ???? ???" ????? ????? ???? ??? ??? ?????? ??? ???? ???, ?? ????? ??????? ?? ??? ?? ???? ??:
    • ??????? ??? ??? ????? ????? ????? ???
    • ???? .aspx ????? ??????? ???? ?? ??? ?? ????? ??????? ???? ???
    ?? ??????? ?? ???? ??, ??????? ?????-???? ??? ???? ??????? ?? ???????? ????? ?? ????????? ??? ???? ?? ?????? ??? ?? unprocessed ????? ??? ??????? ???? ??? ????? ????? ????????, ??? ?? ????? ?? ???????? ?? ???? ??? ??? ????-????? ???? ?? ???????? ?????, ???? ????? ?? ?????-???? ??? ???? unprocessed ?? ??? ??? ????? ??? ?????? ?? ???, ??? ????? C# asp.NET ??? ???????, ??? ??@ ?????directive ????? ?? ???? ????? ??:
    <%@ Page language="c#" Codebehind="MappingsTest.aspx.cs" AutoEventWireup="false" Inherits="MyWebApp.MappingsTest" %>
    					

???? IIS ????????? ?????? ?? ???????? ???? ?? ??? ???? ????

?????? ???? ?? ????????? ?????? ??? ???, ?? ????? ????? ?? ???? ????:
  1. ????? ????,????????? ????? ????,????????????? ????? ????,???????????? ??????? ????-????? ????, ?? ???? ?????????? ???? ???????.
  2. ??????? ???? ?? ??? ???? ??? ?? ??????? ???? (???????? ???) ?????, ?? ???? ??? ??????? ??????????? ??? ??????? ???
  3. ???? ??? ????????? ?????????? ?? ????-????? ????, ?? ???? ??? ????? ???????.
  4. ????? ?????????????????, ?? ???????????? ????????????? ????,configuration.
  5. ????? ????????????? ????????? ?? ????? ????..
  6. ????? ????????????? ?????????, ?? ???????????? ??????, ???? ???? ?? ???? .aspx ????????? DLL ????? ???? ?? ??? ??? ???? ??? ??:
    C:\WindowsFolder\Microsoft.Net\Framework\VersionNumber\aspnet_isapi.dll
    ???:?????WindowsFolder???? ???????? ?????? ??????? ?? ?????????? ?? ???? ?????VersionNumber.NET Framework ??????? ?? ??? ?? ???? ???????? ?? ??????? ???
  7. ??? ???? ????????? ?????? ????????? ???? ?????, ?? ?? ???? ?? "??????" ??? ??? ??? ????? ?? ???? ?????

??????

?????? asp.NET ?? ??? IIS ?????? ?? ??????? ?? ??? Microsoft ???????? ???? Q306005 ?? ?????????? ?? ??????? ??????? ?? ???, Microsoft ?????? ??? ??? ???? ????? ?? ??? ????? ???? ?????? ????? ????::
306005  (http://support.microsoft.com/kb/306005/ ) IIS ?????? ?? ??????? ?? ??? ?? ??????? ?? IIS ???????????? ???? ????
????? ???? ???? ?? ???????? ??? ?????? ??????? ???????? ?? ???? ??? ???? in-depth ??????? ???????? ???? ??:
318465  (http://support.microsoft.com/kb/318465/ ) ???? asp.NET ??? ????????? ???? ?? ????

???? ???? ???? ??:
  • Microsoft ASP.NET 1.1
  • Microsoft ASP.NET 1.0
  • Microsoft Visual Studio .NET 2003 Professional Edition
  • Microsoft Visual Studio .NET 2003 Enterprise Architect
  • Microsoft Visual Studio .NET 2003 Enterprise Developer
  • Microsoft Visual Studio .NET 2003 Academic Edition
  • Microsoft Visual Studio .NET 2002 Professional Edition
  • Microsoft Visual Studio .NET 2002 Enterprise Architect
  • Microsoft Visual Studio .NET 2002 Enterprise Developer
  • Microsoft Visual Studio .NET 2002 Academic Edition
  • Microsoft Internet Information Services 6.0
??????: 
kbconfig kbdebug kbprb kbsetup kbwebforms kbmt KB325093 KbMthi
???? ?????? ???????????? ?????? ????????
??????????: ?? ???? ?? ???? ??????? ?? ????? ?? Microsoft ????-?????? ?????????? ?????? ?????? ???? ??? ??. Microsoft ???? ??? ????-???????? ?? ????-???????? ????? ?????? ?? ???? ???????? ???? ?? ???? ????? ????? ??? ?? ??? ?????? ?? ???? ???? ???? ??? ????? ??. ???????, ????-???????? ???? ????? ???? ???? ???? ???. ?????, ????????, ?????-???? ?? ??????? ?? ???????? ?? ???? ???, ???? ?? ??? ?????? ???? ???? ??? ????? ??? ?? ???? ??. Microsoft ??????? ??? ???? ?? ?????? ?? ??????????, ????????? ?? ??? ?????? ?? ???? ????? ?? ???? ???????? ?? ??? ???? ????? ?? ??? ????????? ???? ??. Microsoft ????-?????? ?????????? ?? ????? ?????? ?? ?? ??? ??.
?????????? ?? ??????? ????????? ??????? ??:325093  (http://support.microsoft.com/kb/325093/en-us/ )