An ASP.NET debugging error

xiaoxiao2021-03-06  41

In Windows 2003 (IIS6), generate an ASP.NET application with VS2003, then F5 is debugged, and the following error message appears:

Server errors in the "/ 0124" application.

Compilation error Description: An error occurred during the process of compiling to the request to provide a service to the request. Please check the following specific error details and modify the source code appropriately. Compiler error message: CS0016: Failed to write output file "E: /Windows/Microsoft.Net/framework/v1.1.4322/temporary ASP.NET FILES / 0124 / FEA90A4B / 69167562 / PW09QUE0.DLL" - "Refusal to access "Source error: Version information: Microsoft .NET Framework version: 1.1.4322.2032; ASP.NET version: 1.1.4322.2032

I used "Windows / Microsoft.Net / Framework / V1.1.4322 / Temporary ASP.NET FILES" to search for two solutions:

Modify the permissions of this directory, plus "Network Service", allowing it to have control permissions to the directory. Modify the default account of the IIS service is "Local System"

After verification, method is possible, and the method has failed. However, the method 2 will cause the IIS to run unsafe, so this method is not suitable.

Later I got the configuration of others, I found that the default account of the IIS service is "network service", which means that the permissions of my machine are set in a place difference. But where is the problem? I haven't found the answer in MSDN and Google / Baidu.

Later, I didn't know where to smoke, Ling Guang flavored, see Windows / Temp's permission settings, set "Network Service" permission to "Control" level, try debug, become!

It's really a ghost! Don't this be a bug in Windows? Or which place I have a problem with the settings?

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

New Post(0)