Publish an ASP. NET Program in IIS and report the following error through IE access:
The current identifier (nt authority \ network service) does not apply to "C: \ WINDOWS \ Microsoft. NET \ Framework \ v2.0.50727 \ Temporary ASP. NET Files"OfWriteAccessPermission.
Note: unprocessed occurs during the execution of the current Web request.OfException. Check the stack trace information to learn about the error and the error caused by the Code.OfSourceOfDetails.
Exception details: System. web. httpException: The current identifier (nt authority \ network service) is not against "C: \ WINDOWS \ Microsoft. NET \ Framework \ v2.0.50727 \ Temporary ASP. NET Files"OfWriteAccessPermission.
Source error:
Unprocessed is generated during the execution of the current Web RequestOfException. You can use the followingOfException stack trace information to determine the cause and location of the exceptionOfInformation.
Stack trace:
......
============================================
After reading some information, I found that I needed to re-register the IIS service extension. In "start"-"run", enter the command as shown in. Press enter to complete the operation.
C: \ WINDOWS \ Microsoft. NET \ Framework \ v2.0.50727 \ aspnet_regiis-I-enable
Address: http://www.cnblogs.com/eugenewu0808/archive/2008/02/01/1061167.html