The lighttpd Web Server

Thursday, July 26th, 2007

If you’re looking for an alternative to the Apache or ISS web servers you should check out ONLamp.com tutorial on the lighttpd Web Server.  lighttpd is an open source, high-performance web server with a focus on light resource use.  The article outlines the pro’s and con’s of both lighttpd and Apache then walks you through the installation and configuration process.

Connecting ColdFusion to SQL Server 2005 Express

Tuesday, February 6th, 2007

Here is a quick guide to connecting ColdFusion to a local instance of SQL Server 2005 Express.

My first attempt to do this seemingly simple task resulted in an “Error establishing socket. Connection refused: connect” error when trying to create a new data source. The cause of this error is that by default, SQL Server Express does not allow for connections over TCP/IP ports. To create the data source, we first need to configure SQL Server and enable connections over TPC/IP. The process is pretty easy, so lets get started!

First, you want to open the SQL Server Configuration Manger by choosing Start » All Programs » Microsoft SQL Server 2005 » Configuration Tools » SQL Server Configuration Manger. Next, in the left sidebar of the Configuration Manager, expand the SQL Server 2005 Network Configuration node. Now click on the Protocols for SQLEXPRESS node. Now in the right hand pane, double-click on the TCP/IP item. This will open the TCP/IP Properties window.

In the TCP/IP Properties window, choose Yes from the dropdown list in the Enabled row. Next we need to configure the IP addresses that are to receive connections on, so click on the IP Address tab. Look for the section named IPAll and enter in the port that SQL Server will listen for connections on. In the TCP Port row, type in 1433 (or any other port number you wish to use). Now click the OK button. You will be prompted to Restart the SQL Server (do this using either the Services control panel applet or by using SLQ Server Management Studio Express).

Now you should be able to connect your ColdFusion to SQL Server 2005 Express!

Connecting ColdFusion to SQL Server 2005 Express

Tuesday, November 21st, 2006

UPDATE : Vincent’s site is now by invitation only. I have written my own solution and it can be found here.

Vincent McCurley just saved me a bunch of time. After spending a good part of 30 minutes trying to setup Coldfusion to hook up to a local instance of SQL Server 2005 Exress, a desparate Google search came up with his excellent tutorial - Vincent McCurley: Connecting ColdFusion to SQL Server 2005 Express. Worked like a charm! Now onto some Flex/CF goodness!