win2003+sql2005 Configuration

Source: Internet
Author: User
Tags management studio sql server management sql server management studio

1. Installing WIN2003+SP1

2. Install IIS:A, enable ASP support (2003 the default installation does not install IIS 6 and requires an additional installation.) IIS 6 is installed, you need to turn on ASP support separately)

Control Panel, Administrative Tools->iis (Internet server)-Web service extensions, Active server Pages, allow Control Panel, administrative Tools->iis (Internet server)- Web service extensions, including file-on-server, allow

B. Enable parent path Support iis-Web site-Home Directory-configuration-options-Enable parent path

C, Rights Assignment iis-website-(specific site)-(right) permissions-users Full Control

3. Resolve windows2003 Maximum upload limit of 200K only. Services-Shut down IIS Admin Service services
Open the MetaBase.xml under windows\\system32\\inesrv\\, change the aspmaxrequestentityallowed= "204800" to the desired value, and restart the IIS Admin Service
4. Install sql2005 Enterprise Edition, Sp_db_attach Recovery database

EEC sp_attach_db @dbname = n ' myname ', @filename1 = n ' c:\Program files\microsoft SQL Server\mssql\data\myname.mdf ', @ filename2 = N ' c:\Program Files\Microsoft SQL Server\mssql\data\myname_log.ldf '

5. Configure sql2005:

A) turn on the sql2005 Remote Connection feature: Configuration tool->sql Server surface Area Configuration, surface Area configuration for services and connections->mssqlserver->database Engine node, remote connection- > "Use TCP/IP and named pipes at the same time", after determining, restart the database service.

b) Login to Mixed mode: Manage Manager, connect to Windows and access the database, right-click on your data server, properties->security> Select SQL Server and Windows Authentication

c) Create a new SQL Server user name and password: Manage manager->security-> Right-click logins->new login...-> Select SQL Server authentication- > Set the login name and password (Confirm password), it is best to remove the "Enforce password expiration" before the small hook, or each login to change the password. d) Enable SA account & Change sa password

When you select Windows Authentication mode during installation, the SA login is disabled. If you change the authentication mode to SQL Server and Windows authentication mode, the SA is still disabled. The sa login can only connect to the server using SQL authentication.

Enable SA login, use the ALTER login command: SQL server Management Studio Object Explorer-right-click Server-Properties-security-Server Authentication-Select the new server authentication mode, and then click OK. SQL Server Management Studio dialog box-click OK to confirm that SQL Server needs to be restarted. Object Explorer-right-click the server, and clicking Restart. If you run a SQL Server agent, you must also restart it.

Execute the following statement to enable the SA password and assign a password. ALTER LOGIN SA ENABLE; GO ALTER LOGIN sa with PASSWORD = ' <password> '; GO or use Manage manager->windows authentication>new query>sp_password null, ' sa123456 ', ' sa ' set username sa, password is: Users of sa123456

e) Modify the ASP connection string for conn.asp (server=.\\sqlexpress;uid= user name; pwd= password; database=master ");

Example: PROVIDER=SQLNCLI.1; Password=pass; Persist Security info=true; User id=sa;initial Catalog=ct;data source=mydb\db2005

6. There is not enough buffer for data from Excel to sqlserver2000: Workaround: Modify the server registry: Hkey_local_machine/software/microsoft/jet/4.0/engines/excel Next, double-click the "typeguessrows" option on the right to change "value data" to 0.

Cause: When the data for an Excel table is imported into a database, the jet engine determines the data type of the content based on the number of rows represented by the value of the "typeguessrows" option, which, by default, determines the data type based on the contents of the first 8 rows, and when modified to 0, it determines the content of each row, but doing so can affect

7. Install Kappa + Rising firewall can not surf the Internet?

FIX: Settings--Network Settings---Port settings---Remove the hooks in front of the conventional http80. Kaspersky-"Settings"-"threats and exclusions"-"trust Zone"-"Trust Program"-"Add"-Select Rising firewall file rfwmain.exe-"Do not scan open files", "Do not restrict program activity", "Do not scan network traffic" three items tick. Then add the other 4 program files: Rfwproxy.exe, Rfwsrv.exe, Rfwstub.exe, Scanbd.exe, all do the same set (to have pathname otherwise useless such as: D:\Program Files\rising\rfw\ Rfwproxy.exe).

8.: can only be accessed by this machine, other computers cannot access it? Rising firewall Problem-workaround: Set--Port settings--Add Rule--tcp-80-native-allow

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.