Monday, October 30, 2006


If you haven't already heard about it, I would highly recommend checking out Apollo on Adobe Labs (

Apollo is promising to be a cross-OS runtime engine that will allow you to leverage Flash, Flex, HTML, and JavaScript in desktop software. The runtime will leverage the WebKit HTML / JavaScript engine, which is what Safari is based on.

Thursday, October 26, 2006

Cisco VPN Client

So, I ran into yet another roadblock with Vista when trying to install the Cisco VPN Client. I got it to install, but then could never get it to start. After doing some research, I found that they finally released a Vista capable version of the VPN Client.

You need to get version from Cisco, which requires you talk to your network admin and get the necessary credentials, or of course, you can try googling '' and you might come up lucky.

Modal windows using subModal

Modal windows, modeless windows, and popup windows all have a number of caveats that are somewhat annoying. Some time ago, I discovered subModal, which using an iframe, a div, and a nice mixture of CSS to create a great modal window overlay that is a joy to work with.

One of the biggest limitations with modal windows is that you can not interact with the 'opener', subModal allows you to do that. On the other hand, one of the biggest limitations of normal popup windows is that they tend to get lost, which won't happen using subModal.

I highly recommend that you check it out.

If you run into any problems with it, let me know as I've made a few tweaks to make it a bit more browser friendly.

SQL Server 2000 on Vista?

I read a number of articles that mentioned SQL Server 2000 will not install and/or is not supported on Vista. I just wanted to let you know that it WILL install. The only major caveat that I ran into was in enterprise manager when trying to connect to the 'local' instance. I had to dump that connection and connect to the actual named install of the sql server (which was my server name).

There is also an issue with SQL Server starting properly when Vista loads up. The MSSQLSERVER service was set to start up "Automatic" but in fact this doesn't work. If you change the startup type to "Automatic (Delayed Start)" things will work as expected.

All of that aside, based on the articles I read, along with all of the prompts Vista throws at you to essentially not install it, I don't know if I would install it on a production system, as Microsoft probably won't support it.

Good luck!

CFMX Setup on Vista

I just installed CFMX 7 on Vista Ultimate but it wasn't a very streamlined process. The CFMX installer doesn't support IIS 7 so a number of manual steps were needed after the fact. There is also a compatibility adjustment that you must make.

First, you need to run the ColdFusion Installer using the Program Compatibility Wizard. This will normally appear after the installer hangs. If it doesn't, the location to create a shortcut with is "%SystemRoot%\system32\mshta.exe res://%SystemRoot%\system32\acprgwiz.dll/compatmode.hta". There are a few options that you are going to want to choose.

  • Microsoft 2000 (Using Windows XP will not work)
  • On the next screen, choose 256 colors and all of the 'disable' options
  • Next, make sure you run this program as an administrator
This should get you through the basic install. For whatever reason, the isapi filter that normally handles each request is not created. A Script Map needs to be created in the Handler Mapping in IIS for your server.

Prior to setting up the Handler Mappings, you need to download jrun.dll from another installation and make sure that file exists in the following directory : 'c:\cfusionMX7\runtime\lib\wsconfig\1' -- You may want to simply copy the entire "1" directory under wsconfig.

First, pop open the IIS Console which looks like so, although you probably won't have either of the ISAPI options if you did a default install of IIS.

You will want to then open up the Handler Mappings option and create a new Script Map. You need to create one for your cfm files and another for your cfc's.

When you're done, the list of Handler Mappings should look familiar to this.

A this point, you should probably restart CF and IIS and give it a go.

Thursday, October 12, 2006

CreateTimeSpan() and Session Timeouts

I wanted to determine how long my sessionTimeout value was set for in a given application. After quite a bit of trial and error, a 'value' created with CreateTimeSpan() can be reverted or converted to minutes by using the following calculation:

value * 24 * 60

So, to put that in perspective when using session timeouts, the following code would be applicable.

<cfset appinfo = createObject('component', 'application')>
<cfdump var="#evaluate((appinfo.sessionTimeout * 24 * 60))#">