Re: ColdFusion 9 on Java 8

2015-03-12 Thread Dan G. Switzer, II
You may find the jump from CF9 to CF10/11 to require changes to your app. I know the change for us was not straightforward. Make sure you plan for an extensive QA cycle after upgrading. One of the biggest issues we ran into was with date/time conversions. We store everything in UTC. Adobe changed

Re: ColdFusion 9 on Java 8

2015-03-12 Thread Andy G
Also, don't forget that with Java 8 you will not have access to any ODBC datasources as they have removed the JDBC-ODBC bridge in Java 1.8. This is a non-issue for most, but for company's like ours that provide middleware for legacy applications using older dBase, FoxPro, etc. back ends,

Re: Advise in optimizing an application

2014-11-15 Thread Dan G. Switzer, II
You need to turn use some debugging tools to help you identify the key culprits. For example, if your query to check if a user has unsubscribed is taking 500ms, that alone would be the reason for the slowness. Either use the step debugger, a tool like FusionReactor or just turn on verbose

Re: Forms not passing data?

2014-09-21 Thread Dan G. Switzer, II
Are you posting the data via AJAX? There's a known issue w/IE9 and earlier w/AJAX POST operations, where if the server's keep alive timeout is lower than 60 seconds, it can cause IE problems and what you get is a request that doesn't post the data back to the server. -Dan On Sun, Sep 21, 2014

Re: EMail Injection Attack

2014-08-18 Thread G T
Hi Robert - Thanks for the reply, yes of course let me explain a bit more. While checking our sent mail logs, logged by coldfusion, we noticed emails were being sent out that was not directly sent through our own pages. Spam emails that were sent to different outside emails. So we can see

Re: EMail Injection Attack

2014-08-18 Thread G T
The server itself is our own dedicated webserver, and as for our email server we're using Microsoft 365 so I do not think the compromise is at that level. I may implement the smtp auth piece to at least mitigate the issue as of now. Thanks for the suggestion! Do you have admin control of

Re: EMail Injection Attack

2014-08-18 Thread G T
Hey Jeff - This is our current coldfusion setup: Server Product ColdFusion Version 8,0,1,195765 Update Level /C:/ColdFusion8/lib/updates/hf801-3.jar I took a look for the h.cfm file under the CDIFE root and the webroot and did a search as well for this file but did not see

Re: EMail Injection Attack

2014-08-18 Thread G T
I currently have logging for sent mail through cfadmin so that is really the way I found out that email is being sent outbound somehow. I do have captcha implementation on my forms, but it's been a bit of time since I initially implemented this, so I was also considering the possibility that

Re: EMail Injection Attack

2014-08-18 Thread G T
Hey Dean - I'll be looking at my webserver logs to see if I can see any correlation with my mail logs. But to respond to your thought, none of the code so far allows the user to specify who they're sending to. The forms that send email are at the very basic level just notification to our

Re: EMail Injection Attack

2014-08-18 Thread G T
To consolidate a few thoughts here - 1) I will be looking to webserver logs and mail sent logs to see if I see any points of contact of when/where the attacks are coming from. If I can isolate the problem to it actually being a page attack (ie. email inject) vs a serverside compromise (ie.

Re: CF 9 and Java 1.7 ?

2013-12-19 Thread Dan G. Switzer, II
We've been running 1.7.0_17 with great success. We recently tried moving to 1.7.0_45, but started to see some very bizarre issues in production so we rolled back to 17. Things have been fine since rolling back. The issue we saw was that functions being passed argument collections would

Re: Removing bullets from textarea

2013-11-05 Thread Dan G. Switzer, II
You'd need to convert the hexidecimal numbers to standard decimal numbers. The chr() does not work with hexidecimal values. -Dan On Tuesday, November 5, 2013, Joy Paulose wrote: John, I did use Replace function, but circle and square bullets still do not work. I tried all the following

Re: Mobile

2013-09-27 Thread Dan G. Switzer, II
John, I've looked into the following recently: - http://detectmobilebrowsers.com/ - In my testing, the code they give you works surprisingly well. It does not report tablets as mobile, which is the behavior I was looking for, but not be want you want. They basically give you some

Re: Mobile

2013-09-27 Thread Dan G. Switzer, II
width rather than user agent strings. Also the dev tools in Chrome has a neat little feature to allow you to specify a different user agent as well as screen size for testing on the desktop. Sent from my iPhone On Sep 27, 2013, at 4:13 PM, Dan G. Switzer, II dswit...@pengoworks.com

Re: CF10 Dev Edition...

2013-08-15 Thread Dan G. Switzer, II
That sounds like 3 requests from the same IP--which would be over the 2 request limit. 1. Your initial request to the .cfm page 2. The .cfm page makes an HTTP call to another page 3. That page calls in invokes CFC over HTTP -Dan On Tue, Aug 13, 2013 at 7:33 PM, Eric Roberts

Re: How can I view arguments in a CFC on-screen?

2013-04-01 Thread Dan G. Switzer, II
Use the step debugger. On Monday, April 1, 2013, Russ Michaels wrote: Dump them all to a file, then view the file. Regards Russ Michaels www.michaels.me.uk www.cfmldeveloper.com - Free CFML hosting for developers www.cfsearch.com - CF search engine On Apr 1, 2013 6:36 PM, Rick

Re: CF 9.01 with Cumulative hot fix 4 won't work with Java 1.7

2013-03-27 Thread Dan G. Switzer, II
I had the same problem today, but followed Adobe's instructions and copied to the file to {ColdFusion-Home}\runtime\bin and that resolved the issue for me. -Dan On Wed, Mar 27, 2013 at 9:20 AM, DURETTE, STEVEN J sd1...@att.com wrote: All, I solved this one and wanted anyone else who might

Re: cfcontent changing name of file

2012-12-29 Thread Dan G. Switzer, II
Rob, The following should work: cfheader name=Content-disposition value=inline;filename=#downloadFile# / -Dan On Saturday, December 29, 2012, Rob Voyle wrote: Hi Russ creating objects is beyond my expertise and I couldn't get the sitepoint idea to work. Kept getting an object error.

Re: (ot) How compatible is SQLServer 2012 with SQL Server 2005 databases?

2012-09-14 Thread Dan G. Switzer, II
I don't think you will have any issues, but if your really worried about creating 2005 databases in 2012 that aren't compatible, why don't you just create a blank database in a 2005, then either take it offline and make a master copy or make a backup of it. You could then use that backup to

Re: Modern (and free) html/cf editor that is similar to Homesite?

2012-08-13 Thread Tim L (g-mail)
. Not as light weight as Notepad++ but it is a very nice product. http://www.activestate.com/komodo-edit HTH G! On Mon, Aug 13, 2012 at 12:27 PM, Carl Von Stetten vonner.li...@vonner.netwrote: Another +1 for Notepad++. -Carl

Re: Modern (and free) html/cf editor that is similar to Homesite?

2012-08-13 Thread Tim L (g-mail)
- From: Tim L (g-mail) [mailto:homet...@gmail.com] Sent: Monday, August 13, 2012 1:49 PM To: cf-talk Subject: Re: Modern (and free) html/cf editor that is similar to Homesite? Anybody having a problem getting the Notepad++ cold fusion Lexer plug-in to install? On Mon, Aug 13, 2012 at 1:44 PM

Re: X-Sendfile for IIS6

2012-08-09 Thread Dan G. Switzer, II
Anyone seen any working solutions to this problem for IIS6? -Dan On Mon, Aug 6, 2012 at 4:25 PM, David Sifford david.siff...@givainc.comwrote: (I hope it's ok, but I thought I'd post this here as we're looking for a way to serve files via the Web server, similar to Ben Nadel's example at

Re: Streaming PDF in CF8 / Performance Issues

2012-08-01 Thread Dan G. Switzer, II
Have you looked into an X-sendfile-mod for your web server? That will allow you to validate the request in CF, but pass the request back to the webserver to serve the file. The file does not have to be in a web accessible directory. -Dan On Wednesday, August 1, 2012, Jeff Chastain wrote: I

Re: Alternative for using SQL bind parameters

2012-06-08 Thread Dan G. Switzer, II
If you're on CF9+, then you can do what you want: http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSe9cbe5cf462523a0693d5dae123bcd28f6d-7ffb.html You can also duplicate this concept in earlier versions of ColdFusion. I actually built an implementation for CF8 (probably would work in CF7 too)

Re: emailing a cfchart?

2012-02-20 Thread Dan G. Switzer, II
Dave, I haven't had a chance to check this, but does CF10 no longer provide the ability to generate static images for charts? It looks like everything is canvas or Flash-based, which is going to be problematic for emailing or using in a PDF--both of which I use. Any idea? -Dan On Monday,

Re: Dynamically Added Form Fields Not Submitted

2011-09-22 Thread Dan G. Switzer, II
I've seen this behavior with malformed HTML were the form tags are between table and tr tags. Check to make sure your HTML is valid. -Dan On Thursday, September 22, 2011, Robert Nurse rnu...@gmail.com wrote: Are you actually adding them as elements to the dom or just adding the html text to

Re: SAML Response to Google Apps

2011-08-09 Thread Dan G. Switzer, II
Are you running in the Dev version of CF? if so, it can add some HTML to the output stream that will corrupt any XML output. Are you sure the the code Google is seeing isn't getting altered? -Dan On Tuesday, August 9, 2011, Panning, Ryan ryan.pann...@district196.org wrote: Has anyone

Re: Out of memory error when creating Solr collection

2011-07-23 Thread Dan G. Switzer, II
records that changed since the batch process started and process those records again (which should be a relatively small number of records.) -Dan On Friday, July 22, 2011, Dan G. Switzer, II dswit...@pengoworks.com wrote: Eric, I'd return the records in like 50,000 row chunks and process them

Re: Out of memory error when creating Solr collection

2011-07-22 Thread Dan G. Switzer, II
Eric, I'd return the records in like 50,000 row chunks and process them that way. If you're using SQL Server 2005+ you can use CTEs to paginate the results (but most modern database have a way of doing pagination.) This will keep the memory footprint lower. -Dan On Friday, July 22, 2011,

Re: onSessionEnd not working as expected

2011-06-17 Thread Dan G. Switzer, II
=#Arguments.ApplicationScope.database.dsn# -Dan -- Dan G. Switzer, II dswit...@pengoworks.com http://blog.pengoworks.com/ █▀▀▀▀▀█ ▄▀ ▄█▄▄█ █▀▀▀▀▀█ █ ███ █ ▀███▀ █▀ █ ███ █ █ ▀▀▀ █ █▄ ▄ ▀██ █ ▀▀▀ â

Re: Best way to use cfschedule for large number of tasks

2011-06-01 Thread Dan G. Switzer, II
a separate instance for scheduled tasks. -Dan -- Dan G. Switzer, II dswit...@pengoworks.com http://blog.pengoworks.com/ █▀▀▀▀▀█ ▄▀ ▄█▄▄█ █▀▀▀▀▀█ █ ███ █ ▀███▀ █▀ █ ███ █ █ ▀▀▀ █ █▄ ▄ ▀██ █ ▀â

Re: Best way to use cfschedule for large number of tasks

2011-05-31 Thread Dan G. Switzer, II
. If it's important enough, you can find out how long each task is taking to execute, find which generated errors, re-queue events, etc. You can also really easily just fire off stuff in queue manually. -Dan -- Dan G. Switzer, II dswit...@pengoworks.com http://blog.pengoworks.com/ █▀▀▀â

Re: cfhttp response with non-english characters gets cut off

2011-05-18 Thread Dan G. Switzer, II
Morgan: Have you tried using cfprocessingdirective pageEncoding=utf-8 / to the page with your CFHTTP call? -Dan On Wed, May 18, 2011 at 11:35 AM, morgan l greyk...@gmail.com wrote: I'm running into a strange issue here. CF8: (8,0,1,195765) JVM: 1.6.0_16 Windows Server 2003 We're

Re: Using CFTHREAD on CF PRO

2011-05-17 Thread Dan G. Switzer, II
weird queuing issues. -Dan -- Dan G. Switzer, II dswit...@pengoworks.com http://blog.pengoworks.com/ █▀▀▀▀▀█ ▄▀ ▄█▄▄█ █▀▀▀▀▀█ █ ███ █ ▀███▀ █▀ █ ███ █ █ ▀▀▀ █ █▄ ▄ ▀██ █ ▀▀▀ █ ▀▀▀â

Re: Odd issue with Query

2011-04-08 Thread Dan G. Switzer, II
Charlie, If you're using MSSQL and cfqueryparam /, sometimes running a query directly in SSMS may lead to misleading information. I wrote a blog issue a while back that talks about one issue:

Re: SOT: SQL CTE update

2011-03-29 Thread Dan G. Switzer, II
Why bother with cursors or temp tables at all and just sort across Depth desc instead of Depth asc? -Dan On Tue, Mar 29, 2011 at 2:59 PM, Jason Durham jqdur...@gmail.com wrote: Nevermind... all I could see were nails. I'll create a temp table for the regular navigation and use that table

Re: SOT: SQL CTE update

2011-03-29 Thread Dan G. Switzer, II
it via a temp table. Jason Durham On Tue, Mar 29, 2011 at 2:14 PM, Dan G. Switzer, IIdswit...@pengoworks.com wrote: Why bother with cursors or temp tables at all and just sort across Depth desc instead of Depth asc? -Dan On Tue, Mar 29, 2011 at 2:59 PM, Jason Durhamjqdur...@gmail.com

Re: What event specifically triggers OnApplicationStart?

2011-03-28 Thread Dan G. Switzer, II
One thing to keep in mind, if you do not have a *unique *ApplicationName on your server, then the variables could be shared w/another application--which is especially dangerous on shared hosting. I've seen people roll out an application w/a common ApplicationName like MainApp and have issues

Re: Database Lookup - Possible with CF?

2011-03-14 Thread Dan G. Switzer, II
I also posted already posted an example for Ian showing the jQuery/CF7 portion of the code: http://blog.pengoworks.com/index.cfm/2011/3/3/Easy-AJAX-using-ColdFusion-jQuery-and-CFCs The example does deal w/a struct, but converting data to a struct is very straightforward. I know he's seen

Re: Web Service Over SSL

2011-03-09 Thread Dan G. Switzer, II
Bobby, No, you still have to restart CF to get the JVM to recognize the cert. Are you looking for a new for a new SSL provider that has cheap SSL certs? -Dan On Wed, Mar 9, 2011 at 11:48 AM, Bobby Hartsfield bo...@acoderslife.comwrote: Are you saying it allows you to add certs to the

Re: Riaforge down?

2011-03-06 Thread Dan G. Switzer, II
Bobby, On Sunday, March 6, 2011, Bobby Hartsfield I sent an email to Ray a day or two ago but never heard back and now it is just worse. Raymond has been out of the country. I believe he's back in the States now, but I suspect he's probably a bit behind in emails. -Dan

Re: Database Lookup - Possible with CF?

2011-03-03 Thread Dan G. Switzer, II
Ian, I just posted a blog entry about how easy jQuery CF can handle using AJAX to populate a form: http://blog.pengoworks.com/index.cfm/2011/3/3/Easy-AJAX-using-ColdFusion-jQuery-and-CFCs -Dan On 3/3/2011 10:57 AM, Ian Vaughan wrote: Hi Dave I'm willing to give CF a go, even though here

Re: DaysInMonth issue

2011-03-01 Thread Dan G. Switzer, II
I suspect the actual issue is that the script is running after midnight in whatever timezone his servers in. So, instead of getting 28 for February, he's getting 31 for March. -Dan On Tue, Mar 1, 2011 at 11:27 AM, Robert Harrison rob...@austin-williams.com wrote: Have you tried doing

Re: Google Charts - QR Code - cfimage

2011-02-09 Thread Dan G. Switzer, II
JD, In my experience, the image functions generally want an extension for the input so the image libraries know how to handle the image. Since the URL doesn't have a .png in the filename, I think that's the problem. You may need to use CFHTTP to save the image as a PNG on a filesystem and then

Re: How do I get a save/download window using Ajax?

2010-12-27 Thread Dan G. Switzer, II
You can't download files like that via AJAX. What you can do, and what I've done in the past, is use an iframe to push the download to the browser. In the past I've used AJAX to check the server to see if the downloadable file is ready for download. I do this by creating a unique download token

Re: REQUEST.cfdumpinited

2010-11-30 Thread Dan G. Switzer, II
Sean, Why not just use the format attribute and dump the contents in plain text--which is a lot more lightweight for mail delivery: cfdump var=#x# format=text / -Dan On Tue, Nov 30, 2010 at 2:23 PM, Sean Henderson shender...@followup.netwrote: In CF9, setting REQUEST.cfdumpinited to true

Re: jQuery and cfcontent

2010-10-12 Thread Dan G. Switzer, II
On Tuesday, October 12, 2010, Dave Watts dwa...@figleaf.com wrote: You can't prompt the user to download a file if you're invoking the URL with standard jQuery AJAX calls. You have to basically just fetch the URL into a new or blank window. I'd recommend posting to an iframe. You can even

Re: cfoutput or cfloop? which is the more practical solution

2010-09-27 Thread Dan G. Switzer, II
of rows, this works really well for most use cases. -Dan On Sun, Sep 26, 2010 at 10:46 PM, GLM g...@glmdesigns.com wrote: Thx Mike, I've started my reading early. One of my questions was: how much space would the numbers table occupy? Found that that 2G rows (2,000,000,000) is roughly 8GB

Re: struct lookup vs. query of queries

2010-07-13 Thread Dan G. Switzer, II
Depending on the size of the lookup table, I like using a struct to hold a reference to the row number, that way I quickly lookup the data in the query. Lookup = structNew(); Lookup[id] = row; then you can do: query.column[Lookup[id]]; -Dan On Tuesday, July 13, 2010, Michael Dinowitz

Re: Slow cfqueryparam IN clause on SQL Server 2008

2010-06-14 Thread Dan G. Switzer, II
I've seen this behavior with long lists. The solution I've used was to write a MSSQL UDF that would convert the param'ed value into a table variable--which strangley resolves the issue. -Dan On Monday, June 14, 2010, Matthew Lesko m.le...@verizon.net wrote: Wondered if anyone else had

Re: HTML 5, has anyone done anything more than played with it

2010-06-01 Thread Dan G. Switzer, II
The great thing (or not so great, depending on your view) is that older browsers will simply ignore the markup they don't understand. That allows you to gracefully fallback for older legacy browsers. -Dan On Tuesday, June 1, 2010, Sean Corfield seancorfi...@gmail.com wrote: On Tue, Jun 1,

Re: MSSQL Where In not working with variables

2010-04-20 Thread Dan G. Switzer, II
Paul, On Tue, Apr 20, 2010 at 2:31 PM, Paul Alkema paulalkemadesi...@gmail.comwrote: Eh, sorry. I've just found the solution to my own problem. Just for future reference, this is my solution. DECLARE @idList varchar(max) DECLARE @sql varchar(max) SET @idList = '1,2' SET @sql =

Re: DateDiff() and Minutes Wierdness

2010-04-14 Thread Dan G. Switzer, II
Brad, On Tuesday, April 13, 2010, Bradley Stone b...@nb9m.com wrote: All: Feeding DateDiff() dates which are more than 24 hours apart yields minutes: cfoutput #DateDiff(n, 2010-04-08 19:41:36.0, 2010-04-12 19:10:34.0)# /cfoutput Result: 5728 However, feeding DateDiff() dates which

Re: storing a cfinput inside of a variable

2010-04-08 Thread Dan G. Switzer, II
Steve, Is there anyway to use cfset or cfsavecontent to store a complete cfinput tag? i.e. cfset config.formFieldA = cfinput type=text name=fieldname value=// If I do a view source, I see it the code on my output page, but it won't render at all in the browser. If I try cfsavecontent

Re: ColdFusion Builder Released!

2010-03-30 Thread G Allen R Souliere
Though I'm not a particularly religious man, AMEN! Roger Austin wrote: This whole discussion has gotten tedious and needs to go off-line. Adobe software has never been cheap. Acrobat, Photoshop, etc. People purchase the packages because they need them and have no other choices, or because

Re: ColdFusion Builder Released!

2010-03-30 Thread G Allen R Souliere
I think that doing a simple call to cfabort Charlie Griefer wrote: Heh... I know I did my part to contribute to the spiraling thread of death, but I agree. We've long passed the point of diminishing returns here and seem to be stuck in a loop. Somebody... anybody... feel free to call me an

Re: ColdFusion Builder Released!

2010-03-30 Thread G Allen R Souliere
What's wrong with goats? denstar wrote: On Tue, Mar 30, 2010 at 12:04 PM, Dave Watts wrote: I've worn my delete button out..eck, I've developed RSI from the single action of deleting my emails...enough already. One nice thing about using Gmail for this is the ability to mute a

Re: ColdFusion Builder Released!

2010-03-24 Thread G Allen R Souliere
I agree wholeheartedly with Dave. In the scheme of software development as an industry, $300 is trivial. Look up the price for Rational Rose, TOAD or ERWin; they are in the hundreds to thousands. Look at the price of ColdFusion itself, which we often have to convince clients that it is

Re: Differences between MySQLs?

2010-03-24 Thread G Allen R Souliere
Any chance that the two databases are not identical? Perhaps the column type is not the same? I imagine MySQL has something similar to Oracle: there are VARCHAR and CHAR (fixed width) columns. A query that would work fine against a varchar column would likely fail against a char column

Re: Differences between MySQLs?

2010-03-24 Thread G Allen R Souliere
Another quick thought...does MySQL have row level security? Its possible that your second datasource has given you read access to the table, but not the rows in the database. This has caught me in Oracle before. Allen On 24-Mar-10, at 2:30 PM, denstar wrote: Are they the same versions

CF9 Running Deleted Tasks and Running Active tasks twice

2010-03-22 Thread Matt G
I have several scheduled tasks that were deleted via the admin but they are still running. Don't show up in the admin, but still run. I have tried to programmatically delete them also. Have looked in neo-cron.xml and they don't exist in there either. As well, active jobs run twice. Any

Re: using name of query in QofQ form custom tag

2010-03-12 Thread G Allen R Souliere
Is it possible that you need to use: name=#Evaluate(attributes.query)# Allen On 12-Mar-10, at 12:19 PM, Tony Bentley wrote: Okay here is what I am trying to do: tag:customtag query=testquery customtag: cfquery dbtype=query name=#attributes.query# select * from #attributes.query#

Consume Web Service In Coldfusion Error

2010-01-20 Thread Matt G
I'm having a problem using cfinvoke or adding this web service url in the coldfusion admin. cfinvoke returnvariable=returndata webservice=http://www.fortedata.com:8080/axis2/services/FdsWebService?wsdl; refreshwsdl=yes method=PostLead I get the error for cfinvoke Cannot generate

Re: empty strings

2010-01-11 Thread G Allen R Souliere
On this topic, my understanding has been that Oracle cannot cache the query when the parameters change. So, when you do cfquery INSERT INTO MYTABLE ( MYCOLUMN cfif Len(Trim(myAValue)),MYACOLUMN/cfif cfif Len(Trim(myBValue)),MYBCOLUMN/cfif cfif Len(Trim(myCValue)),MYCCOLUMN/cfif cfif

Re: empty strings

2010-01-11 Thread G Allen R Souliere
You should be using PLSQL statements. Use CASE statements and proper PLSQL and see what happens then. Could you provide an example of how you would go about writing these PLSQL statements, then? Isn't there still a problem when attempting to pass an empty string via the cfqueryparam

Re: select box result to show/hide another select box. jquery

2009-11-12 Thread Dan G. Switzer, II
Paul, You need to trigger the change method when you initialize your code: On Thu, Nov 12, 2009 at 11:07 AM, Paul Ihrig pih...@gmail.com wrote: script $(function(){ $(#prt_type).change(function () { var val = $(this).val();

Re: select box result to show/hide another select box. jquery

2009-11-12 Thread Dan G. Switzer, II
On Thu, Nov 12, 2009 at 11:08 AM, Paul Ihrig pih...@gmail.com wrote: so just to clarify. the show hide js works fine on its own, just doesn't check or see the default value from the existing data ~| Want to reach the

Re: kill cookie on browser close

2009-11-12 Thread Dan G. Switzer, II
Chad, Make sure you don't have any instances of IE open--including things that might use the IE underneath (like an RSS reader, etc.) -Dan On Thu, Nov 12, 2009 at 11:39 AM, Chad Gray cg...@careyweb.com wrote: Anyone notice that in IE this codes does not appear to work anymore? Firefox it

CF7 iText to Merge PDFs - Examples?

2009-10-30 Thread David G
I'm in CF7 and want to merge two PDFs. I've been doing some reading, and it seems that the cfDocument tag uses the iText libraries under the hood. If so, does that mean they're already installed because my CF7 has cfDocument? If I already have the iText libraries, does anyone have any example

Webservice error

2009-10-01 Thread ch g
I am redirecting to another URL using cflocation in my webservice, then i am getting this error, if i comment the cflocation tag then its working fine. Any help or suggestions will be appreciated lot. Cannot perform web service invocation login. The fault returned when invoking the web

Web service error

2009-08-05 Thread ch g
Hi all, I am developing a simple web service, but i am getting an error like this Web service operation echoString with parameters {INPUT={hello}} cannot be found. Here is the published web service cfcomponent cffunction name=echoString returnType=string output=no cfargument

Re: Web service error

2009-08-05 Thread ch g
I included that also cffunction name=echoString returnType=string output=no access=remote cfargument name=input type=string required=yes cfreturn #arguments.input# /cffunction Still receving the same error message Web service operation echoString with parameters

Re: Web service error

2009-08-05 Thread ch g
After i changed the file name it's working, so i developed another service to verify the information aganist my database. Now i am receiving this error. Cannot perform web service invocation testUser. The fault returned when invoking the web service operation is: AxisFault faultCode:

Re: Web service error

2009-08-05 Thread ch g
indicates that you neglected to put an s on arguments.firstName. You probably have argument.firstname. ~Steve From: ch g [chr_...@yahoo.com] Sent: Wednesday, August 05, 2009 1:40 PM To: cf-talk Subject: Re: Web service error After i changed the file

How to Reset MS SQL Server '05 Connections

2009-07-06 Thread David G
I'm working with our DBA on a permissions issue. We wonder if he makes a change... like putting the service account user into a role... will it be reflected on the next CF page attempt. My timeout appears to be 20 min in CF Admin for that DSN. Is there a way to reset the connections to make

Re: how to handle in-appropriate image uploads

2009-04-09 Thread Nick G
Check what myspace is using. It's pretty good at determining offensive images. On Thu, Apr 9, 2009 at 9:58 AM, Ian Skinner h...@ilsweb.com wrote: Chad Gray wrote: Hello, How do big web sites like myspace police image uploads? Staff reviews and approves images or users review and

Re: dynamic variable

2009-03-24 Thread Nick G
In cfscript you have to use listGetAt(), something like so: currencies = eur,usd; for (i=1; i LTE listLen(currencies); i=i+1) { curDenominator = ListGetAt(currencies, i); product_price_#curDenominator# = getProduct[product_price_#curDenominator#] ;

Re: Eliminating repeated data in CFoutput field

2009-03-19 Thread Nick G
You should be able to do this but I haven't tried it. table border=1 tr th width=20% Name /th th width=30% Asset /th th width=30% Category /th /tr CFoutput query=qEmpAssets group=eName tr td #qEmpAssets.eName# /td td CFoutput

Re: Eliminating repeated data in CFoutput field

2009-03-18 Thread Nick G
Hi Bob, That's not working because cfset eName = / is just setting a empty variable named eName it's not updating the query variable eName. Since your in a cfoutput with a query attribute CF's going to look for a query variable that matches first. IIRC the order of lookup is query, arguments,

Re: Select the last n rows in oracle.

2009-03-12 Thread Nick G
This should work for you. Select * From (Select rownum rnum, p.* From ( SELECT count(1) Over() totalCount, email, firstname FROM Carma_Contact ) p ) Where rnum = (totalCount - 50); Just replace the 50 with the number of rows back from the total that you

Re: Select the last n rows in oracle.

2009-03-12 Thread Nick G
I can verify in 9.i it doesn't work states group by function is not allowed there. On Thu, Mar 12, 2009 at 11:11 AM, Jason Fisher ja...@wanax.com wrote: I don't have access to an Oracle database, so, no. Thankfully, I haven't had to develop on Oracle for the past several years, after

Re: Question about next/prev browsing

2009-02-19 Thread Nick G
Our data is constantly changing so caching really wasn't an option and we saw no need to retrieve 10k records from the db but only show the user 25 or 50 or 100 of them at a time. So in Oracle you can set a start/limit in the query like so: (Might be a syntax error in there as I haven't had any

Re: Question about next/prev browsing

2009-02-19 Thread Nick G
The paging is simple enough to implement and even easier using EXT. Obviously if you're not using Oracle this won't work but I'm sure the other db's have a similar way to accomplish this. I'm assuming EXT is Oracle-specific? I'm using MySQL. Sorry I really made that sound like

Re: Graceful Restart of Apache Causes JRun Connector Protocol Error

2009-01-18 Thread John G
I am running the latest stable version of Apache (2.2.3). Although I wasn't able to figure out a solution to this specific issue with JRun I figured out how to basically create a single virtual host that will allow me to do what I need. Basically, it involves using mod_vhost_alias. If anyone

Graceful Restart of Apache Causes JRun Connector Protocol Error

2009-01-17 Thread John G
Hello, Can anyone shed some light on how I can get Apache to do a graceful restart without causing a JRun Connector Protocol error. If I run a ColdFusion page that basically loops through a set of numbers and outputs them to the screen and then while running that I issue a kill -SIGUSR1 `cat

Re: Graceful Restart of Apache Causes JRun Connector Protocol Error

2009-01-17 Thread John G
I want to be able to add a new virtual host to Apache without causing any disruption of service to the other web sites. Sending the SIGUSR1 signal to the parent PID of Apache will cause it to do a graceful restart which is mentioned in the Apache documentation as doing the following: The USR1

Re: Graceful Restart of Apache Causes JRun Connector Protocol Error

2009-01-17 Thread John G
Thanks for the response Raymond. I am already running the latest stable version of Apache. Hello, Can anyone shed some light on how I can get Apache to do a graceful restart without causing a JRun Connector Protocol error. If I run a ColdFusion page that basically loops through a set

JRunConfig Errorurl Not Working

2009-01-17 Thread John G
Hello, I have another post on this message board that relates to this but I'm creating a separate post because this is really just my attempt at a temporary workaround for that problem and I think they are completely separate issues. I am running ColdFusion 8 with Apache 2.2.3 on Linux. In my

Re: JRunConfig Errorurl Not Working

2009-01-17 Thread John G
I thought about how stupid it was for me to be using a ColdFusion page for the error page given but you beat me to it :) In any case, after posting this I did in fact try all sorts of things such as a complete URL with protocol, host and file as well as making it relative (all with a plain

Re: Graceful Restart of Apache Causes JRun Connector Protocol Error

2009-01-17 Thread John G
Thanks for that but the effect is the same. RIAForge doesn't use sigurs1. Instead we use one of the command line params. According to the docs, -k restart is a graceful restart. So we simply do httpd -k restart ~| Adobe®

RE: Rich Text Editor - what really handles cut'n paste from Word?

2008-12-22 Thread Dan G. Switzer, II
Les, There's one group in particular that is going to cut and paste *everything* from Word, and even with the cleanup features and stuff in FCK, this is still problematic for the client. Yea, I know, Word produces some of the gawd-awful bloated ... uhh, never mind - it's terrible. So, I'm

Re: Exporting from ColdFuion to a Excel file

2008-11-19 Thread Steven G
I was having this exact same problem and this solved it for me. Thanks very much Robert! I have a different problem falling under the same topic. I'm trying to download a .csv file from ColdFusion to Excel via a browser. My code is: cfheader name=Content-Type value=text/csv cfheader

RE: CF DATEDIFF Function

2008-11-04 Thread Dan G. Switzer, II
You should be able to do: fix(tomorrow) - fix(now()) = diff in days CF stores dates as a float, where the integer is the day value and the decimal values are represent the time. So, if you just round down and subtract the two dates you'll get the difference in whole days. -Dan -Original

Re: CFQueryParam question

2008-10-28 Thread Nick G
cfqueryparam cfsqltype=cf_sql_integer value=#url.a# list=true separator=, Obviously you would need to change the sqltype to what your sql type is. On Tue, Oct 28, 2008 at 10:13 AM, Scott Stewart [EMAIL PROTECTED]wrote: I have a variable passed though a URL that looks like this

trouble authenticating to ms virtual earth webservice

2008-10-17 Thread Nick G
Has anyone been successful authenticating to the MS virtual earth webservice using Coldfusion? They require digest access authentication ( http://msdn.microsoft.com/en-us/library/aa491865.aspx) but I haven't had any luck getting this work. Anyone?

Coldfusion Server will not start

2008-10-08 Thread G L
Hi All, I have just installed coldfusion 8 on my machine for development use with the in-built IIS Server. However, the coldfusion server cannot even be started manually. Windows Event Viewer says: The ColdFusion 8 Application Server service terminated with service-specific error 2 (0x2). Any

RE: Ordered Argument names

2008-09-26 Thread Dan G. Switzer, II
Does anyone know how to make CF provide a list of the names of Arguments in the order provided and without using cfargument tag? StructKeyList/StructKeyArray returns an arbitrary order in CF8, and a random order every time in CF7. Using Array functions on the Arguments scope results in a random

RE: Ordered Argument names

2008-09-26 Thread Dan G. Switzer, II
You should be able to loop through the arguments array: cfset a = arrayNew(1) / cfloop index=i from=1 to=#arrayLen(arguments)# cfset arrayAppend(a, arguments[1]) / /cfloop cfdump var=#a# / Nope, that gives values not names (assuming 1 - i) Also, it doesn't come out in the same order each

Javascript in CFC

2008-09-04 Thread chn g
What's wrong with the following code? cfif testqry.recordcount EQ 1 ... cfelse script type=text/javascript Alert(Error); /script cflocation url=http://#CGI.SERVER_NAME#/testfile.html; /cfif It's not showing up alert box, directly displaying

Re: Javascript in CFC

2008-09-04 Thread chn g
Thank you, its working now. alert() is lower case. If that doesn't work try this: The cflocation is sending back a status code of 301 to your browser. In fact, I don't even know if ColdFusion sends back any content created in the reponse body or not. ~Brad What's wrong with the

  1   2   3   4   5   6   7   8   9   10   >