Abnormal Details: System.unauthorizedAccessException:

xiaoxiao2021-03-06  41

Windows 2003 and IIS 6.0 may have problems due to security enhancements

Questions are as follows:

Installing VS2003 under Windows 2003, an error occurs when running a web application: path "D: /Windows / Microsoft.Net/framework/v1.1.4322/temporary ASP.NET FILES / TEST / DB58B339 / 50F84C0" Access is rejected.

Description: Execute an unprocessed exception during the current web request. Check the stack tracking information to learn more about the error and the code caused in the code.

Abnormal Details: System.unauthorizedAccessException: Access to the path "D: /Windows/Microsoft.net/framework/v1.1.4322/temporary asp.net files / test / db58b339 / 50f84c0" is rejected.

ASP.NET is not authorized to access the requested resource. Consider grant the ASP.NET request ID access to this resource. ASP.NET has a base process identifier used when the application is not simulated (usually, {Machine} / aspnet on IIS 5, in IIS

6 on the network service). If the application is using simulation, the identifier will be an anonymous user (usually IUSR_MACHINENAME) or authenticated request users.

Since I installed Windows 2003, I have never met such a problem, because in IIS 6.0, the marked NetWork Service in the default application pool is used, so in the process, running using the Network Service account to run W3wp.exe process, while we need to D: /Windows / Microsoft.Net/framework/v1.1.4322/temporary when we run VS 2003

ASP.NET FILES / directory is read and write, so I read this folder, I found that there is no NetWork Service, add this account, and select Full Control, solve the problem, but as for this problem, I am not big. Clear, because when you install Windows 2003, the Network Service account is existing in the Temporary ASNET FILES.

By the way, the default application pool in IIS6.0 is in the default application pool -> Properties -> The NET Service is changed to local system This problem can also be resolved.

转载请注明原文地址:https://www.9cbs.com/read-73166.html

New Post(0)