<?xml version="1.0" encoding="utf-8"?>
			
			<rss version="2.0">
			<channel>
			<title>&lt;CF-A-LOT /&gt;</title>
			<link>http://www.danlance.co.uk/index.cfm</link>
			<description>Dan Lancelot&apos;s CF-Blog</description>
			<language>en-gb</language>
			<pubDate>Tue, 07 Sep 2010 01:11:05 --0100</pubDate>
			<lastBuildDate>Fri, 16 Apr 2010 17:06:00 --0100</lastBuildDate>
			<generator>BlogCFC</generator>
			<docs>http://blogs.law.harvard.edu/tech/rss</docs>
			<managingEditor>danlance@gmail.com</managingEditor>
			<webMaster>danlance@gmail.com</webMaster>
			
			
			
			
			
			<item>
				<title>CSS Parsing ColdFusion Function</title>
				<link>http://www.danlance.co.uk/index.cfm/2010/4/16/CSS-Parsing-ColdFusion-Function</link>
				<description>
				
				Here&apos;s a function I knocked up to retrieve a specified CSS property from within a specified CSS Selector:

&lt;code&gt;
&lt;cffunction name=&quot;GetCSSProperty&quot; access=&quot;public&quot; output=&quot;false&quot; returntype=&quot;any&quot; hint=&quot;I attempt to find and return a specified CSS property contained within a specifed CSS selector&quot;&gt;
	&lt;cfargument name=&quot;CSS&quot; type=&quot;string&quot; required=&quot;true&quot; hint=&quot;CSS to Process&quot;&gt;
	&lt;cfargument name=&quot;Selector&quot; type=&quot;string&quot; required=&quot;true&quot; hint=&quot;Selector to locate&quot;&gt;
	&lt;cfargument name=&quot;Property&quot; type=&quot;string&quot; required=&quot;true&quot; hint=&quot;CSS Property to retrieve&quot;&gt;
	&lt;cfargument name=&quot;DefaultValue&quot; type=&quot;string&quot; required=&quot;false&quot; default=&quot;&quot; hint=&quot;Default value if not found&quot;&gt;

	&lt;cfscript&gt;	
		var local = structnew();
		
		local.MatchingSelectors = REMatch(&quot;[^}]*#arguments.Selector#[^{]*{[^}]*#arguments.Property#[\s]*:[\s]*([^;}]*[^}]*})&quot;,arguments.css);
		if (arraylen(local.MatchingSelectors))
		{
			local.relevantSelector = trim(local.MatchingSelectors[arraylen(local.MatchingSelectors)]);
			local.FindValue = refind(&quot;{[^}]*#arguments.Property#[\s]*:[\s]*([^;}]*)&quot;,local.relevantSelector, 1, true);
			local.pos = local.FindValue.pos[2];
			local.len = local.FindValue.len[2];
			local.cssValue = trim(mid(local.relevantSelector,local.pos,local.len));
		}
		else
		{
			local.cssValue = arguments.DefaultValue;
		}

		return local.cssValue;
	&lt;/cfscript&gt;		
&lt;/cffunction&gt;
&lt;/code&gt;

This function will attempt to return the specified property as defined in the last CSS definition which contains the specified selector.  This does mean that it will potentially return false matches against more specific selectors - e.g. searching for &lt;b&gt;font-size&lt;/b&gt; property within &lt;b&gt;td.gridDataCell&lt;/b&gt; would return the value for the button (&lt;i&gt;8px&lt;/i&gt;), even though more accurately the previous less specific value (&lt;i&gt;10px&lt;/i&gt;) should have been returned.

&lt;code&gt;
td.gridDataCell {font-size:10px;}
td.gridDataCell button {font-size:8px;}
&lt;/code&gt;

I have a particular use case for this functionality for parsing CSS used to control formatting of dynamically generated HTML emails, and convert it to HTML which is more compatible with Outlook 2007 (i.e. HTML Properties rather than CSS :-/) where I already know that no complex cascading rules have been defined - but if need be additional functionality could be added to parse the selectors within local.MatchingSelectors, and remove any matches which only match partially.
				
				</description>
						
				
				<category>ColdFusion</category>				
				
				<pubDate>Fri, 16 Apr 2010 17:06:00 --0100</pubDate>
				<guid>http://www.danlance.co.uk/index.cfm/2010/4/16/CSS-Parsing-ColdFusion-Function</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Outlook 2007 ignoring CSS within an HTML email due to 2 semicolons (;;)</title>
				<link>http://www.danlance.co.uk/index.cfm/2010/3/19/Outlook-2007-ignoring-CSS-within-an-HTML-email-due-to-2-semicolons-</link>
				<description>
				
				Getting HTML emails looking good in Outlook 2007, is a relentless task at the best of times, but this one really caught me out...

The system I was debugging is used for creating and sending Email Marketing campaigns.

When creating a campaign, the system allows you to pick a template, - which selects a CSS style sheet which gets embedded into a style tag at the top of the email.

With one particular template, only around 10% of the styles appeared to be getting applied to the email - most of the email was just using the default styles.

When investigating, I noticed that all the CSS up to a particular point in the file (about 10% of the way through) was being applied, and the rest was being ignored.

This line caused the problem:

&lt;code&gt;
	color:#FF9835;;
&lt;/code&gt;

All CSS after the double semicolon was ignored.

The strange thing is, the CSS file validated successfully using the W3C validation service...

Interesting &lt;i&gt;feature&lt;/i&gt;...
				
				</description>
						
				
				<category>Email</category>				
				
				<category>CSS</category>				
				
				<pubDate>Fri, 19 Mar 2010 22:43:00 --0100</pubDate>
				<guid>http://www.danlance.co.uk/index.cfm/2010/3/19/Outlook-2007-ignoring-CSS-within-an-HTML-email-due-to-2-semicolons-</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>How to call a Web Service from CF7 using Client Certificate based (&quot;Bilateral&quot;) authentication (Win)</title>
				<link>http://www.danlance.co.uk/index.cfm/2010/2/16/How-to-call-a-Web-Service-from-CF7-using-Client-Certificate-based-Bilateral-authentication-Wind</link>
				<description>
				
				&lt;p&gt;If you have to call a web service from ColdFusion 7 - and the destination web service enforces bilateral SSL authentication (i.e. the caller has to supply a client certificate to prove who they are, as well as the destination supplying a server certificate to prove who it is...) - then the options, in descending order of preference are:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Check / ask really nicely / beg / etc. to see if there is a way of calling the web service without passing a client SSL certificate 
&lt;li&gt;Use CF8 (or later) - I believe that you will still need to do the SOAP generation by hand, as &lt;strong&gt;cfobject&lt;/strong&gt; / &lt;strong&gt;cfinvoke&lt;/strong&gt; do not appear to allow a client certificate to be set - but you can use &lt;strong&gt;cfhttp&lt;/strong&gt; and specify the &lt;strong&gt;clientcert&lt;/strong&gt; and &lt;strong&gt;clientcertpassword&lt;/strong&gt; attributes - which avoids having to use the &lt;strong&gt;WinHttp.WinHttpRequest&lt;/strong&gt; COM object as shown below. 
&lt;li&gt;Use the &lt;strong&gt;WinHttp.WinHttpRequest&lt;/strong&gt; COM object as shown below...&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;ColdFusion (when running on windows) allows (and has allowed for several versions) COM objects to be called from within CF code, using the &lt;strong&gt;CFOBJECT&lt;/strong&gt; tag or &lt;strong&gt;CreateObject()&lt;/strong&gt; function.&lt;/p&gt;
&lt;p&gt;Built into the following versions of windows, is the WinHTTP 5.1 COM object:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;WinHTTP 5.1 is available only with Windows Server 2003, Windows XP with Service Pack 1 (SP1), and Windows 2000 Professional with Service Pack 3 (SP3). &lt;em&gt;(I suspect that it may also be available in Windows 2008)&lt;/em&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;This provides similar functionality to &lt;strong&gt;CFHTTP&lt;/strong&gt; - but at a lower level.&amp;nbsp; In particular it allows a client certificate to be specified, using the &lt;strong&gt;SetClientCetificate&lt;/strong&gt; function.&lt;/p&gt;
&lt;p&gt;This is not as simple as it seems - where as in CF8 using &lt;strong&gt;CFHTTP&lt;/strong&gt; you just have to specify the physical location of the client certificate file - the WinHttp object requires that the client certificate is first imported into a certificate store - and then the reference to the certificate provided to the &lt;strong&gt;SetClientCetificate&lt;/strong&gt; function:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;
&lt;dt&gt;&lt;em&gt;ClientCertificate&lt;/em&gt; [in] 
&lt;dd&gt;
&lt;p&gt;Specifies the location, &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/aa383870(VS.85).aspx#term_certificate_store&quot;&gt;&lt;em&gt;certificate store&lt;/em&gt;&lt;/a&gt;, and subject of a client certificate&lt;/p&gt;&lt;/dd&gt;&lt;/blockquote&gt;
&lt;p&gt;To cut a very long (well around 5 hours) story short, this is how I finally got it to work:&lt;/p&gt;
				 [More]
				</description>
						
				
				<category>XML</category>				
				
				<category>ColdFusion</category>				
				
				<pubDate>Tue, 16 Feb 2010 22:42:00 --0100</pubDate>
				<guid>http://www.danlance.co.uk/index.cfm/2010/2/16/How-to-call-a-Web-Service-from-CF7-using-Client-Certificate-based-Bilateral-authentication-Wind</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>SQL Server 2005 Maintenance Plans not sending email alerts?</title>
				<link>http://www.danlance.co.uk/index.cfm/2009/12/30/SQL-Server-2005-Maintenance-Plans-not-sending-email-alerts</link>
				<description>
				
				&lt;p&gt;SQL Server 2005 does make it much easier to set up email alerts than it&apos;s predecessors, however its still very easy to set it up in such a way that emails generated by SQL Agent are not sent, despite test emails being sent without any difficulty.&lt;/p&gt; &lt;p&gt;If your SQL Agent jobs are not sending out emails, and you have set up mail accounts and profiles, together with specifying at least one operator with an email address, and you are getting the following errors in your error logs:&lt;/p&gt; &lt;blockquote&gt; &lt;p&gt;[260] Unable to start mail session (reason: No mail profile defined)&lt;/p&gt; &lt;p&gt;[264] An attempt was made to send an email when no email session has been established&lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;You need to do the following:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;Right click on SQL Server Agent within Management Studio  &lt;li&gt;Select &lt;strong&gt;Properties&lt;/strong&gt;  &lt;li&gt;Select &lt;strong&gt;Alert System&lt;/strong&gt;  &lt;li&gt;Tick the &lt;strong&gt;Enable mail profile&lt;/strong&gt; checkbox  &lt;li&gt;Select &lt;strong&gt;Database Mail&lt;/strong&gt; from the &lt;strong&gt;Mail System:&lt;/strong&gt; select box  &lt;li&gt;Select the Mail Profile you wish to use for SQL Agent emails&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;I believe you then need to restart SQL Server Agent - and providing your profile is set up correctly (and firewall rules permitting) SQL Agent jobs should now send out emails correctly :)&lt;/p&gt; &lt;p&gt;After doing this, it&apos;s probably worth checking that emails are working correctly - to do this I set up a simple SQL Agent job containing a single step with a simple select statement, and configured the job to send me an email on completion.&amp;nbsp; I then ran the task manually, and checked to see the email was received successfully.&lt;/p&gt;
				
				</description>
						
				
				<category>SQL Server</category>				
				
				<pubDate>Wed, 30 Dec 2009 23:53:31 --0100</pubDate>
				<guid>http://www.danlance.co.uk/index.cfm/2009/12/30/SQL-Server-2005-Maintenance-Plans-not-sending-email-alerts</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>SQL Server Maintenance Plan &amp;ndash; Rebuild Index Task Gotcha on SQL Server 2005 Standard</title>
				<link>http://www.danlance.co.uk/index.cfm/2009/12/30/SQL-Server-Maintenance-Plan-ndash-Rebuild-Index-Task-Gotcha-on-SQL-Server-2005-Standard</link>
				<description>
				
				&lt;p&gt;Here&apos;s one to watch out for if you are setting up a SQL Server 2005 Maintenance Plan on SQL Server 2005 Standard edition&lt;/p&gt; &lt;p&gt;SQL Server 2005 supports online rebuilding of indexes on &lt;strong&gt;Enterprise Edition Only&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;The Task wizard for setting up the &lt;em&gt;Rebuild Index Task&lt;/em&gt; has an option &lt;em&gt;Keep index online while reindexing &lt;/em&gt;&lt;strong&gt;even when connected to Standard Edition.&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;No warnings are given when setting up a task with this option enabled, but when the maintenance plan executes, the error &lt;strong&gt;Online index operations can only be performed in Enterprise edition of SQL Server&lt;/strong&gt; will be generated for each index - and indexes will &lt;strong&gt;not&lt;/strong&gt; be recreated.&lt;/p&gt; &lt;p&gt;As a side note, make sure you do have the &lt;strong&gt;Generate a text file report&lt;/strong&gt; option ticked within &lt;strong&gt;Reporting and Logging&lt;/strong&gt;&amp;nbsp; settings for the job, as the information given within the SQL job History Log is limited to &lt;strong&gt;The job failed&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;As a side side note, its definitely worth checking that your SQL Agent email alerts are functioning correctly if you have them set to notify on failure, as otherwise an issue like this can go completely un-noticed (apart from performance issues), as the rest of the tasks within the plan will probably succeed (like backups being generated) - which is certainly the main thing I have always checked after setting up a maintenance plan...&lt;/p&gt;
				
				</description>
						
				
				<category>SQL Server</category>				
				
				<pubDate>Wed, 30 Dec 2009 23:31:00 --0100</pubDate>
				<guid>http://www.danlance.co.uk/index.cfm/2009/12/30/SQL-Server-Maintenance-Plan-ndash-Rebuild-Index-Task-Gotcha-on-SQL-Server-2005-Standard</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>NTLDR is Missing - Issue affecting Dell Laptops</title>
				<link>http://www.danlance.co.uk/index.cfm/2009/9/10/NTLDR-is-Missing--Issue-affecting-Dell-Laptops</link>
				<description>
				
				If you have a Dell laptop, and out of the blue you get the error NTLDR is Missing when you turn the machine is turned on, followed by an Invalid MBR error on subsequent reboots - &lt;b&gt;DO NOT PANIC&lt;/b&gt;

Chances are, you accidentally pressed the Media Direct Button (looks like a house on my laptop) instead of the Power Button.  Now if you have a Dell standard install, this will probably load the Media Direct application - but if you have done a wipe / rebuild, and not set up the Media Direct partion as expected, then you will likely get NTLDR / MBR errors, and an unbootable machine.

When you press this little button, the system rewrites the MBR on the primary disk, and causes the system to boot to a different partition (one which theoretically should contain the Media Direct application).  If that partition does not exist, you get an apparently bricked laptop.

The good news is, that if you press the button again, then the changes to the MBR get reverted - may need a subsequent reboot - and you should be able to get back into windows :)

Dangerous button :-/
				
				</description>
						
				
				<category>Windows</category>				
				
				<pubDate>Thu, 10 Sep 2009 00:20:00 --0100</pubDate>
				<guid>http://www.danlance.co.uk/index.cfm/2009/9/10/NTLDR-is-Missing--Issue-affecting-Dell-Laptops</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Using TortoiseSVN to Export Only New/Modified Files</title>
				<link>http://www.danlance.co.uk/index.cfm/2009/7/27/Using-TortoiseSVN-to-Export-Only-NewModified-Files</link>
				<description>
				
				I&apos;m wanting to do this all the time - took me ages to find &lt;a href=&quot;http://www.verysimple.com/blog/2007/09/06/using-tortoisesvn-to-export-only-newmodified-files/trackback/&quot; target=&quot;_blank&quot;&gt;This article on the VerySimple, Inc. website&lt;/a&gt; - reposting so I can find it again!

I&apos;m looking for a &lt;b&gt;simple&lt;/b&gt; way of achieving the same with ANT - but not having much luck - if anyone knows how, please post...
				
				</description>
						
				
				<category>SubVersion</category>				
				
				<pubDate>Mon, 27 Jul 2009 22:02:00 --0100</pubDate>
				<guid>http://www.danlance.co.uk/index.cfm/2009/7/27/Using-TortoiseSVN-to-Export-Only-NewModified-Files</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>ColdFusion Job opportunity in Manchester, UK</title>
				<link>http://www.danlance.co.uk/index.cfm/2009/7/25/ColdFusion-Job-opportunity-in-Manchester-UK</link>
				<description>
				
				A new job opportunity for a ColdFusion developer has just become available in Manchester, UK.

This is at the company that I worked at for 5 years (Gencia  Media) - great bunch of people to work with, really friendly.

&lt;a href=&quot;http://www.cwjobs.co.uk/JobSearch/JobDetails.aspx?JobId=44899671&quot; target=&quot;_blank&quot;&gt;Click here&lt;/a&gt; for job details / contact details.
				
				</description>
						
				
				<category>Job</category>				
				
				<category>ColdFusion</category>				
				
				<pubDate>Sat, 25 Jul 2009 10:29:00 --0100</pubDate>
				<guid>http://www.danlance.co.uk/index.cfm/2009/7/25/ColdFusion-Job-opportunity-in-Manchester-UK</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Updating SVN client version from 1.4 to 1.5 with Eclipse and Subversive with Tortoise SVN on Windows</title>
				<link>http://www.danlance.co.uk/index.cfm/2009/5/19/Updating-SVN-client-version-from-14-to-15-with-Eclipse-and-Subversive-with-Tortoise-SVN-on-Windows</link>
				<description>
				
				&lt;p&gt;This process is very very frustrating - but due to the way pretty much every SVN client seems to need to update the working files for any SVN managed resources to the latest version it supports, it does seem to be a necessary process - especially when some other svn plugins (such as Ahnk SVN for visual studio) only support 1.5 or later.&lt;/p&gt; &lt;p&gt;During this process I came across a lot of things that didn&apos;t work  - I&apos;m just trying to document here what did...&lt;/p&gt;
				 [More]
				</description>
						
				
				<category>SubVersion</category>				
				
				<category>Source Control</category>				
				
				<category>CFEclipse</category>				
				
				<pubDate>Tue, 19 May 2009 22:54:00 --0100</pubDate>
				<guid>http://www.danlance.co.uk/index.cfm/2009/5/19/Updating-SVN-client-version-from-14-to-15-with-Eclipse-and-Subversive-with-Tortoise-SVN-on-Windows</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>SQL Server DB documentation from schema</title>
				<link>http://www.danlance.co.uk/index.cfm/2009/5/11/SQL-Server-DB-documentation-from-schema</link>
				<description>
				
				I am in the (fun!) process of documenting an application I created nearly 5 years ago, in which the majority of the functionality is controlled by the database (it&apos;s a business workflow automation tool).

Reverse engineering substantially reduces the size of the task - Visio&apos;s &lt;b&gt;Database &amp;gt; Reverse Engineer...&lt;/b&gt; command is a real time saver when you have foreign key constraints defined, makes generation of an ERD no more complicated than arranging all the boxes so that none (or few!) of the relationship lines cross!

A little utility contributed to the Code Project website makes the process of creating table and field documentation much easier: &lt;a target=&quot;_blank&quot; href=&quot;http://www.codeproject.com/KB/database/sqldoc.aspx&quot;&gt;http://www.codeproject.com/KB/database/sqldoc.aspx&lt;/a&gt;

This utility can be pointed at a SQL server database, and will generate an HTML document listing all the tables and fields in the database, together with data types, nullable, default values and description fields from the db schema.

It uses an XSLT transformation to convert the xml generated to an HTML document.  This can be edited so that it&apos;s closer to final requirements - I have updated the XSLT to place anchors on each table name, and links at the top of the file to each table.

This makes it a much less arduous task to document each table and field - I can edit the file in dreamweaver and just add descriptions for each field and table.
				
				</description>
						
				
				<category>Documentation</category>				
				
				<category>XML</category>				
				
				<category>Database</category>				
				
				<pubDate>Mon, 11 May 2009 20:54:00 --0100</pubDate>
				<guid>http://www.danlance.co.uk/index.cfm/2009/5/11/SQL-Server-DB-documentation-from-schema</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Eclipse Character Encoding issue</title>
				<link>http://www.danlance.co.uk/index.cfm/2008/10/2/Eclipse-Character-Encoding-issue</link>
				<description>
				
				&lt;p&gt;I&apos;ve recently been having the problem that every ColdFusion file that I attempted to open in CFEclipse was displaying character corruption of special characters (e.g. apostrophes, hyphens etc.)&amp;nbsp; - each corrupted character was being displayed as a black diamond with a question mark in it.&lt;/p&gt; &lt;p&gt;When I checked the character encoding for the file, it was showing as &lt;strong&gt;Default (determined from content: UTF-8)&lt;/strong&gt;.&amp;nbsp; &lt;/p&gt; &lt;p&gt;This was not correct - the correct encoding of the files should have been ISO-8859-1.&lt;/p&gt; &lt;p&gt;I checked a number of places, and could not detect where the setting was being applied.&amp;nbsp; I even tried overriding the Default encoding for the &lt;strong&gt;ColdFusion Source File&lt;/strong&gt; content type - which made no difference at all.&lt;/p&gt; &lt;p&gt;Eventually, the problem turned out to have been caused by me adding the &lt;strong&gt;*.cfm&lt;/strong&gt; extension to the &lt;strong&gt;XML&lt;/strong&gt; Content type (so that I could open any CFM file within the XML editor if required) - which has a default encoding of UTF-8.&amp;nbsp; This was overriding the setting which had been applied to the &lt;strong&gt;ColdFusion Source File&lt;/strong&gt; content type.&lt;/p&gt; &lt;p&gt;After removing the &lt;strong&gt;*.cfm&lt;/strong&gt; extension from the &lt;strong&gt;XML&lt;/strong&gt; Content type, my ColdFusion files could be opened as saved correctly without any character corruption.&lt;/p&gt;
				
				</description>
						
				
				<category>CFEclipse</category>				
				
				<pubDate>Thu, 02 Oct 2008 10:45:14 --0100</pubDate>
				<guid>http://www.danlance.co.uk/index.cfm/2008/10/2/Eclipse-Character-Encoding-issue</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Aggregate Bug? with ColdFusion (8.0.1) Query of Queries</title>
				<link>http://www.danlance.co.uk/index.cfm/2008/7/21/Aggregate-Bug-with-ColdFusion-801-Query-of-Queries</link>
				<description>
				
				I&apos;ve been having the following issue with CF8 Query of Queries on ColdFusion 8.0.2:

&lt;h3&gt;Iniital query resultset:&lt;/h3&gt;
&lt;table&gt;
&lt;tr&gt;&lt;td&gt;&lt;b&gt;attraction_latitude&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;attraction_longitude&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;51.4808&lt;/td&gt;&lt;td&gt;-0.155075&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;51.564617&lt;/td&gt;&lt;td&gt;-0.092513&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;51.558144&lt;/td&gt;&lt;td&gt;-0.316379&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
				 [More]
				</description>
						
				
				<category>ColdFusion</category>				
				
				<pubDate>Mon, 21 Jul 2008 11:18:00 --0100</pubDate>
				<guid>http://www.danlance.co.uk/index.cfm/2008/7/21/Aggregate-Bug-with-ColdFusion-801-Query-of-Queries</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Google Maps: How to zoom...</title>
				<link>http://www.danlance.co.uk/index.cfm/2008/7/13/Google-Maps-How-to-zoom</link>
				<description>
				
				The esiest way to zoom in and out on a Google Map, is to use the Mouse Wheel (up for zooming in, and down to zoom out).

Sometimes this isn&apos;t possible (by default mouse wheel zoom is disabled for API usage, and it&apos;s hard to use a mouse wheel when you&apos;re on a laptop with no mouse!)

In this case you can double click with the &lt;b&gt;left&lt;/b&gt; button to zoom in (I&apos;m sure everybody knew this) - but you can also zoom out by double clicking the &lt;b&gt;right&lt;/b&gt; mouse button.

(And if you are using a Mac Book, then tough luck as Apple are still insisting that a right mouse button is superfluous!!!) &lt;i&gt;(...waits for flames from Mac Fan Boys...)&lt;/i&gt;
				
				</description>
						
				
				<category>Google Maps</category>				
				
				<pubDate>Sun, 13 Jul 2008 20:14:00 --0100</pubDate>
				<guid>http://www.danlance.co.uk/index.cfm/2008/7/13/Google-Maps-How-to-zoom</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>CFAjaxProxy - don&apos;t add the .CFC file extension...</title>
				<link>http://www.danlance.co.uk/index.cfm/2008/7/9/CFAjaxProxy--dont-add-the-CFC-file-extension</link>
				<description>
				
				I&apos;ve been getting the following CF error when attempting to use the CFAjaxProxy tag:

&lt;blockquote&gt;The specified CFC &lt;b&gt;path.to.cfcname.cfc&lt;/b&gt; cannot be found&lt;/blockquote&gt;

The specified CFC definitely existed, and all the mappings had been set up correctly.

I was calling it with the following code:
&lt;code&gt;
&lt;cfajaxproxy cfc=&quot;path.to.cfcname.cfc&quot; jsclassname=&quot;searchCFC&quot;&gt;
&lt;/code&gt;

I was tearing my hair out for about an hour, before I realised &lt;b&gt;think CF not AJAX&lt;/b&gt; - the path to be supplied is in exactly the same format as all CFC references - i.e. excluding the .CFC file extension.

I&apos;m sure this is completely obvious to most people (although at least one guy (thanks Andy) mentioned having done the same thing even today) - but its the obvious ones that seem to catch me out!!!
				
				</description>
						
				
				<category>ColdFusion</category>				
				
				<pubDate>Wed, 09 Jul 2008 01:12:00 --0100</pubDate>
				<guid>http://www.danlance.co.uk/index.cfm/2008/7/9/CFAjaxProxy--dont-add-the-CFC-file-extension</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Weird issue trying to start a CF8 instance</title>
				<link>http://www.danlance.co.uk/index.cfm/2008/7/7/Weird-issue-trying-to-start-a-CF8-instance</link>
				<description>
				
				Just had the following issue when trying to start a CF8 instance.

Within the windows services control panel, I clicked start for all of the instances (8) - and they all started except 1.

This was following some fairly in depth reconfiguring of the instances - involving changes to multiple configuration files, the registry, and (perhaps most tellingly) mapping each instance to use its own configuration file by un-registering the windows service, and then re-registering the service using the new config file.

During this process, jrunsvc will stop the service if it is currently running.

When I checked within the JRun {instance name}-out.log file within the instance which would not start, I saw the following error:
&lt;code&gt;
error JRun Naming Service unable to start on port 2914
java.net.BindException: Port in use by another service or process: 2914
&lt;/code&gt;
				 [More]
				</description>
						
				
				<category>Windows</category>				
				
				<category>ColdFusion</category>				
				
				<pubDate>Mon, 07 Jul 2008 00:33:00 --0100</pubDate>
				<guid>http://www.danlance.co.uk/index.cfm/2008/7/7/Weird-issue-trying-to-start-a-CF8-instance</guid>
				
			</item>
			
		 	
			</channel></rss>