ColdFusion error “Unable to create temporary file”

On November 9, 2010, in ColdFusion, by Anuj Gakhar

While working on a project last night, I had to do some image resizing on user upload, ie a user uploads his picture and the system had to keep the original and resize the image to 2 other sizes as well and save them on-disk. With ColdFusion, this surely sounds just a few lines of […]

Tagged with:  

Getting UK GeoCode Data with YQL and ColdFusion

On July 16, 2010, in ColdFusion, by Anuj Gakhar

I stumbled across YQL today and although I had heard about it in the past, today was the first time, I actually sat down and read the documentation and went through some of the example apps. I am amazed at how powerful it is and am just imagining the wonderful applications that can be built […]

Tagged with:  

Sorting XML with XSLT and ColdFusion

On June 28, 2010, in ColdFusion, by Anuj Gakhar

I came across a requirement today, where I had to sort a XML file by one of the attributes in one of its child nodes. I did some searching and came across these excellent posts by Ben Nadel.  Obviously, that gave me some headstart and it was clear that XSLT was the way to go.  […]

Tagged with:  

CF/Flex Connectivity in Flex Builder : Invalid root. The WEB-INF/flex folder must contain either flex-config.xml or services-config.xml.

On June 8, 2010, in ColdFusion, Flex Builder, Flex, Mac, by Anuj Gakhar

I was setting up a new Project in Flex Builder with Application Server Type as ‘ColdFusion’. I had the default values in the Flex Builder wizard. But the Wizard wont let me go past the second screen. I kept getting this error :- Invalid root. The WEB-INF/flex folder must contain either flex-config.xml or services-config.xml. And […]

Tagged with:  

Enabling AutoFilters on an Excel Template Dynamically

On June 1, 2010, in ColdFusion, Web Development, by Anuj Gakhar

I had a requirement to generate an Excel report based on some filter criteria. Since I am using ColdFusion for the project, I will be using ColdFusion code to demonstrate what I did but this can pretty much apply to any language that can run loops and write files. My requirement was to have Excel’s […]

Tagged with:  

What is the best way to deal with Spiders/Bots/Crawlers?

On January 26, 2010, in ColdFusion, by Anuj Gakhar

Although Search engine Spiders are a good thing (e.g. GoogleBot, YahooSlurp etc) as if they dont spider your website, you will probably not appear on search results, but at the same time, they also cause a lot of un-necessary management to be done on the developer side of things. Here are a few of the […]

 

Installing ColdFusion 9 on MacOSX with Apache : Broken Apache Config

On January 22, 2010, in ColdFusion, Mac, by Anuj Gakhar

I had to re-install ColdFusion 9 on my MacOS today and having installed CF approx. a million times before, I thought it would only take few minutes. Here is what I did :- 1) Went to /Applications/ -> Moved existing “ColdFusion 9” folder to Trash. 2) Ran the CF Installer and everything went well. But […]

Tagged with:  

Creating Multiple IIS Websites in one go

On January 14, 2010, in ColdFusion, Web Development, by Anuj Gakhar

I was assigned a task, recently, whereby I was given a list of about 100 domain names and I had to create all those websites on a fresh installation of IIS 6.0.  Naturally, I started looking for some kind of tool that would do this for me. After spending some time on search and asking […]

 

Easiest way to get Twitter Statuses with ColdFusion

On August 25, 2009, in ColdFusion, by Anuj Gakhar

This post of mine is coming after a long time, I know. The reason for this has been lack of time, being very busy with other things etc. I will try to be more frequent here hereafer. Anyways, in a recent project, I had the requirement to show Twitter statuses on the homepage of the […]

Tagged with:  

Removing NameSpaces from XML using XSLT and ColdFusion

On April 22, 2009, in ColdFusion, by Anuj Gakhar

If you are using ColdFusion XPath functions to search/parse XML strings, you will probably have come across this one at some point.  Not all, but most of the XML files have namespaces in them e.g. xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance”. If you use Xpath on a string that contains namespaces, chances are that you will get back the namespaces […]

Tagged with:  

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 446 other subscribers

© 2011 Anuj Gakhar