???? ????? ASP.NET ???? ?? ??? ?????? ??? server-side ?????? ??? ?????

?????? ????????? ?????? ?????????
???? ???????: 325093 - ??? ???????? ???? ????? ????? ??? ???????.
????? ???? | ?? ????

?? ??? ??????

???????

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

????? ???? ???? ????.aspx ?? ????? Microsoft ASP.NET ??? ??? ???? ?? ????? ??????? ???????:
  • ?? ???? ???? ????? ?? ????????.
  • ?? ????? ????? ?????? ????.aspx.
???? ?????? ????????? ???? ?? ????? ?? ???????? ???????? ??????.aspx server-side ?????? ???????? ??? ?????? ??? ??????? raw ??.

??????? ???? ???? exhibited ??? ??????? Visual Studio.NET ?????? ASP.NET

??? ?? ????? ????? ASP.NET ?? Microsoft Visual Studio.NET ?? ?? ????? ????? ??????? ?????? ??????? ?? " IDE ??????:
??? ????? ?????? ????? ???????: ???? ??? ??? ??????? ??? ???? ???. ?? ????? ?????? ??????? ?? ??????? ASP.NET ?? ???? ATL. ????? ?????? ??????? ?????? ?????? ?????? Visual Studio.NET. ??? ??? ????? ?????? ???????, ???? ?? ??? ?? ????? URL ????.

?? ???? ?????? ??? ????? ????? ASP.NET ? ???? ATL ?? ??????? ??????? ?????. ?? ???? ?? ????? ??????? ?????????? ?????? ????? ASP.NET ?????? ????

?????

??? ????? Microsoft.NET Framework Software Development Kit (SDK) ?? Microsoft Visual Studio.NET, ??? ????? ??????? Microsoft Internet Information Services (IIS) ?????? ?????? ???? ??? ??? ???? ?? ????????? ??????? ?? ASP.NET.

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

????

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

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

?????

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

??????? ????

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

???? ??? ??????? ?????? ?? ?? ??? ??????? ???????? ?? ??? ??????. ????? ??? ???????? ?? ??????? ????????? ???? ????? ??? ???????. ??? ??? ???? ?????? ??????? ??? ???? ??????? ??????? IIS ?????? ?? ???? ?? ??????? ?? ???? ??? " ??? ?????? ?? ????? IIS Application ??????? " ?? ??? ??????? ??? ?????? ?? ??????? ?? ????? ?????? ??? ??? ?????.
  1. ?????? ????? ??? ASP.NET, ?????? Visual Studio.NET. ?????? ???? ???? ???? ??? ???????:
    1. ??? ????? Microsoft Visual Studio.NET.
    2. ?? ?? ??????? ???? ??? ??? ???? , ????? Project .
    3. ?? ???? ?????? ????? ???? , ???? ??? ?????? Visual C# ?? ?????? Visual Basic ??? ????? Project ?? ?? ????? ????? ??? ASP.NET ??? ????? .
    4. ?? ?????? ???? ??????? WebApplication# ????? ????????? ?? MyWebApp . ??? ??? ?????? ?????? ??????, ????? ??? ??? ?????? ?? http://localhost . ???? ???? ?????? ??????? ???????:
      http://localhost/MyWebApp
  2. ?? ?????? Solution ???? ??? ?????? ?????? ??? ?????? ??????? ??? ??? ????? , ????? ????? ????? ??? ??. ??? ????? ??? MappingsTest.aspx ? ??? ?? ???? ??? ??? .
  3. ???? ??? ?????? ?????? ??? ??????.aspx ?? ???? " ? ??? ?? ???? ??? ??? ????????? ???????? . ?? ?????? ???????? ???????? ??????? ??? ????? ??????? Page_Load :

    Visual 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. ?? ??????? Build ?? Studio.NET IDE, Visual ???? ??? ????? ???? .
  6. ???? ??? ?????? ?????? ??? ??????.aspx, ??? ?? ???? ??? ????? ????? ?? ?????? .
  7. ??? ????????? ?? ????? ?????? " ????? ??? ????????? ???????? " ???? ?? ????????. ?? ???? ??? ?????? ????????? ??? ????????? ??????? ?????? ????:
    • ???? ???? ????? ?? ????????.
    • ???? ?????? ?????? ?????? ????.aspx.
    ???? ??? ?????? ???? ??? server-side ?????? ??? ?? ????? ?? ??????? ????????. ?? ???? ???????? ????? ????????? ???????? ?????? unprocessed. ?? ????????? ???? ????? ?? ??? ?? ???? ??? ???? ??? , ???? ??? ?????? ?????? ??? ?????? ?? ???????? ??? ????? ???? ??? server-side ??????? unprocessed. ??? ???? ??????? ?? Visual C# ASP.NET ??? ??? ??????? " ? ???? ??????? Page @ : ?????? ??? ???
    <%@ Page language="c#" Codebehind="MappingsTest.aspx.cs" AutoEventWireup="false" Inherits="MyWebApp.MappingsTest" %>
    					

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

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

?????

???? ?? Microsoft Knowledge Base ??????? Q306005 ????? ?????? ??????? IIS ?? ASP.NET. ?????? ??? ???? ?? ?????????? ???? ??? ??? ?????? ?????? ???? ??????? ?? ????? ?????Microsoft:
306005 ????? ????? ???? IIS ??? ????? ?????? ????? IIS
???? ?????? ?????? ??????? ????? ??? ????????? ??????? ???????? ?????? ?? ??? ???????:
318465 ?? ???? ????? ????? ????? " ?????? ASP.NET

???????

???? ???????: 325093 - ????? ??? ??????: 23/?? ??????/1428 - ??????: 4.3
????? ???
  • Microsoft ASP.NET 1.1
  • Microsoft ASP.NET (included with the .NET Framework) 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
  • Microsoft Internet Information Services 5.1
  • Microsoft Internet Information Services 5.0
????? ??????: 
kbconfig kbdebug kbprb kbsetup kbwebforms KB325093 KbMtar kbmt
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????. ??? ?? ???? ??? ??????? ????? ?? ???????? ?? ??? ???????? ?????? ????? ????????? ??????? ???? ??? ???????
???? ??? ????? ??????? ?????? ??????????325093

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

 

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