Zero-based ASP Web site Server Setup

Source: Internet
Author: User
Tags connectionstrings

Zero-based ASP Web site Server Setup One IIS (Internet information Services) Installation: 1. Select Control Panel.   2. Click Add or Remove Programs. 3. Select "Add/Remove Windows Components", select IIS, put the system installation disk in the CD-ROM, click Next. 4. After successful installation, "Internet Information Service" will be available in the "Control Panel \ Administrative Tools".

Two asp: http://www.cnblogs.com/wf225/archive/2007/10/19/929837.html If you can't run the MSI file, install Windows Installer 3.1 Microsoft. NET Framework version 2.0 redistributable Package (x86). exe Microsoft. NET Framework version 2.0 Simplified Chinese language pack. exe aspajaxexts Etup.msi (ASP. 2.0 Ajax extension)

Note: IIS must be installed before the. NET Framework is installed if IIS and. NET order are reversed, or IIS is reinstalled, the solution has two: 1. Reinstall the Microsoft. NET Framework 2.0 Redistributable Package. 2. Use Aspnet_regiis.exe-i to reinstall IIS Mapping (primarily used for matching extention of files such as ASPX, ASMX, and so on). Create a new Notepad file, rename Aspnet_regiis.bat, and add the following three lines of content: @echo off C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe- I pause double-click to run Aspnet_regiis.bat.
Three IIS configuration open the Control Panel \ Administrative Tools \internet Service Manager, select Default site, right-click Properties, 1. Web site Settings.
2. "Document" settings, add logon.aspx, and move up to the top.
3. "ASP." Version settings, select 2.0.50727.

4. Restart IIS:

5. Create a new site:


6. Refreshing the Catalog: Right-click Refresh Browsing Site: Right-click \ Browse

7. Browse for file: Right-click \ Browse
to successfully display the login page, asp.net Run environment configuration complete.
four SQL2000 database installation 1. When installing, be careful to remember the user name and password. 2. After installation, if you forget your password, open Enterprise Manager with Windows Authentication, find security \ Login, double-click the SA user, you can reset the password, or you can create a new user and password.
3. Attaching a database

Five   modify Web. config to open the Web. config file with Notepad, locate <connectionStrings> <add name= "connectionString" connectionstring= "Data source=192.168.1.101; Initial Catalog=databasename; User Id=username; Password=pwd; " providername= "System.Data.SqlClient"/> </connectionStrings> Description: The computer name or IP where the Data source:sql server resides. Initial Catalog: The name of the database to access. User ID: The username to log into SQL Server. Password: The password to log on to SQL Server.

Reprint to: http://www.cnblogs.com/wf225/archive/2008/04/30/1177333.html

Zero-based ASP Web site Server Setup

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.