The current identity (nt authority/Network Service)

Source: Internet
Author: User
Document directory
  • Solution:
The current identity (nt authority/Network Service) does not have write access to 'C:/Windows/Microsoft. NET/framework/v2.0.50727/Temporary ASP. NET files '.

It is a pity that many IIS problem solving experiences have not been recorded in the past. In fact, after a long time, you can't remember the problem. When the problem occurs again, you have to find a solution. When we encounter a problem this time, we will seize the opportunity to protect the on-site records.

Fault site:

"/" Indicates a server error in the application.

The current identity (nt authority/Network Service) does not have write access to "C:/Windows/Microsoft. NET/framework/v2.0.50727/Temporary ASP. NET Files.

Note:An error occurred while executing the current Web request. Check the stack trace information for details about the error and the source of the error in the code.
Exception details:System. web. httpexception: The current identifier (nt authority/Network Service) does not apply to "C:/Windows/Microsoft. net/framework/v2.0.50727/Temporary ASP.. Net files.
Source error:

An unhandled exception is generated during the execution of the current Web request. You can use the following exception stack trace information to determine the cause and location of the exception.

Stack trace:

[Httpexception (0x80004005): The current identifier (nt authority/Network Service) is not against "C:/Windows/Microsoft. net/framework/v2.0.50727/Temporary ASP.. Net files.] System. web. httpruntime. setupcodegendirectory (compilationsection) + 3591451 system. web. httpruntime. hostinginit (hostingenvironmentflags hostingflags) + 222 [httpexception (0x80004005): The current identifier (nt authority/Network Service) is not against "C:/Windows/Microsoft. net/framework/v2.0.50727/Temporary ASP.. Net files.] System. Web. httpruntime. firstrequestinit (httpcontext context) + 3540923
System. Web. httpruntime. ensurefirstrequestinit (httpcontext context) + 69
System. Web. httpruntime. processrequestinternal (httpworkerrequest wr) + 275

 

Version:Microsoft. NET Framework Version: 2.0.50727.832; ASP. NET version: 2.0.50727.832
Solution:

Run: C:/Windows/Microsoft. NET/framework/v2.0.50727/aspnet_regiis-I

Among them, "v2.0.50727" may also be another version number. Please pay attention to the bottom of the fault site.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.