Write access rights for asp.net2.0

Source: Internet
Author: User
Tags execution iis stack trace
asp.net| Access

Publish program in IIS a asp.net program, through IE access reported the following error:

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 unhandled exception occurred during the execution of the current WEB request. Check the stack trace for more information about the error and where the error occurred in the code.

Exception Details: System.Web.HttpException: Current identity (NT authority\network SERVICE) does not have a "C:\WINDOWS\Microsoft.NET\Framework\ Write access to v2.0.50727\temporary asp.net Files.

SOURCE Error:

An unhandled exception was generated during the execution of the current WEB request. You can use the following exception stack trace to determine information about the cause of the exception and where it occurred.

Stack trace:
。。。。。。

After browsing through some of the data found that it is necessary to re-register the IIS service extensions, in the "Start"-"run" input such as the command, enter, fix

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis-i-enable




Related Article

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.