Issue with scheduled task

2012-11-07 Thread fun and learning

All -

I have a scheduled a task to run weekly. When it did not run (it should send an 
email when it finished running), I tried running it by going to scheduled tasks 
page in cf admin and clicking on 'Run Scheduled task'. AFter a min or so, it 
throws the following error

There was an error running your scheduled task. Reasons for which scheduled 
tasks might fail include:

The scheduled task is paused
The URL is a redirection URL.
The URL is protected by IIS NT Challenge/Response or Apache .htaccess password. 
The Username and Password text fields for editing a scheduled task are intended 
to support Basic Authentication only.
The Domain Name lookup failed. Try using the IP address of the domain whenever 
possible.
The URL is an SSL site, but the SSL port was specified incorrectly.
The Web site is not responding.
The directory specified for published results does not exist.

What is the best way to find out what the issue could be from the above list 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353069
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Issue with scheduled task

2012-11-07 Thread Matt Quackenbush

Save the output to a file. View the file. Fix the problem. Done.


On Wed, Nov 7, 2012 at 9:40 AM, fun and learning funandlrnn...@gmail.comwrote:


 All -

 I have a scheduled a task to run weekly. When it did not run (it should
 send an email when it finished running), I tried running it by going to
 scheduled tasks page in cf admin and clicking on 'Run Scheduled task'.
 AFter a min or so, it throws the following error

 There was an error running your scheduled task. Reasons for which
 scheduled tasks might fail include:

 The scheduled task is paused
 The URL is a redirection URL.
 The URL is protected by IIS NT Challenge/Response or Apache .htaccess
 password. The Username and Password text fields for editing a scheduled
 task are intended to support Basic Authentication only.
 The Domain Name lookup failed. Try using the IP address of the domain
 whenever possible.
 The URL is an SSL site, but the SSL port was specified incorrectly.
 The Web site is not responding.
 The directory specified for published results does not exist.

 What is the best way to find out what the issue could be from the above
 list

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353070
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Issue with scheduled task

2012-11-07 Thread Andrew Scott

Try running the page manually in a browser, if there is an error it will be
displayed in the browser.


-- 
Regards,
Andrew Scott
WebSite: http://www.andyscott.id.au/
Google+: http://plus.google.com/113032480415921517411



-Original Message-
From: fun and learning [mailto:funandlrnn...@gmail.com] 
Sent: Thursday, 8 November 2012 2:41 AM
To: cf-talk
Subject: Issue with scheduled task


All -

I have a scheduled a task to run weekly. When it did not run (it should send
an email when it finished running), I tried running it by going to scheduled
tasks page in cf admin and clicking on 'Run Scheduled task'. AFter a min or
so, it throws the following error

There was an error running your scheduled task. Reasons for which scheduled
tasks might fail include:

The scheduled task is paused
The URL is a redirection URL.
The URL is protected by IIS NT Challenge/Response or Apache .htaccess
password. The Username and Password text fields for editing a scheduled task
are intended to support Basic Authentication only.
The Domain Name lookup failed. Try using the IP address of the domain
whenever possible.
The URL is an SSL site, but the SSL port was specified incorrectly.
The Web site is not responding.
The directory specified for published results does not exist.

What is the best way to find out what the issue could be from the above list


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353071
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Flushing cache

2012-11-07 Thread Rob Voyle

Hi Folks

Is there anyway to ensure that a user starts with a new or fresh template 
that 
is loaded from the website and not from their computer's cache.

I have a form that I update on my website, but people will often complete it 
from 
a version that is in their cache.

Rob



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353072
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Flushing cache

2012-11-07 Thread Claude Schnéegans

 Is there anyway to ensure that a user starts with a new or fresh template 
 that
is loaded from the website and not from their computer's cache.

It is supposed to be handled automatically by CF with appropriate HTTP headers.


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353073
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Flushing cache

2012-11-07 Thread Russ Michaels

The simple answer.

Add the following HTML in between the HEAD and /HEAD tags of your page:

meta http-equiv=Expires content=-1

the more complex answer is that not all browsers will take notice of this.
You may need to add additional headers using the CFHEADER tag.

cfheader name=Cache-Control value=no-cache
cfheader name=Cache-Control value=private
cfheader name=Cache-Control value=no-store
cfheader name=Cache-Control value=must-revalidate
cfheader name=Cache-Control value=max-stale=0)
cfheader name=Cache-Control value=post-check=0
cfheader name=Cache-Control value=pre-check=0
cfheader name=Pragma value=no-cache
cfheader name=Keep-Alive, timeout=3, max=993
cfheader name=Expires, Mon, 26 Jul 1997 05:00:00 GMT



On Wed, Nov 7, 2012 at 4:51 PM, Rob Voyle robvo...@voyle.com wrote:


 Hi Folks

 Is there anyway to ensure that a user starts with a new or fresh
 template that
 is loaded from the website and not from their computer's cache.

 I have a form that I update on my website, but people will often complete
 it from
 a version that is in their cache.

 Rob



 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353074
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


(ot) CF Builder SVN

2012-11-07 Thread Michael Reick

I've decided to finally make the plunge and start using CF Builder (latest 
version, I think. 2 update 1)  For some inane reason I've also decided to start 
using Subversion for source/versioning control at the same time.

I think I've got the SVN server running correctly, TortoiseSVN will let me 
browse, I think the server. And I used Wil's article on how to get CFBuilder to 
talk to the SVN server.

In Builder, I've got at least one existing project (entire codebase of a large 
site) that I want to add to svn.  Everything I try to go to Team - Share 
Project, it will let me select the SVN server, give me a bunch of options, 
(Doesn't seem to matter which I choose) and at some point it will fail, giving 
me a cryptic Share project has failed. svn: url 
'svn://serveraddress/trunk/Development' doesn't exist. I refresh TortoiseSVN 
and I see those directories/locations.  I try again, and it fails with the same 
error message.  I try deleting everything in TortoiseSVN and try from scratch 
with the same results.

I'm still not totally convinced that I want to use SVN, and I haven't even 
gotten to the point of trying to check/in/commit code. So far, it's been less 
than encouraging, especially since I'm still the only developer on this code.

Any helpful hints? Suggestions? Comments? 

Thanks!
Michael Reick 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353075
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: (ot) CF Builder SVN

2012-11-07 Thread Russ Michaels

don;t run your own, use an online service
www.projectlocker.com give a pretty decent free account.



On Wed, Nov 7, 2012 at 6:46 PM, Michael Reick mich...@widgethq.com wrote:


 I've decided to finally make the plunge and start using CF Builder (latest
 version, I think. 2 update 1)  For some inane reason I've also decided to
 start using Subversion for source/versioning control at the same time.

 I think I've got the SVN server running correctly, TortoiseSVN will let me
 browse, I think the server. And I used Wil's article on how to get
 CFBuilder to talk to the SVN server.

 In Builder, I've got at least one existing project (entire codebase of a
 large site) that I want to add to svn.  Everything I try to go to Team -
 Share Project, it will let me select the SVN server, give me a bunch of
 options, (Doesn't seem to matter which I choose) and at some point it will
 fail, giving me a cryptic Share project has failed. svn: url
 'svn://serveraddress/trunk/Development' doesn't exist. I refresh
 TortoiseSVN and I see those directories/locations.  I try again, and it
 fails with the same error message.  I try deleting everything in
 TortoiseSVN and try from scratch with the same results.

 I'm still not totally convinced that I want to use SVN, and I haven't even
 gotten to the point of trying to check/in/commit code. So far, it's been
 less than encouraging, especially since I'm still the only developer on
 this code.

 Any helpful hints? Suggestions? Comments?

 Thanks!
 Michael Reick

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353076
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: (ot) CF Builder SVN

2012-11-07 Thread Matthew

Out if interest, what OS do you develop on? If it's on windows OS have 
considered visualsvn server? http://www.visualsvn.com/server

Matt.

On 7 Nov 2012, at 18:46, Michael Reick mich...@widgethq.com wrote:

 
 I've decided to finally make the plunge and start using CF Builder (latest 
 version, I think. 2 update 1)  For some inane reason I've also decided to 
 start using Subversion for source/versioning control at the same time.
 
 I think I've got the SVN server running correctly, TortoiseSVN will let me 
 browse, I think the server. And I used Wil's article on how to get CFBuilder 
 to talk to the SVN server.
 
 In Builder, I've got at least one existing project (entire codebase of a 
 large site) that I want to add to svn.  Everything I try to go to Team - 
 Share Project, it will let me select the SVN server, give me a bunch of 
 options, (Doesn't seem to matter which I choose) and at some point it will 
 fail, giving me a cryptic Share project has failed. svn: url 
 'svn://serveraddress/trunk/Development' doesn't exist. I refresh TortoiseSVN 
 and I see those directories/locations.  I try again, and it fails with the 
 same error message.  I try deleting everything in TortoiseSVN and try from 
 scratch with the same results.
 
 I'm still not totally convinced that I want to use SVN, and I haven't even 
 gotten to the point of trying to check/in/commit code. So far, it's been less 
 than encouraging, especially since I'm still the only developer on this code.
 
 Any helpful hints? Suggestions? Comments? 
 
 Thanks!
 Michael Reick 
 
 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353077
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Flushing cache

2012-11-07 Thread Pradeep Viswanathan Rajasekaran

Use a session variable/cookie and set the expiry and validate the same on
form submission.
On Nov 7, 2012 8:52 PM, Rob Voyle robvo...@voyle.com wrote:


 Hi Folks

 Is there anyway to ensure that a user starts with a new or fresh
 template that
 is loaded from the website and not from their computer's cache.

 I have a form that I update on my website, but people will often complete
 it from
 a version that is in their cache.

 Rob



 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353078
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: (ot) CF Builder SVN

2012-11-07 Thread Pradeep Viswanathan Rajasekaran

It sounds like the svn url is wrong, just try creating a new empty repo and
importing it. Try an URL like svn://seevername/projectname.

Else try adding from other client tool initially and then get from cf
builder.
On Nov 7, 2012 10:47 PM, Michael Reick mich...@widgethq.com wrote:


 I've decided to finally make the plunge and start using CF Builder (latest
 version, I think. 2 update 1)  For some inane reason I've also decided to
 start using Subversion for source/versioning control at the same time.

 I think I've got the SVN server running correctly, TortoiseSVN will let me
 browse, I think the server. And I used Wil's article on how to get
 CFBuilder to talk to the SVN server.

 In Builder, I've got at least one existing project (entire codebase of a
 large site) that I want to add to svn.  Everything I try to go to Team -
 Share Project, it will let me select the SVN server, give me a bunch of
 options, (Doesn't seem to matter which I choose) and at some point it will
 fail, giving me a cryptic Share project has failed. svn: url
 'svn://serveraddress/trunk/Development' doesn't exist. I refresh
 TortoiseSVN and I see those directories/locations.  I try again, and it
 fails with the same error message.  I try deleting everything in
 TortoiseSVN and try from scratch with the same results.

 I'm still not totally convinced that I want to use SVN, and I haven't even
 gotten to the point of trying to check/in/commit code. So far, it's been
 less than encouraging, especially since I'm still the only developer on
 this code.

 Any helpful hints? Suggestions? Comments?

 Thanks!
 Michael Reick

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353079
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: (ot) CF Builder SVN

2012-11-07 Thread Michael Reick

My server is Windows based.  I'm using SlikSvn as the SVN server.

Michael

 Out if interest, what OS do you develop on? If it's on windows OS have 
 considered visualsvn server? http://www.visualsvn.com/server
 
 Matt.
 
 On 7 Nov 2012, at 18:46, Michael Reick mich...@widgethq.com wrote:
 
  
  I've decided to finally make the plunge and start using CF Builder 
 (latest version, I think. 2 update 1)  For some inane reason I've also 
 decided to start using Subversion for source/versioning control at the 
 same time.
  
  I think I've got the SVN server running correctly, TortoiseSVN will 
 let me browse, I think the server. And I used Wil's article on how to 
 get CFBuilder to talk to the SVN server.
  
  In Builder, I've got at least one existing project (entire codebase 
 of a large site) that I want to add to svn.  Everything I try to go to 
 Team - Share Project, it will let me select the SVN server, give me a 
 bunch of options, (Doesn't seem to matter which I choose) and at some 
 point it will fail, giving me a cryptic Share project has failed. svn: 
 url 'svn://serveraddress/trunk/Development' doesn't exist. I refresh 
 TortoiseSVN and I see those directories/locations.  I try again, and 
 it fails with the same error message.  I try deleting everything in 
 TortoiseSVN and try from scratch with the same results.
  
  I'm still not totally convinced that I want to use SVN, and I 
 haven't even gotten to the point of trying to check/in/commit code. So 
 far, it's been less than encouraging, especially since I'm still the 
 only developer on this code.
  
  Any helpful hints? Suggestions? Comments? 
  
  Thanks!
  Michael Reick 
  
  

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353080
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: (ot) CF Builder SVN

2012-11-07 Thread Michael Reick

I would, but my budget is exactly 0 for this.  And I've got enough data that if 
I screw up and upload images/SWF content, I would be way over the free limits.

Just to get my feet wet, I want to run my own.  If it turns out that having a 
remote repository is better after I figure it out, I'll keep them in mind.

Michael

don;t run your own, use an online service
www.projectlocker.com give a pretty decent free account.





 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353081
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: (ot) CF Builder SVN

2012-11-07 Thread Michael Reick

The repo was empty when I tried adding the first project.

I'm trying to add the project via TortoiseSVN client and see if CFBuilder will 
pick it up.

Michael

It sounds like the svn url is wrong, just try creating a new empty repo and
importing it. Try an URL like svn://seevername/projectname.

Else try adding from other client tool initially and then get from cf
builder.
On Nov 7, 2012 10:47 PM, Michael Reick mich...@widgethq.com wrote:

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353082
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: (ot) CF Builder SVN

2012-11-07 Thread Gerald Guido


 don;t run your own, use an online service
 www.projectlocker.com give a pretty decent free account.


Yeah, what Russ said.

1++ for projectlocker.

I have also used xp-dev https://xp-dev.com/  and assembla
https://www.assembla.com/ with good results.  xp-dev.com has the added
bonus of providing  Trac.

I am partial to Assembla at the moment given the amount of (unlimited)
space they give you.

This may help with shopping for a host http://www.svnhostingcomparison.com/

HTH
G!


On Wed, Nov 7, 2012 at 2:09 PM, Russ Michaels r...@michaels.me.uk wrote:


 don;t run your own, use an online service
 www.projectlocker.com give a pretty decent free account.



 On Wed, Nov 7, 2012 at 6:46 PM, Michael Reick mich...@widgethq.com
 wrote:

 
  I've decided to finally make the plunge and start using CF Builder
 (latest
  version, I think. 2 update 1)  For some inane reason I've also decided to
  start using Subversion for source/versioning control at the same time.
 
  I think I've got the SVN server running correctly, TortoiseSVN will let
 me
  browse, I think the server. And I used Wil's article on how to get
  CFBuilder to talk to the SVN server.
 
  In Builder, I've got at least one existing project (entire codebase of a
  large site) that I want to add to svn.  Everything I try to go to Team -
  Share Project, it will let me select the SVN server, give me a bunch of
  options, (Doesn't seem to matter which I choose) and at some point it
 will
  fail, giving me a cryptic Share project has failed. svn: url
  'svn://serveraddress/trunk/Development' doesn't exist. I refresh
  TortoiseSVN and I see those directories/locations.  I try again, and it
  fails with the same error message.  I try deleting everything in
  TortoiseSVN and try from scratch with the same results.
 
  I'm still not totally convinced that I want to use SVN, and I haven't
 even
  gotten to the point of trying to check/in/commit code. So far, it's been
  less than encouraging, especially since I'm still the only developer on
  this code.
 
  Any helpful hints? Suggestions? Comments?
 
  Thanks!
  Michael Reick
 
 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353083
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Case statement inside cached query

2012-11-07 Thread Nathan Chen

All:

Do cached queries allow SQL case statement at all or is there a way to get 
around it? I am trying to put this inside a cached query such as : Sum( case 
when A = 'B' then C else 0 end) as D  ( C is numeric field). It wouldn't work. 
I am on CF 8 and Oracle 11g.

Thanks.

Nathan Chen


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353084
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Case statement inside cached query

2012-11-07 Thread Matt Quackenbush

What does wouldn't work mean?  Get results you didn't expect?  If yes,
what did you get and what did you expect?  Get an exception?  If yes,
where's the stack trace?


On Wed, Nov 7, 2012 at 5:22 PM, Nathan Chen nathan.c...@cu.edu wrote:


 All:

 Do cached queries allow SQL case statement at all or is there a way to get
 around it? I am trying to put this inside a cached query such as : Sum(
 case when A = 'B' then C else 0 end) as D  ( C is numeric field). It
 wouldn't work. I am on CF 8 and Oracle 11g.

 Thanks.

 Nathan Chen


 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353085
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: encrypt / decrypt question

2012-11-07 Thread Eric Bourland

OK, I am making progress. And your instructions make sense -- I see where I
am going wrong.

My update statement now is:

CreditCardNumber = cfqueryparam cfsqltype=cf_sql_varchar
value=#encrypt(form.CreditCardNumber,GenerateSecretKey(AES,
256),UU)#,

When I process the form, I get this error:

The UU algorithm is not supported by the Security Provider you have
chosen.

I am not sure what that means, and a cursory search on this term did not
inform me of much.

I go back to the documentation:
http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e08
11cbec22c24-7c2f.html

And I see that the encoding attribute is optional. And if I take away the UU
encoding attribute, the error goes away. (I get another error that I think
is not related to encrypt -- I am working on that.)

My other encoding options are hex and Base64.

Any idea what the The UU algorithm is not supported error is about?

Thank you again for  your help.

Eric



-Original Message-
From: Pete Freitag [mailto:p...@foundeo.com] 
Sent: Tuesday, November 06, 2012 10:53 AM
To: cf-talk
Subject: Re: encrypt / decrypt question


You left out the algorithm: AES in your encrypt() call this time - also
since you have the unlimited strength policy files you might consider
generating a 256 bit key instead of the default 128, by doing:

GenerateSecretKey(AES, 256)

I have not found that I need the unlimited strength jurisdiction policy on
CF9 standard when using the default 128 bit AES encryption, only when going
up to 256 bit keys.

--
Pete Freitag - Adobe Community Professional http://foundeo.com/ - ColdFusion
Consulting  Products http://hackmycf.com - Is your ColdFusion Server
Secure?
http://www.youtube.com/watch?v=ubESB87vl5U - FuseGuard your CFML in 10
minutes




On Mon, Nov 5, 2012 at 7:15 PM, Eric Bourland e...@ebwebwork.com wrote:


 Hi, Wil,

 I read up on the generateSecretKey function, both in your very helpful 
 example page, and on adobe:

 http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461
 172e08
 11cbec22c24-6e72.html

 I am having a little trouble with syntax. Here is my insert statement:
 !--- provide default value for form.AES --- cfparam name=form.AES 
 default=

 !--- insert statement uses encrypt function to place in the database 
 an encrypted value for CreditCardNumber --- CreditCardNumber = 
 cfqueryparam cfsqltype=cf_sql_varchar
 value=#encrypt(form.CreditCardNumber,generateSecretKey(form.AES),UU
 )#,

 This insert statement returns the error:

 The '' algorithm is not supported by the Security Provider you have
chosen.

 (I am also not clear why the encryption method, AES, needs to be 
 defined in the scope of FORM.)

 I was wondering if I could do the generateSecretKey function, and 
 store the result in a variable (as you did, I think, in your example 
 on trunkful.com ).
 But again I get confused. Doesn't the key have to be a constant value? 
 And stored in a constant place? It seems like the generateSecretKey 
 function generates a new key every time the form is processed.

 Sorry to drag on with this question. I am still reading up in the 
 documentation to see if I can construct a working insert statement. 
 Thank you all again for your time and advice.

 Eric



 -Original Message-
 From: Wil Genovese [mailto:jugg...@trunkful.com]
 Sent: Sunday, November 04, 2012 9:58 PM
 To: cf-talk
 Subject: Re: encrypt / decrypt question


 Eric,

 A while back I was testing all the encryption and decryption types and 
 wrote a short cfm page that let me do the testing. The code there is a 
 good example of how it all works. Instead of trying to write it up and 
 post here I created a very short and sweet blog post about this.


 http://www.trunkful.com/index.cfm/2012/11/4/Encryption-and-Decryption-
 in-Col
 dFusion

 I hope this helps.

 Wil Genovese
 Sr. Web Application Developer/
 Systems Administrator
 CF Webtools
 www.cfwebtools.com

 wilg...@trunkful.com
 www.trunkful.com




 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353086
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm