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

???? ?????? ???? ??????
???? ID: 910449 - ?? ???????? ?? ?????? ??? ?? ?? ???? ???? ???? ??.
ASP.NET ?????? ???? ?????

??????? ????????? ?? ??????? ?? ??????? ???????? Microsoft asp.NET ??? ?????? ??????

???? ?????????? ?? ??? ?? ????? ?? ???????? ???? ?? ??? ?? ???? ???? ??? ?? ?? ???????? ?? ????? ?? ??? ????? ??? ?? interest ?????? ?? ???? ??? ???????? ?????? ?? ?????? ???? ????? ?????? ??? ??????? ????? ???? ?? ??? ?? ???????? ???? ????? ??? ???? ???? ?? ??????????? ?? ????? ???? ??? ????? ?? ???? ?????? ?? ??? ????????????? ?? ????? ?? ???? ??????? ?? ??? ?? ???? ?? ???
??? ?? ??????? ???? | ??? ?? ??????? ????

?? ????? ??

Hello, ?? ?? Vignesh A.G asp.NET ??? ??? ASP.NET ?????? ???? ????? ??? ???? ?????? ??! ??? Microsoft ?? ?? ?? ?? ???? ?? ??? ??? ?????? ?????? ???????? ??? ?? ???, ?? ???? ???? ??? asp.NET ?? Microsoft ??????? ?????????? ???????? (IIS) ?? focusing ???? ???

?? ????? ?? ????? asp.NET ?? ?????? ?? ??? ???? ???? ????? ???? ?? ??? ????????? ??? ?????? ?????? ??????? ?? ????????? ??? ?? ??? ??????? ????????? ?? ??????? ???????? ?? ?? ?? ???? ?? PSS ????? ?? ?? ???? ??? ??? ????? ????? ??????? ????? ????????? ?? ??????? ?? ??????? ???????? asp.NET ??? ?? ???? ???? ???? ?????? ???, ??? ????? ????? ?????? ??? ??? ??? ?? ????? ??? ???? ???? ?? ???? ?? ?? ?????? ?? ?? ???? ??? ?????, ???????? ?? asp.NET ??????? ?? exhaustive ?? ??????? ??????? ?????? ?? ??? ?? ????? ????? ???? ?? ??? ?? ????? ?? ???? ?? ?????? ?? ????? ??????? ?? ????? feeling ???? ???

?????? ?????

???? ???? ?? ?? ??? ?? ??? ?? ?? ??? ???? ?? ?????? ??, ???? ?????? ????? ???? ??? ??? ????? ?? ??? ????? ?? ??? ????? familiarize ???? ?????? ??? ????? ????? ??? ?? ???? ???? FileMon, RegMon, ?? ??????? ???????? ????? ?? ??? ?????? ??? FileMon ?? ???? ??? ???? ??????? ?? ??? ????? Microsoft ??? ???? ?? ????:
HTTP://TechNet.Microsoft.com/en-us/sysinternals/bb896642.aspx
RegMon ?? ???? ??? ???? ??????? ?? ??? ????? Microsoft ??? ???? ?? ????:
HTTP://TechNet.Microsoft.com/en-us/sysinternals/bb963881.aspx

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

  • ???? ?? ????????? ??? ???? ??? ???, ?? ???? ?? ??? ???? ???? ?????? ??? ?? ????????? ?????? ???? ?? ?? ????? ?? ?????????? ???????? ?? ??????? ?????? ???? ??? ?? ??? ??? ??? rollout ??? ?? ???? ?? ?????? ???
  • ???? ?????? .HTML ??. asp ????? serve IIS ???
  • ??? ????????? ???????? IIS ?? ???? ????? ??????? ?? ????
  • ???? asp.NET ????????? ?? ???? ?????? ?? ??? ????? ???? ?? ???? ??? ?? ???? ????????? ?? ???? ?? ???? ???
  • ?? ?????? ??????? ???? ??? ???????????? ?? ??? ?? ???? ??????? ???????????? ?? ????
  • ??? ????? ?? ??????? ??? ?? ?????? ???? ??? ?????? reproducible ??, ?? ?? ?? reproducible ???? ??? ??????? ?? ????
  • ??? ?? ????????? ?? ????? ?? ??? ???, ?? ?? impersonated ?????????? ?? ??? ?????? ?? ??? ?????? ??????
??? ?????? ?? ???? ?????? ?? ????? ???? ?? ??? ?????? ???? ??? ?? ???? ?????? asp.NET ??????? ??? ?? ??? ?? ?? ????? ???, ?? ??? ???? ??? ???? ?? ?? ??????? ?? ???????? ?? ????? ??, ?? ?? ?? ?? ?? ??????? ?????? ?????? ???? ?? ?????? ???? ?? ??? ???? ?????? ??? ??? ???? ??, "??? ??? ??????? ?????? ????? ?????? ???? asp.NET ????????? ?? ????? ?? ?????? ???? ??? saying ?? ???? ???? asp.NET ????? ????? ??????, ?? ????? ???? ?? ??? ????? ??? ??? ?? ??? ?? ?????" ????? ????? ?? ????? ?? ??? ?? ???? ?? ????? ?????? ????? ?? ??? ???? ??? ?? ???? ?? ??? ???? ?? ??? ???? ???? ??? ????? ???? ????? ??...

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

?? ???????? ?? ???? ?????? ??, "???? ?? ???? ?????? ??????" ??? ???? ??? Microsoft .NET Framework ?????? thrown ?????? ????? ?? ?????? ????? ??, ?? ?? ?? ?????? ???? ???? ???? ??? ???? ????????? ???????? ?????? ????? masks ?? ???? ??? ?? ?????? ?????? ????? ???? ????, ????, "?? ????????? ?????? ??????? ???? ????? ??? ???? ?????????? ?? ?????? ???? ????? ?? ???,"?? ???? ?? ?? ???? ????? ?? ??? ??? ??? ???? ???????? ?????? ????? ??????? ???? ??? ??? ????? ?? ??? ??? ????
  • ?????? ????? ?? ????????? ?????????? ??? Web.config ????? ????? ?? ????????? ????customErrors??? ?? ??? "???" =? ????? ??????, ?? ?????? ?? ???: ??????? ?????
  • ?? ??? ?? ???? ?? ???? ?? ????????? ?????? ?????? ??? ???????? ????? ?????/?????? ?? ???? ??? ??? ?? ??? ?? ??? ???????? ?????? ????? ?? ????? ???? ??? ?? ?? ?????? ?? ?????? ?? ???? ???Application_ErrorGlobal.asax ????? ?? ???? ?? ??? ?? ????? ???? ?? ?? ???? ??????? ??? ?????Server.Transfer("errors.aspx")??? ????? ?????? ????? ?? ???? ?? ??? ????? ?????
/Global.asax 
void Application_Error(object sender, EventArgs e) 
 {
  // Code that runs when an unhandled error occurs
  //Server.Transfer("Errors.aspx"); 

  } 
???????? ?????? ????? ????? ???, ?? ??? ??? ?????? ???? ??????? ?????? ?? ?? ???? asp.NET ????????? ?? ??????? ?? ?????? ?? ??? ?? ?? ?????? ?????? ???????? ????????? ?? ???? ?? ?? ????????? ???? ?? ??? ??? ??????

???????? ???????? ?????? ????? ????? ?? ??? ???? ???? ????? ?? ??? ???? ?????? ?? ?????? ?? ???? ???? ?? ?? ???? ?????? ?? ???? ?? ??? ???? ????? ?? ??? ?????? ?? ?-??? ??????? ?? ??? ?? ???? ?? ?????? ???? ?? ????????? ???? ?? ??? ?? ??? ??? ?? ???? ?? ????? ?? ????? ????? ?? ??? ????? ??? ????? ??? ????? ??????, ?? ??? ?? ?? ???? ??? ????? ??? ??? ?????????

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

??? ?? ??? ????? ?????? ????? ?? ?????? ?? ?????? ????? ?? ??????? ???? ??? ?????? ???, FileMon ????? ?? ?? ?????? ?? ???: ??????? ????? Stop and save the capture as FileMon.xls and open the file in Microsoft Excel. ????? ????????:???? ??,???????? ????-????? ????, ?? ???? ?????? ??????to use the filtering capabilities of Excel. Now select the drop-down list in column F and look for "ACCESS DENIED" errors.

A sample FileMon output is shown below.
10381 1:01:11 PM w3wp.exe:2320 OPEN
				C:\winnt\microsoft.net\framework\v1.1.4322\Temporary ASP.NET
				Files\sessiontest\8832e585\275ec327\global.asax.xml ACCESS DENIED NT
				AUTHORITY\NETWORK SERVICE
As you can see from the filtered results, we have narrowed down the cause of the problem. FileMon shows that the NT AUTHORITY\NETWORK SERVICE account is missing NTFS permissions on the C:\Winnt\Microsoft.net\Framework\v1.1.4322\Temporary ASP.NET Files folder. This should be straight forward to fix.For more information about using FileMon to troubleshoot ASP.NET, click the following article number to view the article in the Microsoft Knowledge Base:
890960Troubleshooting ASP.NET using FileMon
??????A good step would be to change the ASP.NET process account to an Admin account to see if it fixes the problem. In IIS 5.x you would change theuserNameto "SYSTEM" in the process model section of the machine.config file and in IIS 6.0 you would change the IIS AppPool identity to "Local System" to see if the application works.

???:This should not be used as a solution, but only as a troubleshooting step.

Most people would tend to reinstall the Microsoft .NET Framework or even go to the extent of reinstalling the operating system. This is not a recommended troubleshooting step and does not guarantee that the issue will not reoccur. I will provide one such example. Intermittent issues are often hard to isolate and troubleshoot. In this scenario the customer's application would work fine for a few hours, and then all of a sudden it would fail with the error below. The customer had already tried reinstalling the .NET Framework as well as the operating system. This seemed to fix the problem for a few days, but then it reappeared.

?? ??? ?? ??????? ?????? ??? ?? ??????? ????
Server Error in '/MyApp'
				Application


Running FileMon did not show any ACCESS DENIED errors. All the necessary permissions for the ASPNET account were in place. The only way to recover from the problem is to reboot the box. Even an IIS reset would not help. You are thinking "Ah, Microsoft Software always needs a reboot to recover?" Well, you are wrong!

The key here is to look closely at the error message. The error clearly says "cannot open a file for writing," and not the usual ACCESS DENIED error, so I am thinking that it's some other process that is holding a lock on a file or folder and not allowing ASP.NET to write to it. It makes sense that a reboot was killing the other process and the ASP.NET application starts working again until the rogue process locks the file again. The logical thing to do would be to turn off all antivirus programs, third-party spyware, or any other file monitoring software that runs on the server. I do not want to point out any specific third-party software. But, in general, antivirus software is known to cause a lot of grief for IIS and ASP.NET applications. Another known issue caused by antivirus software is session loss due to AppDomain recycles when the Bin folder or the .config files are touched.

??????The easiest way to turn off third-party services is to:
  1. ????? ????,???????????? ????,?????, ?? ??? ???? ????Msconfig.
  2. ??? ???????????? ???? ??????? Microsoft ?????? ??????.
  3. ????? ????,??? ?? ????? ?????????-???? ???? ?? ??? ?????
  4. ????? ????,???????????? ????,?????, ?? ??? ???? ????iisresetCLR ????? ????????? ??? ??? ?? ??? ???? ?? ????
??? ?????? reoccurs ????? ?? ??? ???? ????????? ?? ??????? ????? ??? ?? ?? ?? ???? ????????? ????????? ????? ???, ?? ??? ????? ????????? ?????? ???? ?? ??? ?? ?? ???????? ???? ?? ??? ???????-??-?????? ???? ?? ??????

???:??? ???? ?????? reproducible ??? 100 ??????? ??, ???? ????????? ?????????? ???? ?? ???? ?? ?? ????? ?? ?????? ?? ??? ???? ???? ?? ???? ??? ??? Test.aspx ????? ?? ??? ?? ?? ?????? ???? ?? ?? ???? ?? ??? ???? ?? ??? ??? ?????? asp.NET ??????? ????????? ????? ?? ?????? ????? ??? ?? ???? ??, ???? ??? ?????? ?? ?????? ????? ???????? ??????? (ACLs) ??? asp.NET ?? ??? ????? ??? ????

ASP.NET ?????? ????? ???????? ??????? (ACLs) ?????:HTTP://msdn2.Microsoft.com/en-us/library/kwzs111e.aspx

??????%SystemRoot%\Assembly ??????? ?? ??????? ??????? ??? ??? ?? ?? ?????? ?? ??? ACLs ?? ??????? ???? ?? ??? Windows Explorer ?? ????? ???? ???? ?? ????? ???? ????, ?? ????? ????????? ?? ????? ???? ?? ????? ???? ?????:
Cacls %windir%\assembly /e /t /p domain\useraccount:r
???????? ??? ??, Windows Explorer ?? ????? ??, ???? ?? ???? ???????? Shfusion.dll GUI ?? ?????? ?? ?????? ???? ?? ??? ????? ???? ?? ???:
C:\WINDOWS\Microsoft.NET\Framework\VersionNumber>regsvr32?u shfusion.dll
Windows Explorer ?? ??? ????????? ??? ?? ??? ??, ?? ??? ????? ???? ?? ??? Shfusion.dll ???: ???????:
C:\WINDOWS\Microsoft.NET\Framework\VersionNumber>regsvr32 shfusion.dll

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

?? ???? asp.NET ????????? ???? ?????? ???? Microsoft SQL Server ?? ??? ????????? ?????? ???????? (UNC) ???? ?????? ?? ????? ??? ??, ?? ????? ??? ?? ??? ???? ?? ???? ???? ??, ?? ????? ??? ??? ?? ??? ??? ?????? ?????? ??? ?????? ????? ?? ??????? ???? ?? ??? ?? ???????? ?? ?????? ???? ?? ???????? ????????? ??????? ?? ???, Microsoft ?????? ??? ??? ???? ????? ?? ??? ????? ???? ?????? ????? ????::
891031?? ?? asp.NET ??????????? ?? ?????? ?????? ?? ????? ??????? ??????? ??????
??? ?? Windows Explorer ?? ?????? ?????? ????? ?? ?????? ?? ???? ??? ?? ????? ?? ??? ???? ???? ??? ???? ???? ???
  1. ?????? ????? ?? ??????? ???? ??????? ?????? ????? ???????????, ???????????????? ??????? ?? ??? ??? ???? ?????/????, ?? ?? ???? asp.NET ????????? ?????? ????? ???? ???? ?? ?? ????????? ???? ??????, ?? ?????? ????? ????? ???????? ????

    ???:????? ?????891031??????? ?? asp.NET ?? ?????? ???????? ?? ??????? ?? ??? ?????? ???
  2. IIS ?????, ??? ???? ?????/???? ?? ???, ??? ?? ????? ???????????????? ????,?????, ?? ???? ??? ?????? ????? ?? UNC ???? ?? ???? ????:
    \\RemoteServerName\Test
    ??? ?? ?? ??????? ?? ??????? ???? ??? ?????? ???, ?? ???? ??????? ?? ?????? ???? ?? ?????? ?? ?? ???? ?? ??? ??????????? ???? ?? ?? ???? ??? ???? asp.NET ????????? ????? ???? ???
  3. ????? ??? ?? ??? CreateUNCFile.aspx ???? ?? ???? ?? ????? ?? ???? ????????? ?? ?????????? ??? ???? ?? ?????? ???
    <%@ Page Language="vb" %>
    <%@ Import Namespace="System.IO" %>
    <html>
      <head>
      <title>Writing to a Text File</title>
    <script runat="server">
        Sub WriteToFile(ByVal sender As System.Object, ByVal e As System.EventArgs)
            Dim fp As StreamWriter
                fp = File.CreateText("\\<RemoteServerName>\Test\" & "test.txt")
                fp.WriteLine(txtMyFile.Text)
                lblStatus.Text = "The File Successfully created! Your ASP.NET process is able to access this remote share"
                fp.Close()
        End Sub
    </script>
    
    </head>
    <body style="font: 10pt verdana">
                <h3 align="center">Creating a Text File in ASP.NET</h3>
        <form id="Form1" method="post" runat="server">
                            Type your text:
                            <asp:TextBox ID="txtMyFile" TextMode="MultiLine" Rows="10" Columns="60" Runat="server" /><br>
                            <asp:button ID="btnSubmit" Text="Create File" OnClick="WriteToFile" Runat="server" />
                            <asp:Label ID="lblStatus" Font-Bold="True" ForeColor="#ff0000" Runat="server" />
        </form>
    </body>
    </html> 
    
  4. ????????? ???? ?? ?? ??????? ????<remoteservername></remoteservername>??? ?? ????? ?????? ???
    fp = File.CreateText("\\<RemoteServerName>\Test\" &	"test.txt")
    ????? ?? ?? ???? ?????? ????? ?? ??? ?? ??????????? ???? ???
  5. Windows Internet Explorer ????? ?? http:// ???? ?? ??? ??????? ????IISServerName/AppNameIIS ????? ?? ????? ??? ??????? ???????? ?? /CreateUNCFile.aspx.
  6. ??? Test.txt ????? ??????????? ????? ??, ?? ???? asp.NET ????????? ?? ???? ??? ?????????? ?????? ?????? ?? ????
  7. ??? ????? ??????? ???? ?? Internet Explorer ??????? ??????? ?? ????? ?? ???? ?? ??? ?? ?????? ???? ?? ??? ?? ?? ????? ????? IIS ????? ??, ?? ?? ?? ?? ?? "????? Hop" ???????? ??? ??? ??? ???? ?????????? ??????? ?? ??????? ?? ???????? ???? ?? ?? ?????? ???????? ?? ??????? ?? ??? ?? ????? ?????????? ??? ??? ????? ?? ??? ???, ??? ?? ?????? ????? ??? "????? Hop" ??????? ???? ?????? ?????? ?? ????? ??, ?? ??? ?? ?????? ?? ?????? ???? ?? ??? ????? ?? ??? ?? ??????? ?? ?????? ?? ??? ????? ?? ???? ??? ????? ?? ??????????? ?????? ?? ??? ?? ??????? ???? ?? ???????? ?? ???? ???
??? ???? ?? ????? ???? NTLM ??????? IIS ??? ???? ??? ?????? ?????????? Kerberos ?? ????? ???? ????????? ??????? ?? ???, Microsoft ?????? ??? ??? ???? ????? ?? ??? ????? ???? ?????? ????? ????::
907272???????? ?????????? ?? ???????? ???????? ?? ?????? ????
326985IIS ??? Kerberos ?? ??????? ???????? ?? ?????? ???? ????
???? ??????? ?? ??? IIS ?????????? ???? ??, ????? Microsoft ?????? ??????? (MSDN) ??? ???? ?????:
(VS.71) http://msdn2.Microsoft.com/en-us/library/aa292114 .aspx


????????? ?? ?????? UNC ???? ???? ?? ??? ?????? ?? ???? ???, ????? ?? SQL Server asp.NET ????????? ?? ?? ??? ?? ?? ?????? ????? ?? ?????? ???? ?? ???? ???, ?? ?? ???? ?? ???? ?????? ?? SQL ????? ?? ??? ???? ????? ??? (SPNs) ??? ???? ?? ???? IIS ??? ???? ????????? ?? ??? ???? ?????? ?????????? ????? ???? ?? ?????? ????, ?? ??? ?? SQL ????? ?? ??? ?? ?? ?????? ????? ?? ?????? ???? ??? ????? ???????? ??????? ?? ???, Microsoft ?????? ??? ??? ???? ????? ?? ??? ????? ???? ?????? ????? ????::
319723??? SQL Server ???????? ?????????? ?? ????? ???? ????
316989?????? ????? ?? ?? ???? ????????? ???? ??????? ????? asp.NET ?? SQL ????? ?? ???: "????? ?????????? ?? ??? ???? ???: 'AccountName'"
???????? ?????? ?????? ?? ????????? ?? ??? ??? ??????? ??? ?????? ?????? ?? ?????? ???? ?? ??? ??? ??? ?? ?????? ?? ????? ???? ?? ??? ???????? ???? ??net use???? ?? ???? ?????-?????????? ?? ???? ?? ????? ???? ???? ?????? ???????? ?? ????? ?? ?? ??? ????? ?? ??? ??????? ?? ??????? ?? ?????? ??????? ???? UNC ?? ???? ???? ?? ???? ?? ????? ???? ?? ??? ??????? ??????? ?? ???, Microsoft ?????? ??? ??? ???? ????? ?? ??? ????? ???? ?????? ????? ????::
257174IIS ?? ??? ??? ?? ?????? ?? ????? ????

??? ????? ??????? (CAS) ?????? ??????

ASP.NET ??? ?????? ????? ??????? ?? ??? ???, ?? ???? ????? ?? ????, ????? ?? ??????? ??? ?? ???? ?????? ??? ??? ?????? ???, FileMon ?? RegMon ?? ???? ?????? ??? ??????? ???? ??? ??? ?? ??? ?????? ??? ???? ???? ????

????????

ASP.NET ????????? ?? ??????? ???? ?? ?????, ?? ?? ??????? ?????? ???? infamous ?????????? ?????? ?? ??? ???? ???? ??:
?? ??? ?? ??????? ?????? ??? ?? ??????? ????
????? ????????? ????????
????? ??? ?????? ??:
????? ??????: ??????
????? ?????: asp.NET 1.1.4322.0
????? ??????: ??? ????
????? ID: 1088
??????: 10/11/2006
???: 10:54:04 PM
??????????: ???? ????
????????: ComputerName
?????::
????????? ????? ?? ????? ???? ?? ??? ??????? ?????? ?? ????????? ???? ??? ????? ??????: 0x8013150a
?? ??? asp.NET ????????? ????? ????? ??, ASP.NET ???? ??????? ??????????? ???? ?? ??????? ???? ????? ?? ?? ?????? ?? ??? ????????? ???AspNetHostingPermission????????? ?? ??? ????????:??????? ??, ?? ?? ?????? ????????? ????? ?? ??? ??? ???? ?? ??? ???? ?????? ??? ??? ??????? ???? ??? ????? ?? ???????? ???? ??? ?? ??????? ??? ?? ???? ??? ?????? ????? ????? ???? ??????? ?? ???, "asp.NET ??????? ???? ?? ????" ??????? ?? ????? MSDN ??? ???? ?????:
HTTP://msdn2.Microsoft.com/en-us/library/wyts434y.aspx
?? ?????? ?? ?? ???? ?? ??? ?? ?????? ?? ???? ????????in the "Issue occurs because of missing permissions on a local resource that the ASP.NET application tries to access" section, but do not get disheartened if the application does not work with an Administrator or SYSTEM account. You need to check to see if the issue can be caused by Code Access Security. This can easily be done by turning off Code Access Security using the Caspol.exe utility.
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322>caspol -s off
Microsoft (?????) .NET Framework CasPol 1.1.4322.573
???????? (C) Microsoft Corporation 1998-2002? ?????????? ????????..

?????

C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322 >
?? ??? ?? ????? ????? caspol ?s, IIS ????? ???? ?? ????????? ?? ??????? ???? ?? ?????? ????? ??? ?? ??? ????? ???? ??, ?? ???? ??? ?????? ?? ??? ??? ?? ?????? ?? ???? ???? ?? ???? ?? Microsoft .NET Framework ??? ?????? ?? ????? ???? ???VersionNumber???????????? ????? ?? ???????????? ????? ??? ???? ???

?? ???????? ???,?????? ??? ?????? ???My_Computer_Zone??? ???? ?? ??? ??? ???? ??? ????? ???? ??. ??? ????????? ????????? ????????????? ?? ?? ?? ??

???:????? ?? ???My_Computer_Zone???? ?? ??? ?? ???, ????? ????? ?? ???? ????:
  1. ???????? ???? ??? ??? ????? ???????????????? ?????.
  2. ???-????? ????Microsoft .NET ?????VersionNumberconfiguration.
  3. ???-????? ?????????? ??????? ????.
  4. ???-????? ????????.
  5. ???-????? ??????? ????.
  6. ???-????? ????All_Code.
  7. ???-????? ????My_Computer_Zone.
??????????? ?? ??? ??? ?????? caspol ?s???? ???? ?? ??? CAS ?? ??? ?? ?? ??? ??????? ???????

???? ??????? ?? ???, ????? asp.NET ??? ????? ???????:HTTP://msdn2.Microsoft.com/en-us/library/87x8e4d1.aspx

"????? ????????? ????????" ?????? ????? ?? ??? ???? ???? ???? ???? ????? ??? ??? ???? ?????? ?? ???? ?? ?? ???? ????? ?? ??? ???? ??????????? bet ???

IIS-??????? ??????

IIS ??? IIS ?????????? ?? ??????? ????????? ?? ?????? ??? ???? ?????? ???? ?? ??????? ?????? ?? ?? ?????????? ???? ?????????? ????? ????? ??:
?? ??? ?? ??????? ?????? ??? ?? ??????? ????
?? ?? ????? ????? ?? ??? ?????? ???? ???
?? ????? ?????? ?? ??? ?????? ?? ?? ?????? ??? ????? ?? ??? ?? ???? ?????? ???
2006-10-12 22:47:28 W3SVC1 65.52.18.230 ??????? ???? /MyAPP/login.aspx - 80MyDomain\UserID_91 65.52.22.58 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727;+InfoPath.1) 401 3 5
??? 401 sub-status 3 ?? ???, "Unauthorized ?????? ?? ACL ?? ????." ????? ???? ?? ?? ?? ??? ?? ?????

?? ??????? ?? ???????? NTFS ????? ?? ??????? ?? ?????????? ?? ?????? ?? ? ???? ?? ???? ?? ??????? ?? ?????? ?? ??? ????? ?? ??? ??? ????????? ???, ????? ?????????? ???????? ?? ????????? ?? ??????? ?? ?? ???? ?? ???????? ???? ?????? ?? IIS ??????? ??? ?????? ?? ???, ?? ??? ???? ??? ?? ?????? ??? IUSR_ComputerName ???? C:\Winnt\System32\Inetsrv ?????????? ?? ????? ???? ???IIS ?????? ??? ?? ???? ??? ???? ??????? ?? ??? Microsoft ???????? ??? ???? ????? ?? ??? ????? ???? ?????? ?? ????? ????:
318380Microsoft ??????? ?????????? ???????? (IIS) 5.0 ?? 6.0 ?????? ??? ?? ?????
812614???????? ????????? ?? IIS 6.0 ?? ??? ?????????? ??????
271071???? ??? ???? ?? ??? ?????? NTFS ????????? ?? ?????????? ?????? ?? IIS 5.0 ??? ????? ?? ???
??????????? ????,???????????? ????,?????, ?? ??? ???? ????logfiles?????? ?? ????? ?????? IIS ???? ???????? ??? ??, ??? ????? ?? IIS ??? ???? ??? ???? ?? ???, ????? ????WebSiteName??? ??, ?? ?? ????????? ??? ??????????? ????,???????? ?? ??? ??? ????? ?????????? ?? ????

???? ????? ?? ???? thing, 5 ?????? ??? ??? ?? ????? ?? ???? ?????? helpmsg?? ?????? ??? ?? ???? ??????? ?? ??? ????:
C:\Documents ?? Settings\User >??? helpmsg 5
????? ????????..
???? ??????? ?????? ???, ??? 50 ?? ?????? ???? ???:
C:\Documents ?? Settings\User >??? helpmsg 50
?????? ??????? ???? ???
??????Whenever ???? ??????? ???? generic infamous "500 ?????? ????? ??????" ?????, ?? ?? ??? ????? ????? ?? ??????? HTTP ?????? ???????, ?? ????? ???? ?? ??? ?? ?? ?????? ?? ?? ??????? ????? ????? ??? ????? ?? ??? ???? ??? ?????? ?? ??? ??? ??? ?? ???? ??????? ?? ?? ???? ?? ???? ??? ???
??????? HTTP ?????? ????? ?? ????? ???? ?? ??? ???? ???? ?? ???? ??? ???? ??????? ?? ??? Microsoft ???????? ??? ???? ????? ?? ??? ????? ???? ?????? ?? ????? ????:
294807Internet Explorer 5.x ?? 6.x "?? ??????? HTTP ?????? ?????" ?????? ????? ???? ?? ??? ????
??? ??? ??????? ?????? ??? ??? ?????? ?? ?????? ????? ?? ??????? ???? ?? ??? ????? ???? ?? ??? ????? ???

??????

???? ??????? ?? ???, Microsoft ?????? ??? ??? ???? ????? ?? ??? ????? ???? ?????? ????? ????::
306590ASP.NET ??????? ????????? ??????
317012ASP.NET ??? ????????? ?? ?????? ?????
ASP.NET 2.0 ????????? ?? ??? ??? ???? ???? ????? ?? ??? ???? ????
HTTP://msdn2.Microsoft.com/en-us/library/ms998297.aspx

ASP.NET ????? ?????????
HTTP://msdn2.Microsoft.com/en-us/library/aa302377.aspx

????? asp.NET ?????? ???? ?????
HTTP://support.Microsoft.com/aspnetpsvc
???? ??? ?? ?? ?? ??????? ?? ??????? ??????? ?? ????????? ??????? ???????? ?? ?? ???? ?? ??? ?? ??? ??? ?????? ???? ??? ????, ?????? ???? ??????? ?? ??? ?? ???! ????? ?? ??? ??? ????? ???? ?? ??? ????? ???????? ?? ??? ??????????? ????? ?? ??? ?????? ????? ??? ?? ????? ??? ??? addressed ?????? ?? ???? ????? ???? ?? ??? ????????

???

???? ID: 910449 - ????? ???????: 06 ?????? 2010 - ??????: 2.0
???? ???? ???? ??:
  • Microsoft ASP.NET 2.0
  • Microsoft ASP.NET 1.1
??????: 
kbhowto kbasp kbmt KB910449 KbMthi
???? ?????? ????????
??????????: ?? ???? ?? ???? ??????? ?? ????? ?? Microsoft ????-?????? ?????????? ?????? ?????? ???? ??? ??. Microsoft ???? ??? ????-???????? ?? ????-???????? ????? ?????? ?? ???? ???????? ???? ?? ???? ????? ????? ??? ?? ??? ?????? ?? ???? ???? ???? ??? ????? ??. ???????, ????-???????? ???? ????? ???? ???? ???? ???. ?????, ????????, ?????-???? ?? ??????? ?? ???????? ?? ???? ???, ???? ?? ??? ?????? ???? ???? ??? ????? ??? ?? ???? ??. Microsoft ??????? ??? ???? ?? ?????? ?? ??????????, ????????? ?? ??? ?????? ?? ???? ????? ?? ???? ???????? ?? ??? ???? ????? ?? ??? ????????? ???? ??. Microsoft ????-?????? ?????????? ?? ????? ?????? ?? ?? ??? ??.
?????????? ?? ??????? ????????? ??????? ??:910449

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

 

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