SQL Express Edition Installation Installation Connection troubleshooting Installation SQL Express 2005 download links: 1. 2. 3. Microsoft SQL Server 2005 Express Edition Microsoft SQL Server Management Studio Express Microsoft SQL Server 2005 Service Pack 3 Here will be described installation process that is optimised for AxCMS.net. 1. First of run the downloaded package and uncheck Hide advanced configuration options Then choose the components, you want to install... If you install SQL Express to Default instance then you would connect to Database engine using LOCALHOST\SQLEXPRESS hostname and you have to change all the connection strings in web.config files of AxCMS.net. We recommend to install it to MSSQLSERVER instance. It would allow you to connect to database engine using (local) or LOCALHOST hostnames and your web.config connection strings could stay with original server names (which is local).
Under Service Account section you may use Local system accaunt on development environment. For production environment it is not recommended due to security vulnerability.
Reaching the Authentication Mode be sure you select Mixed Mode for authentication. It allows AxCMS.net SQL user to access the database. Also define a password for sa (System Admin account) root user.
On all other screens do not change anything. After installation was successfull, open SQL Configuration Manager. It is under Programs/Microsoft SQL Server 2005/Configuration Tools/SQL Server Configuration Manager. Ensure that "Named Pipes" and TCP/IP protocols are allowed.
Check for Microsoft Update whether new Service Packs or security updates are avaible for SQL Express 2005. Client Tools If you install MSDE or MS SQL Server 2005 Express Edition, there are no client tools (e.g. Query Analyzer or SQL Management Studio) available with it. You need to install them separately or use the command line tools like osql.exe to run the scripts. After you install SQL Management Studio, run it. Authentication window will appear where you should define Server name and authentication types with credentials like on picture below. Connection troubleshooting If connection fails: check that SQL Server (MSSQLSERVER) service is running. Maybe you need to add an exception to Windows Firewall. If you use XP based Windows or Vista, then type in command prompt (start - run - cmd) netsh firewall set portopening TCP 1433 "SQLServer" If your system is Windows 7 or Windows Server 2008 / 7 then you should type netsh advfirewall firewall add rule name = SQLPort dir = in protocol = tcp action = allow localport = 1433 Run SQL Server Configuration Manager
Ensure you have Named Pipes and TCP/IP protocols enabled under SQL Native Clients Configuration/Client Protocols. Double click on TCP/IP and check that Default Port is 1433 and Enabled (like on picture below) Enable Named Pipes and TCP/IP protocols for MSSQLSERVER engine. Double click on TCP/IP and check that you have tcp port 1433 defined under "TCP Port" and all needed IPs are Actived and Enabled. Refer for an additional help from the troubleshooting page.