Odd CF Error and Simple Solution

March 12, 2008 1:39 PM
Related Categories: Web Dev

A client of ours had moved their site from one server to another recently.  The site was working fine, however after moving it to another similarly configured server it started throwing the following error on every single query.

Error Executing Database Query.

Can't find configuration template named 'coldFusion'

I hadn't seen that before, and couldn't find anything via google.

After some troubleshooting with the host and myself it seems that the datasource was slightly different upon move.  It no longer required the username and password to be provided via cfquery.  We were still providing it in the cfqueries though. When I removed the user/pass in the query string, poof back to normal

Update: this doesn't work after all, still looking into the issue.  Any thoughts appriciated.

I will note that the server is Win 2003, and CFMX 7.0.2.  DB looks to be Mysql 5. with jdbc 5.0.8 in use.


Like this entry? Subscribe to my blog.

Comments (moderation on)

Josh,

I did get one results when searching for "mysql can't find configuration template named":
http://www.google.com/search?q=mysql+Can%27t+find+...

I thought that these two results might interest you:
http://dev.mysql.com/doc/refman/5.0/en/connector-j...
and http://lists.mysql.com/commits/19807 , which is source code
# Posted By Tom Mollerus | 3/12/08 3:31 PM
Hey tom, good find! I will send along to the hosting company and post what we find out.
# Posted By joshua | 3/12/08 4:13 PM
The 5.0.8 jdbc uses a colfusion config if it figures out that its colfusion calling it, I wonder if the host doesnt have that file or template installed? That could explain the error.
# Posted By joshua | 3/12/08 5:00 PM

Sponsors


Savvy Content Manager