"Unable to load Library Null" error with ColdFusion Custom Tag
Today I experienced the following error, "Unable to Load Library Null" from a custom tag that was in use on a site that I was moving from CF7 to CF9. The custom tag, CFX_Check_Email, was working fine on my CF7 server, but was producing errors on my new CF9 server running IIS 7.5 and Windows Server 2008. The custom tag did run fine on my development machine with Windows XP and CF9, so I was a little confused as to why I was getting the error on my new server.
As the CFX_Check_Email custom tag is no longer really needed with the existence of the IsValid() function with the email attribute, I was not really too concerned, but I did want to know why it worked on on my development machine but not my new server. My first few searches on the net really did not find much, as the use of ColdFusion custom tags are less and less these days. I did eventually find a post by Brent Frye, that outlined the problems with ColdFusion Custom Tags that were compiled for 16-bit systems. These tags, which would run on 32bit systems do not function correctly on 64-bit systems. Hope this helps others when they are searching for the cause of this error.
Comments
@Branden - Glad you found the post to be useful! The documentation for isValid() is in the official docs from Adobe. It was added in cf7. http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-7fb9.html
I was suspicious of this issue with regard to the 64 bit systems. This is a problem that I can work around. I've been using cfx_image for years on my own systems but a customer recently had me move them onto their own box at godaddy and it's running server08, cf9, sql08, and cfx_image. Now that coldfusion supports image manipulation with their cfimage since CF8 i can just switch them to using that. Kudos on the Isvalid() function. I hadn't heard of that. Do you know of any documentation I can read up on how to implement it? If it works like I'd expect, that could be a really useful function! Thanks for your post!