Select the product you need help with
??????? ????????? ?? ??????? ?? ??????? ???????? asp.NET ??? ?????? ?????????? ID: 910449 - ?? ???????? ?? ?????? ??? ?? ?? ???? ???? ???? ??. ASP.NET ?????? ???? ???????????? ????????? ?? ??????? ?? ??????? ???????? Microsoft asp.NET ??? ?????? ?????????? ?????????? ?? ??? ?? ????? ?? ???????? ???? ?? ??? ?? ???? ???? ??? ?? ?? ???????? ?? ????? ?? ??? ????? ??? ?? interest ?????? ?? ???? ??? ???????? ?????? ?? ?????? ???? ????? ?????? ??? ??????? ????? ???? ?? ??? ?? ???????? ???? ????? ??? ???? ???? ?? ??????????? ?? ????? ???? ??? ????? ?? ???? ?????? ?? ??? ?????
(http://support.microsoft.com/common/survey.aspx?scid=sw;en;1176&p0=&p1=&p2=&p3=&p4=)
???????? ?? ????? ?? ???? ??????? ?? ??? ?? ???? ?? ????? ????? ??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/bb896642.aspx)
HTTP://TechNet.Microsoft.com/en-us/sysinternals/bb963881.aspx
(http://technet.microsoft.com/en-us/sysinternals/bb963881.aspx)
?? ?????? ?? ??? ???? ?? ??? ???? ????? ????
???? ???? ?????? ????? ????? ???????? ?? ???? ?????? ??, "???? ?? ???? ?????? ??????" ??? ???? ??? Microsoft .NET Framework ?????? thrown ?????? ????? ?? ?????? ????? ??, ?? ?? ?? ?????? ???? ???? ???? ??? ???? ????????? ???????? ?????? ????? masks ?? ???? ??? ?? ?????? ?????? ????? ???? ????, ????, "?? ????????? ?????? ??????? ???? ????? ??? ???? ?????????? ?? ?????? ???? ????? ?? ???,"?? ???? ?? ?? ???? ????? ?? ??? ??? ??? ???? ???????? ?????? ????? ??????? ???? ??? ??? ????? ?? ??? ??? ????
???????? ???????? ?????? ????? ????? ?? ??? ???? ???? ????? ?? ??? ???? ?????? ?? ?????? ?? ???? ???? ?? ?? ???? ?????? ?? ???? ?? ??? ???? ????? ?? ??? ?????? ?? ?-??? ??????? ?? ??? ?? ???? ?? ?????? ???? ?? ????????? ???? ?? ??? ?? ??? ??? ?? ???? ?? ????? ?? ????? ????? ?? ??? ????? ??? ????? ??? ????? ??????, ?? ??? ?? ?? ???? ??? ????? ??? ??? ????????? ????????? 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 890960 ??????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.
(http://support.microsoft.com/kb/890960/
)
Troubleshooting ASP.NET using FileMon???: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. ?? ??? ?? ??????? ???? ![]() 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:
???:??? ???? ?????? reproducible ??? 100 ??????? ??, ???? ????????? ?????????? ???? ?? ???? ?? ?? ????? ?? ?????? ?? ??? ???? ???? ?? ???? ??? ??? Test.aspx ????? ?? ??? ?? ?? ?????? ???? ?? ?? ???? ?? ??? ???? ?? ??? ??? ?????? asp.NET ??????? ????????? ????? ?? ?????? ????? ??? ?? ???? ??, ???? ??? ?????? ?? ?????? ????? ???????? ??????? (ACLs) ??? asp.NET ?? ??? ????? ??? ???? ASP.NET ?????? ????? ???????? ??????? (ACLs) ?????:HTTP://msdn2.Microsoft.com/en-us/library/kwzs111e.aspx
(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 ??? ?? Windows Explorer ?? ?????? ?????? ????? ?? ?????? ?? ???? ??? ?? ????? ?? ??? ???? ???? ??? ???? ???? ???
(http://support.microsoft.com/kb/891031/
)
?? ?? asp.NET ??????????? ?? ?????? ?????? ?? ????? ??????? ??????? ??????
907272
(http://support.microsoft.com/kb/907272/
)
???????? ?????????? ?? ???????? ???????? ?? ?????? ????326985 ???? ??????? ?? ??? IIS ?????????? ???? ??, ????? Microsoft ?????? ??????? (MSDN) ??? ???? ?????:
(http://support.microsoft.com/kb/326985/
)
IIS ??? Kerberos ?? ??????? ???????? ?? ?????? ???? ????(VS.71) http://msdn2.Microsoft.com/en-us/library/aa292114 .aspx
(http://msdn2.microsoft.com/en-us/library/aa292114(VS.71).aspx)
????????? ?? ?????? UNC ???? ???? ?? ??? ?????? ?? ???? ???, ????? ?? SQL Server asp.NET ????????? ?? ?? ??? ?? ?? ?????? ????? ?? ?????? ???? ?? ???? ???, ?? ?? ???? ?? ???? ?????? ?? SQL ????? ?? ??? ???? ????? ??? (SPNs) ??? ???? ?? ???? IIS ??? ???? ????????? ?? ??? ???? ?????? ?????????? ????? ???? ?? ?????? ????, ?? ??? ?? SQL ????? ?? ??? ?? ?? ?????? ????? ?? ?????? ???? ??? ????? ???????? ??????? ?? ???, Microsoft ?????? ??? ??? ???? ????? ?? ??? ????? ???? ?????? ????? ????:: 319723
(http://support.microsoft.com/kb/319723/
)
??? SQL Server ???????? ?????????? ?? ????? ???? ????316989 ???????? ?????? ?????? ?? ????????? ?? ??? ??? ??????? ??? ?????? ?????? ?? ?????? ???? ?? ??? ??? ??? ?? ?????? ?? ????? ???? ?? ??? ???????? ???? ??net use???? ?? ???? ?????-?????????? ?? ???? ?? ????? ???? ???? ?????? ???????? ?? ????? ?? ?? ??? ????? ?? ??? ??????? ?? ??????? ?? ?????? ??????? ???? UNC ?? ???? ???? ?? ???? ?? ????? ???? ?? ??? ??????? ??????? ?? ???, Microsoft ?????? ??? ??? ???? ????? ?? ??? ????? ???? ?????? ????? ????::
(http://support.microsoft.com/kb/316989/
)
?????? ????? ?? ?? ???? ????????? ???? ??????? ????? asp.NET ?? SQL ????? ?? ???: "????? ?????????? ?? ??? ???? ???: 'AccountName'"257174
(http://support.microsoft.com/kb/257174/
)
IIS ?? ??? ??? ?? ?????? ?? ????? ??????? ????? ??????? (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 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.
(http://msdn2.microsoft.com/en-us/library/wyts434y.aspx)
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322>caspol -s off ?? ??? ?? ????? ????? caspol ?s, IIS ????? ???? ?? ????????? ?? ??????? ???? ?? ?????? ????? ??? ?? ??? ????? ???? ??, ?? ???? ??? ?????? ?? ??? ??? ?? ?????? ?? ???? ???? ?? ????
?? Microsoft .NET Framework ??? ?????? ?? ????? ???? ???VersionNumber???????????? ????? ?? ???????????? ????? ??? ???? ???Microsoft (?????) .NET Framework CasPol 1.1.4322.573 ???????? (C) Microsoft Corporation 1998-2002? ?????????? ????????.. ????? C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322 > ?? ???????? ???,?????? ??? ?????? ???My_Computer_Zone??? ???? ?? ??? ??? ???? ??? ????? ???? ??. ??? ????????? ????????? ????????????? ?? ?? ?? ?? ???:????? ?? ???My_Computer_Zone???? ?? ??? ?? ???, ????? ????? ?? ???? ????:
???? ??????? ?? ???, ????? asp.NET ??? ????? ???????:HTTP://msdn2.Microsoft.com/en-us/library/87x8e4d1.aspx
(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 ?? ??????? ?? ???????? NTFS ????? ?? ??????? ?? ?????????? ?? ?????? ?? ? ???? ?? ???? ?? ??????? ?? ?????? ?? ??? ????? ?? ??? ??? ????????? ???, ????? ?????????? ???????? ?? ????????? ?? ??????? ?? ?? ???? ?? ???????? ???? ?????? ?? IIS ??????? ??? ?????? ?? ???, ?? ??? ???? ??? ?? ?????? ??? IUSR_ComputerName ???? C:\Winnt\System32\Inetsrv ?????????? ?? ????? ???? ???IIS ?????? ??? ?? ???? ??? ???? ??????? ?? ??? Microsoft ???????? ??? ???? ????? ?? ??? ????? ???? ?????? ?? ????? ????: 318380
(http://support.microsoft.com/kb/318380/
)
Microsoft ??????? ?????????? ???????? (IIS) 5.0 ?? 6.0 ?????? ??? ?? ?????812614
(http://support.microsoft.com/kb/812614/
)
???????? ????????? ?? IIS 6.0 ?? ??? ?????????? ??????271071 ??????????? ????,???????????? ????,?????, ?? ??? ???? ????logfiles?????? ?? ????? ?????? IIS ???? ???????? ??? ??, ??? ????? ?? IIS ??? ???? ??? ???? ?? ???, ????? ????WebSiteName??? ??, ?? ?? ????????? ??? ??????????? ????,???????? ?? ??? ??? ????? ?????????? ?? ????
(http://support.microsoft.com/kb/271071/
)
???? ??? ???? ?? ??? ?????? NTFS ????????? ?? ?????????? ?????? ?? IIS 5.0 ??? ????? ?? ??????? ????? ?? ???? thing, 5 ?????? ??? ??? ?? ????? ?? ???? ?????? helpmsg?? ?????? ??? ?? ???? ??????? ?? ??? ????: C:\Documents ?? Settings\User >??? helpmsg 5 ????? ????????.. C:\Documents ?? Settings\User >??? helpmsg 50 ??????? HTTP ?????? ????? ?? ????? ???? ?? ??? ???? ???? ?? ???? ??? ???? ??????? ?? ??? Microsoft ???????? ??? ???? ????? ?? ??? ????? ???? ?????? ?? ????? ????:?????? ??????? ???? ??? 294807 ??? ??? ??????? ?????? ??? ??? ?????? ?? ?????? ????? ?? ??????? ???? ?? ??? ????? ???? ?? ??? ????? ???
(http://support.microsoft.com/kb/294807/
)
Internet Explorer 5.x ?? 6.x "?? ??????? HTTP ?????? ?????" ?????? ????? ???? ?? ??? ?????????????? ??????? ?? ???, Microsoft ?????? ??? ??? ???? ????? ?? ??? ????? ???? ?????? ????? ????::306590
(http://support.microsoft.com/kb/306590/
)
ASP.NET ??????? ????????? ??????317012
(http://support.microsoft.com/kb/317012/
)
ASP.NET ??? ????????? ?? ?????? ?????ASP.NET 2.0 ????????? ?? ??? ??? ???? ???? ????? ?? ??? ???? ???? ???? ??? ?? ?? ?? ??????? ?? ??????? ??????? ?? ????????? ??????? ???????? ?? ?? ???? ?? ??? ?? ??? ??? ?????? ???? ??? ????, ?????? ???? ??????? ?? ??? ?? ???! ????? ?? ??? ??? ????? ???? ?? ??? ????? ???????? ?? ??? ?????HTTP://msdn2.Microsoft.com/en-us/library/ms998297.aspx
(http://msdn2.microsoft.com/en-us/library/ms998297.aspx)
ASP.NET ????? ????????? HTTP://msdn2.Microsoft.com/en-us/library/aa302377.aspx
(http://msdn2.microsoft.com/en-us/library/aa302377.aspx)
????? asp.NET ?????? ???? ????? HTTP://support.Microsoft.com/aspnetpsvc
(http://support.microsoft.com/aspnetpsvc)
(http://support.microsoft.com/common/survey.aspx?scid=sw;en;1176&p0=&p1=&p2=&p3=&p4=)
?????? ????? ?? ??? ?????? ????? ??? ?? ????? ??? ??? addressed ?????? ?? ???? ????? ???? ?? ??? ??????????????? ID: 910449 - ????? ???????: 06 ?????? 2010 - ??????: 2.0
???? ?????? ???????? ??????????: ?? ???? ?? ???? ??????? ?? ????? ?? Microsoft ????-?????? ?????????? ?????? ?????? ???? ??? ??. Microsoft ???? ??? ????-???????? ?? ????-???????? ????? ?????? ?? ???? ???????? ???? ?? ???? ????? ????? ??? ?? ??? ?????? ?? ???? ???? ???? ??? ????? ??. ???????, ????-???????? ???? ????? ???? ???? ???? ???. ?????, ????????, ?????-???? ?? ??????? ?? ???????? ?? ???? ???, ???? ?? ??? ?????? ???? ???? ??? ????? ??? ?? ???? ??. Microsoft ??????? ??? ???? ?? ?????? ?? ??????????, ????????? ?? ??? ?????? ?? ???? ????? ?? ???? ???????? ?? ??? ???? ????? ?? ??? ????????? ???? ??. Microsoft ????-?????? ?????????? ?? ????? ?????? ?? ?? ??? ??. ?????????? ?? ??????? ????????? ??????? ??:910449
(http://support.microsoft.com/kb/910449/en-us/
)
| ???? ?????? |







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








