coldfusion-8

ColdFusion debugging problem in Eclipse (Break points not hit)

Hi, I am trying to get the debugger (CF extension for Eclipse) working for last few hours. And struck in strange situation. My settings are listed below ColdFusion 8 Eclipse 3.4 I set up the RDS & modified the JVM.config settings and verified the connection & debugger, both returns successful in test run. But When i attach a debugg...

How does ColdFusion serialize variables returned from web service calls?

I would like to know how ColdFusion serializes variables returned from web service calls so that I can figure out how large (in bytes) they are. I am having issues where when a few of my web requests are returning (I can tell from log statements) but then I get INVOCATION ERROR: Cannot perform web service invocation. My hunch from the ...

How can I access the CFFileServlet directory on a ColdFusion Web Server using multisite.dll?

I am using the multisite.dll ISAPI filter (http://www.hairy-spider.com/post/Multisite.aspx) in order to develop on several websites simultaneously on my Windows XP Professional/IIS 5.1 workstation. I am developing both HTML and ColdFusion websites. On the ColdFusion websites, when I use CFIMAGE to create an image in memory - a CAPTCHA im...

cfoutput not throwing any results

Hi I have a component that contains getters and setters, which is fed by a structure for session variables. When I call the component and use cfoutput tag for that getter and setter the output is giving gibberish as results. cffunctions_allDefinedSessnFunct2ecfc3324199482$funcGETCUSTOMER_ADDRESS_ZIP_CODE@6187548c cffunctions_allDefi...

How can I run a ColdFusion scheduled task at an interval <60 seconds?

I have a CFC method that I would like to run at an interval of 30 seconds. However, the problem is ColdFusion won't let me schedule a task that runs at an interval of 60 seconds or lower. Does anyone have a suggestion about how I can (and should) accomplish this? To preemptively answer the question "What happens when your script runs lo...

LiveCycle 2.6.1 Data Management with The ColdFusion 8.0 DataManagement Event Gateway Issue

Hello all, I've recently been developing a project that involves sending out events from ColdFusion to LiveCycle 2.6.1 using the Data Management event gateway to Flex 4.0 clients (LiveCycle and ColdFusion are on different Instances, but the same server). To begin with, I used ColdFusion assemblers, DAO's, and models and everything ...

Picking a ColdFusion MVC Framework

I am taking over a lot of the ColdFusion stuff that is lingering at our shop and they are insistent it stay on ColdFusion and that new projects in this area MUST be done in CF - basically this part is non-negotiable. I am not very experienced in CF (haven't touched it since 2003) so most of my development has been in .Net, MVC, C#, Linq...

Must one use an MVC FrameW to produce clean URL's?

The host that I want to host with does not support server side url rewriting, thus no third party tools can be installed to rewrite the url's. This is Coldfusion 8, on windows, IIS. The other alternative that I know of is to use a framework, but I do not feel like taking that route (time), for the application works well as it is (but t...

ColdFusion export to Excel

Hi everyone, I'm have a hard time getting the account number to display correctly when exporting data from database to an Excel spreadsheet. Please see the attach image. Under Company Name column "Company Name" and "AMCE" account number are showing up correctly. "Baba Gump" and "Another Name" is not display correctly. Users would hav...

Using MS SQL Server on Snow Leopard Server with Coldfusion

I was wondering if it was possible or is there a way of using that all together on one machine without virtualization ...

Why is my cfgrid outputting true/false instead of the words yes/no

I am working on some code that previously was using a cfquery, and is now using bind to a cfc to get the data. When it was using the query, the column 'workcomplete' showed yes/no (These are the values saved in the database as text). Now that it is using bind, that column is showing true/false instead of yes/no. They match, ie, if the da...

Design, storage and retrieval of dynamic forms

What is the design behind custom dynamically generated forms? Would like to implement something like drupal's CCK. In the control panel, the owner of the form designs what fields should be in the form and in what order the form fields should be in, as well as the field's attributes such as "required: yes/no" Once the form has been de...

View cfhttp request

I would like to view the actual http request that gets sent via my cfhttp tag. What is the best tool to capture this? Specially, I want to see exactly what headers and content are being sent. ...

How to Combine and sort columns? MySQL, CF8, MS Access 2003

I want to produce an alphabetized list of names produced by adding together two columns of names, columnA, and columnB. I have tried this: <cfquery name="listAuthors" datasource="hhLibrary"> SELECT title, (a1_Fname + a2_Fname) AS ColumnA, (a1_Lname + a2_Lname) AS ColumnB FROM books WHERE ColumnB LIKE '#firstletter#%' ORDER BY ColumnB <...

Error with Decrypt for "Could not perform unpadding: invalid pad byte.."

Using CF8 and MySQL 5.1, I am trying to encrypt() a password upon creation and then decrypt() at login. I can get the decrypt() to work fine on a test page but when I put it in a cfincluded page with cflogin I get the error "An error occurred while trying to encrypt or decrypt your input string: com.rsa.jsafe.crypto.dr: Could not perform...

ColdFusion 8 Diffie-Helman Encryption

I am integrating with a 3rd party that requires I use the Diffie-Hellman encryption algorithm. The CF docs indicate that this is a supported algorithm. When I attempt to call Encrypt() with either "Diffie-Helman" or "DH" I get the error message: "The Diffie-Hellman algorithm is not supported by the Security Provider you have chosen." I...

What is the safest way in ColdFusion to delete a folder and it's contents?

I am finishing creating a file upload utility for our site, and if the upload is an invalid format (per our specs not worth going over here) I would want to delete the folder the zip file was unzipped to, and all it's contents. So far I have used a method of creating a dynamic batch file like this: <!--- check if folder exists befo...

CF DESEDE encrypt() Key Length Issue

I am trying to encrypt a string using ColdFusion encrypt() with a 3rd party provided key like this: encrypteded = encrypt('theString', 'FD52250E230D1CDFD5C2DF0D57E3E0FEFD52250E230D1CDF', 'DESEDE/CBC/NoPadding', 'BASE64', ToBase64('0')); I get: "The key specified is not a valid key for this encryption: Wrong key algorithm, expected...

run multiple functions in a single cfselect bind

Hi, I am try to run a javascript function after my cfselect bind has executed. Is there any way I can achieve that? Here is my statement. cfselect name="artType" id="artType" size="1" query="qArtType" display="the_value" value="id" cfselect id="allValues" name="allValues" multiple="true" bindonload="true" bind="cfc:art.getArt({artType...

Very new to Rewrite IIS module, how do I start?

Hi sorry for such a basic and Newbie question, lol but I had never heard about URL rewriting until a couple days ago. I downloaded IIS 7 rewrite module to my local machine. I think(waiting on a definite answer) my hosting providor allows server side URL rewrites. But how do I even open the User Interface that is shown on the video on IIs...