Run asp. net2.0 program environment configuration in vista home

Source: Internet
Author: User

I. IIS7.0 Server Configuration

Step 1: confirm that "IIS metadatabase and IIS6 configuration compatibility" has been installed and started-> Control Panel-> Program-> enable or disable Windows function-> Step 2: choose site control panel> system and maintenance> Administrative Tools> IIS Manager to set the default site path to the folder where the program is located. Step 3: Check IIS's [Default document] settings and add the index. aspx site default document

2..net framework2.0 Configuration

For ASP. for NET2.0, everything should be simpler, because IIS7 supports ASP by default. for the NET2.0 program, you only need to re-create an application pool and select it. net Framework Version 2.0, managed pipeline method: Classic. This should be OK.

Iii. sqlserver2000 Configuration

After installing SQLServer database, start the service manager in the menu and find that there is no service after running. Click the Service Manager icon in the taskbar to exit the database!

Go back to the Start menu and restart the service manager. Click Start/continue to run the manager!

4. Possible Problems

1. compiler error message: CS0016: failed to write the output file "..." -- "Access is denied. "

Compilation Error

Note: An error occurs during compilation of resources required to provide services to this request. Check the following error details and modify the source code as appropriate.
Compiler error message: CS0016: failed to write the output file "c:" WINDOWS "Microsoft. NET "Framework" v2.0.50727 "Temporary ASP. NET Files "quickstartv20" 84d1529d "9524624f" App_Web_default.aspx.99f82f7f.6imjpt_t.dll "--" access is denied.
Source error:

[No relevant source line]
Source File: row: 0

Show detailed compiler output:

Version: Microsoft. NET Framework Version: 2.0.50727.42; ASP. NET version: 2.0.50727.42

I checked some information on the Internet and finally found a solution: the reason is that the Temp directory under the system directory has no corresponding permissions. The specific operation is as follows:

As shown in, add the corresponding permissions marked by the Red Circle in the figure.

 

 

2. images such as jpg, png, and static webpage Html cannot be displayed.

Check common Http functions-> check whether static content is selected and installed, as shown in.

 


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.