The IIS configuration in Win7 Ultimate version is the perfect version, with the code and the CS0016: failed to write to the output file "C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP. files\root\8d57d

Source: Internet
Author: User

Solve the problem first: "C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP. files\root\8d57d

Figure:

None of the other solutions were successful, such as: 1 set c:windows\temp Directory access rights temp--> Properties--> Add Network Service--and give it permission to read and write--ok

(Note: The operating system for Windows Server2003 Framework version 1.1 and above)

2 Set permissions for the Bin folder in the program directory of the publishing site to also add the network service and set permissions to read, run

had been many times before, did not succeed, last night somehow succeeded, borrowed my classmate's word, this call "a flash of light", Nonsense said, this success is there is a video has the truth to ha!

This blog post has been published for three months, I think it is very detailed, but still many people do not configure it (every day someone in the group asked me how to configure), so today specially recorded video for your reference. Specifically stated: This is the configuration of ASP. NET run bad, not asp,asp and ASP. If you still can not configure ASP. asp even, I do not understand ASP Oh! I can't help you out.

IIS configuration in Win7 Ultimate Edition ASP. NET Video recording: video tutorial Download

First, click "Start" in the lower left corner of the computer, then click "Control Panel", such as:

Second, click on the "Control Panel" as follows:

Third, double-click "Programs and Features" to enter such as:

Four, click the Red Line circle up, enter such as:

Pop-up a window, follow the above to select these features, VS2005, if you want to debug the site, you must have "Windows Authentication" Digest authentication is to use a Windows domain controller to request access to the content on the WEB server for the identity of the user. Basic authentication requires a user to provide a valid user name and password to access the content. To debug ASP. NET, of course, install IIS support for ASP. Select OK and click OK to wait for him to install.

After installing the components, please restart the computer.

Six, restart good after we began to configure IIS7---We continue to open the Control Panel to find "Administrative tools" look

Seven, point "management tool", enter such as:

Click IIS Manager in the Red Line box to enter the following:

Nine, right-click 1, and then click 2 "Add a website, such as:

Ten, then pop up the window as shown below:

This is how I fill in:

Xi. Click OK, if you have already added several sites, please delete (do not delete also can, please follow this step to do) those several sites again from the beginning, to not pop up the window shown below:

(If you delete those sites and start from scratch, skip to the " above or configure the IIS environment below, I'll start configuring the ASP.") otherwise please click "Yes", then right click on other websites, click "Manage Website", then "Stop", then right click on the site you just added, like before, click on "Manage Site", then click "Start":

just configure the IIS environment above, let's start configuring the ASP.

1. To set the application pool (applicationpool) to Classic.netapppool instead of the default DefaultAppPool, you can set up each site in the site directory or individually at the site.

Control Panel-System and security-Administrative Tools--internet Information Services (IIS) Manager, open IIS Manager. Select the Default Web site on the left (that is, the Web site of default), and click Advanced Settings on the right to set the application pool to Classic.netapppool.

Click OK, and then click OK to close both of the pop-up windows.

2. Click "Application Pool" on the Left

The middle will appear as shown:

Change the identity to LocalSystem or NetworkService.

3. Select the default website, click the basic settings on the right, click "Connect as", select "Specific user", click Settings, enter the system user name password. You must use the operating system's login name and password, or you will not have access to the hard disk partition.

Select a specific user, and then click Settings, which appears as shown:

The user name here refers to:

Here's the user name on your account

Click Manage, enter as follows:

Click New user to add a new user

Click Create, and then right-click the user name you just added.

Click Properties,

We can see that he has only the users permission, which is certainly not possible, below we give him an administrator's permissions:

In fact, you can also look at your usual login system of the user's permissions, if not an administrator, please add Administrator privileges, and then enter the IIS configuration there with the administrator permissions of the user name and password.

Computer name, such as My computer called LTP, password is when you log in to Windows password, the correct input, click OK, then click OK, back to the following:

Click "Test Settings" and the following appears:

Then close this, then click OK.

4. After you find the open Internet Information Services (IIS) Manager in the Control Panel and the Administrative Tools-->internet Information Services (IIS) Manager program, in the lower part of the middle section, you can see the authentication configuration entry, and double-click the following interface:

Several additional authentications that are added when IIS is installed need to be enabled on the site to be debugged. Note: It is the site to debug, not the application directory to debug!

5. Set the default Start page, double click on "Default Document", and click "Add" below "action" as shown in:

This is the end of the configuration, see below!

If you are afraid your own program does not work, then please download my as shown in a simple example!

: http://115.com/file/be38315w#

The IIS configuration in Win7 Ultimate version is the perfect version, with the code and the CS0016: failed to write to the output file "C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP. files\root\8d57d

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.