?? ???? ????? ??? ??? ??????? ?? ??? ?????? ?????? ??? ??????? ASP.NET ??? ????? ??????? ?????? ??? ?????? (MS05-004)

?????? ????????? ?????? ?????????
???? ???????: 894670 - ??? ???????? ???? ????? ????? ??? ???????.
????? ???? | ?? ????

?? ??? ??????

??????

??? ????? ????? ?????? ??? MS05-004 ?? ?????? ?? ???? ?????? ??? ??????? ASP.NET ?? ?????? ?????. ???? ??? ??????? ????? ????? ???????? ???? ?? ???????. ??? ???? ??? ??? ???????.

???????

??? ????? ????? ?????? ??? MS05-004 ?? ?????? ?? ???? ?????? ????? Microsoft ASP.NET ??? ????? URL ??? ?? ???? ???? (\) ????? ?? ????? ???? ????? ????? ???????:
?? ???? ?????? ??? ??????.
???: HTTP 404. ?????? ???? ???? ??? (?? ??? ?????????) ?? ??? ????? ?? ???? ????? ?? ??? ????? ??????. ?????? ?????? ???? ???? ????????? ?????? ????? ?? ??? ??????? ???? ????.

??? ??? ????? ?????? ????? ???????: ??? ???? ??? ??? ??????? ??? ???? ???. ???? ??? ????? ASP.NET ?? ??????? Server ATL. ???? ?? ?? ?????? ASP.NET ?? ATL ???? ?????? ??? ??????.

?????

????? ??? ??????? ??? ??? URL ?????? ?? ????? ????? ????? ??????? ?????? ?? Microsoft (IIS) ????? ??? ?? ???? ???? ?????.

????

??? ??? ???????? ?? ?????? ???? ????? ????? ????? ?? ????? ????? IIS ?? URL ?????? ????? ??? ???????. ?????? ????? ?????? ???? ????? ???????.

??????? 1: ??????? ????? IIS

  1. ???? ??? ???? ?? ???? ??? ????? ????? cmd ?? ???? ??? ?????.
  2. ??? ???? ?????? %systemroot%\system32\inetsrv.
  3. ?? ???? ???????? ???? inetmgr ???? ????? IIS.
  4. ???? ??? ?????? ?????? ??? ???? ??? ?? URL ???? ???? ?????? ?? ???? ??? ?????.
  5. ??? ??? ??????? ???????? ???? ????? ??? ???? ??? ? ???? ??? ????? ??????? ?????? ?? ?? ?????? ???? ????? ????? ????? ?? ?????? ?????? ?? ???? ???? ???? ????.

    ??? ??? ??????? ???????? ?? ?????? ????? ????? ??? ? ???? ??? ????? ??????? ?????? ??????? ?? ?? ?????? ???? ????? ????? ????? ?? ?????? ?????? ?? ???? ???? ???? ????.
  6. ???? ??? ????? ?? ???? ??? ?????.

??????? 2: ??????? ??????? ?????? & .vbs &

  1. ??????? tp ????? ???????? ???????? ??????? ????? ?????? ??? .vbs: objWebService
    
    Option Explicit
    
    Dim objWebService, objWebSite
    Dim objSite, objArgs, strServer
    Dim WshNetwork
    
    Set objArgs = WScript.Arguments
    
    If objArgs.Length = 1 Then
    	strServer = objArgs(0)
    ElseIf  objArgs.Length = 0 Then
    	Set WshNetwork = CreateObject("WScript.Network")
    	strServer = WshNetwork.ComputerName
    Else
    	WScript.Echo "Usage: CScript ModifyVDir.vbs [servername]"
    	WScript.Quit
    End If
    WScript.Echo "Connecting to " & strServer
    
    Set objWebService = GetObject("IIS://" & strServer & "/W3SVC")
    
    For Each objWebSite in objWebService
    	Set objSite = GetObject(objWebSite.AdsPath)
    	If objSite.Class = "IIsWebServer" Then
    		WScript.Echo objSite.AdsPath
    		EnumVDir objSite, 1
    	End If
    Next
    
    WScript.Echo "Done processing."
    
    Sub EnumVDir(objVDir, i)
    	Dim objSubVDir, objDir
    	Dim strNewPath
    	
    	For Each objSubVDir in objVDir
    		If objSubVDir.Class = "IIsWebVirtualDir" Then
    			Set objDir = GetObject(objSubVDir.AdsPath)
    			
    			If ((Right(objDir.Path, 1) = "\") and (Right(objDir.Path, 2) <> ":\")) Then
    				WScript.Echo Space(i*3) & objDir.AdsPath
    				WScript.Echo Space(i*3) & "Path = " & objDir.Path
    
    				strNewPath = Left(objDir.Path, Len(objDir.Path) - 1)
    				WScript.Echo Space(i*3) & "New Path = " & strNewPath
    					
    				objDir.Put "Path", strNewPath
    				objDir.SetInfo
    			End If
    			
    			EnumVDir objDir, i + 1
    		End If
    	Next
    End Sub
    
    
  2. ????? ???????? ????? .vbs ?? ??? ???????. ?????? ????? ???? ??????? ???????:
    1. ???? ??? ???? ?? ???? ??? ????? ????? cmd ?? ???? ??? ?????.
    2. ?? ???? ???????? ???? cscript [file_name .vbs].

      ??????file_name ???? ???? ???? ?????? & .vbs &.
    3. ?????? ???? ???????, ???? exit.

??????? ????

??? ????? ??? ??????? ?????? ASP.NET ????? ???????? stricter ??? ???????? ??????? ? ???????? ???????? ????????.

?????

?????? ??? ??????? ?????? ??? ?????? ??? MS05-004 ??????? "? ???? ??? ??? ??????? ?????? ?????? ??" ????? ??????? ?? Microsoft ":
887219??? MS05-004: ?? ???? ????? ??? ????? ?????? ?? ??? ???? ASP.NET ?????? ??? ?????? ??

???????

???? ???????: 894670 - ????? ??? ??????: 23/?? ??????/1428 - ??????: 2.7
????? ???
  • Microsoft ASP.NET 1.1
  • Microsoft ASP.NET 1.0
  • Microsoft .NET Framework 1.0
  • Microsoft .NET Framework 1.0 Service Pack 1
  • Microsoft .NET Framework 1.0 Service Pack 2
  • Microsoft .NET Framework 1.0 Service Pack 3
  • Microsoft .NET Framework 1.1
  • Microsoft .NET Framework 1.1 Service Pack 1
????? ??????: 
kbmt kbhttp404 kbdev kbasp kbtshoot kberrmsg kbprb KB894670 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????894670

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

 

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