
Carl Von Stetten
Guide
Carl Von Stetten
Guide
Activity
‎May 07, 2019
09:33 AM
I would look for a log file in your TEMP folder to see if any installation errors were logged. Have you also tried running the installer "As Administrator"?
... View more
‎Feb 14, 2019
01:07 PM
A bunch of people have reported issues with queryExecute() following the updates, but I haven't heard of <cfquery> issues yet.
... View more
‎Feb 08, 2019
11:03 AM
I'm not sure the statement made by "lead developer" in the second paragraph is accurate. If you have a CFC that has methods with `access=remote`, the difference in performance of making requests to it vs. to a CFM file is negligible. Yes, a new instance of the CFC is made each time; but for CFCs that don't involve storing state information, they are not much slower than calling CFMs. Also, in a properly architected application, where business logic lives in the model and is managed by a Dependency Injection (DI) framework, the functions in the remote-access CFCs would just be simple wrappers that call down to the model. Services in the model would likely be cached as "singletons" by the DI framework. Thus the remote-access CFCs would be very small and quickly instantiated on demand. Assuming no MVC framework is being used, I would lean toward using remote-access CFCs over CFM files.
... View more
‎Feb 06, 2019
08:07 AM
3 Upvotes
Yes, prior to CF2018, invalid values for CFSQLTYPE were ignored and automatically treated as "CF_SQL_VARCHAR". Starting with CF2018, an invalid CFSQLTYPE value will now throw an error. Also, FYI - you no longer have to use the "CF_SQL_" prefix to the data types - you can just use "VARCHAR" or "DATE" or "INTEGER" or the like.
... View more
‎Feb 05, 2019
09:26 AM
1 Upvote
The license key is stored in the <cfinstallfolder>/cfusion/lib/license.properties file. Just delete the value that follows "sn=", and restart your server. -Carl V.
... View more
‎Oct 17, 2018
09:24 AM
1 Upvote
Where is "Auth_User" coming from or how is it being set? Is it from a CGI variable? Keep in mind that some of the CGI variables that are typically populated by ColdFusion if installed using the installer may not be available with a WAR deployment on stock Tomcat. The Tomcat included in a ColdFusion install has been customized by Adobe to provide additional functionality, including setting many CGI variables. https://coldfusion.adobe.com/category/coldfusion-blog/
... View more
‎Aug 31, 2018
05:49 PM
I've never successfully done in-place upgrades from one server OS release to another. I'd especially be surprised if jumping from Windows 2008 straight to Windows 2012R2 (skipping 2008R2 and 2012) would work cleanly. As to "bare metal installs", my experience of late has been with running virtual servers (using VMWare). Once the virtual machine is up and running, a complete install of Windows and ColdFusion (including applying the Lockdown Guide) can easily be done in a single day, often in just a couple of hours. I would expect that the IIS 8.5 (the version in Windows 2012R2) would perform better than IIS 7.0 (the version in Windows 2008). ColdFusion 2016 is compatible with Windows Server 2016 (per https://helpx.adobe.com/pdf/coldfusion2016-support-matrix.pdf ). Windows 2016 has been out for almost 2 years now - enough time that patches should have resolved any significant bugs. HTH, -Carl V.
... View more
‎Jul 20, 2018
08:15 PM
Is the "ColdFusion 2016 Application Server" service running (assuming you chose to run as service during installation)? If you didn't install as a service, have you run "cfstart.bat"?
... View more
‎Jul 12, 2018
02:47 PM
Are you asking specifically about whether a CF11 license can be upgraded directly to CF2018? If so, see this ColdFusion Portal blog post and comments: https://coldfusion.adobe.com/2018/05/upgrade-path-to-coldfusion-2018-release/ Upgrade path to ColdFusion (2018 release) | ColdFusion Priyank - were you talking about code migration or license upgrade?
... View more
‎Jul 11, 2018
05:11 PM
Charlie, Thank you for the clarification on the support dates. As to the onRequest() vs. onRequestStart(), you are correct that you must have a <cfinclude> in the onRequest() method to actually load the page requested like so: <cfinclude template="#ARGUMENTS.TargetPage#" /> However, nothing prevents one from putting additional <cfinclude> tags either before or after the one that calls the TargetPage. I have an application that has run for more than 10 years that had two or three additional <cfinclude> tags in it to load some common "chrome" to the site. Should those have been in onRequestStart() instead?
... View more
‎Jul 11, 2018
10:48 AM
It depends. Are you using Application.cfc or Application.cfm? If you are using Application.cfc, you can add the <cfinclude> tag to the onRequest() function and that will load it on every page. If you are using Application.cfm, you might be able to achieve this too. However, I couldn't tell you how (I haven't used Application.cfm in so long I don't remember anything about it).
... View more
‎Jul 11, 2018
08:42 AM
@Brons2+ Could you start a new thread specific to this issue? This thread is quite old and isn't specific to CF2016. Thanks,-Carl V.
... View more
‎Jul 11, 2018
08:32 AM
Any .cfm file can be "shared" by including it in other .cfm files using the <cfinclude> tag: https://cfdocs.org/cfinclude So every page that needed the "shared" modal .cfm file would have a <cfinclude template="myAwesomeModal.cfm"> somewhere in it. You'll have to look into the docs for whichever modal UI library you choose to use for how to pass the data to it via JavaScript.
... View more
‎Jul 10, 2018
02:15 PM
I haven't used pop-ups in quite a long time, so I've never tested it on Edge. With regard to modal dialogs - you can do an include in ColdFusion (see the <CFINCLUDE> tag), and put the modal content into a shared file. However, are the modal dialogs the same on all 600 or so pages?
... View more
‎Jul 10, 2018
11:28 AM
it's just the editor that is version 5 What editor are you using? Although that probably isn't totally germane to this discussion. There is a difference between a pop-up and a modal dialog. A pop-up is another browser window. There are JavaScript techniques to open a pop-up with most of the browser's chrome hidden. But it's possible you won't be able to hide the Address bar (maybe only make it read-only) - that may vary based on how each browser implements those features. It sounds like this is what you are working with (as indicated by "window.open"). A modal dialog is a construct that "overlays" the web page inside the same browser window. Being "modal" means it blocks interaction with the rest of the page until the dialog is closed. Modal dialogs are usually produced using JavaScript/CSS frameworks or plugins (like Bootstrap or jQuery UI).
... View more
‎Jul 10, 2018
11:07 AM
Just to add to WolfShade comment - if you are upgrading you should go straight to CF 2016. CF10 is no longer under support, and CF11 will drop off of support when CF2018 is released (currently in beta, likely will be released as final later this year). And definitely look into Bootstrap or another HTML5/JS/CSS front-end library to do modals (even jQuery UI would be better than using any of built-in UI stuff in ColdFusion).
... View more
‎Jul 10, 2018
10:59 AM
There is still some ColdFusion code support inside Dreamweaver. If you have ColdFusion (likely Developer Edition) on the same machine, it might be requiring the service be stopped to make sure it can update some stuff inside ColdFusion's WEB-INF folder (I seem to recall that there were some integration plugins that get installed that allowed Dreamweaver to interact directly with CF Server via RDS or otherwise).
... View more
‎Apr 05, 2018
08:33 AM
1 Upvote
I didn't pay close enough attention to the title - specifically asking about CFBuilder 3 (not 2016). Older versions (including CFBuilder 3) can be downloaded from the community ColdFusion repository: http://www.cfmlrepo.com/.
... View more
‎Apr 05, 2018
08:28 AM
CFBuilder 2016 would have a different license key from V3. If you have a license for CF 2016, you should have gotten at least one license key for CFBuilder 2016 as well.
... View more
‎Apr 04, 2018
08:56 AM
1 Upvote
You can download the trial version here: https://www.adobe.com/products/coldfusion-builder/download-trial/try.html and then enter your license key.
... View more
‎Mar 20, 2018
10:51 AM
In the past, I had more success using the JDBC driver for iSeries than using an ODBC connection. The jt400.jar driver file is installed when the iSeries client software is installed, so you should be able to grab a copy from an PC running the iSeries client.
... View more
‎Mar 06, 2018
10:07 AM
They must not have been removed completely, otherwise that entry in web.config would have been removed as well. That can happen sometimes if the web server configuration tool isn't run as Administrator.
... View more
‎Mar 02, 2018
03:38 PM
Charlie, Thanks for the reminder - I forgot that came in mid-stream of the CF11 lifecycle. I agree, somewhat with recommending people to rename their /api folders... Except, if they have no intention of using the CF built-in REST stuff. "/api" is a pretty widely used convention for the path to, well, APIs. And I'd wager that the majority of folks who are building REST APIs in ColdFusion are NOT using the built-in stuff (they're probably using Taffy, ColdBox, FW/1, or another framework or homegrown solution).
... View more
‎Mar 02, 2018
03:06 PM
It was probably that the existing CF10 connectors hadn't been removed yet. Whenever you do in-place upgrades, you have to remove the previous version's connectors from IIS (using the Web Server Config tool for the previous version) and then adding the new connectors by running the Web Server Config tool for the new version.
... View more
‎Mar 02, 2018
03:04 PM
1 Upvote
The last software I used to convert TIFFs to PDFs was part of the GNU Win32 TIFF library: http://webcache.googleusercontent.com/search?q=cache:http://gnuwin32.sourceforge.net/packages/tiff.htm It hasn't been touched since 2006, but it still works. I called it using CFEXECUTE.
... View more
‎Mar 02, 2018
02:57 PM
Ryan, I was referring to the (somewhat confusing) licensing based on CPU processing power (5GHz total for CF11 Standard). Depending on what processors are in the virtual host, theoretically you could use a Standard licence on a Virtual Machine (VM) with more than two cores (if the product of cores * CPU speed < 5GHz). That licensing scheme was unique to CF11. With CF2016, it's based entirely on number of cores.
... View more
‎Mar 01, 2018
09:34 AM
1 Upvote
Joseph, As you discovered, CF2016 added a servlet mapping to reserve /api for the built-in REST functionality, much like how /rest was previously reserved in CF10 thru CF2016. Either changing that servlet mapping, or commenting it out entirely will allow you to use the /api path for your own purposes, independent of the built-in REST functionality. -Carl V.
... View more
‎Jan 30, 2018
11:57 AM
Assuming the data is coming from a form submission, are you doing anything to sanitize the data (any EncodeForXXX () ) or XXXEncode() calls)? What database are you using? Are you using <cfqueryparam> around your values in your insert/update statements?
... View more
‎Jan 30, 2018
11:53 AM
1 Upvote
And if not, are the datasources configured identically between CF10 & CF2016? -Carl V.
... View more
‎Dec 21, 2017
10:47 AM
It appears CF assigns a generated value for the "id" property on the actual TEXTAREA. From your DOM screenshot previously shown, that id was "cf_textarea462361889760434". So your document.getElementById() would need to use this generated id. Does ColdFusion use a random number in that generated id that changes each time the page is loaded? If so, you'll have to change it to something like: alert(document.getElementsByName('messageAreaDJ')[0].value); -Carl
... View more