Issue with decrypt in CFMX 9.01

2012-10-09 Thread DeMarco, Alex

I had an old app running on CFMX 9 32bit on Win 2003,  We recently
started testing it on CFMX 9.01 (fully patched) Windows 2008 r2 64bit.

 

We are getting this error:

An error occurred while trying to encrypt or decrypt your input string:
The input and output encodings are not same.. 



I do understand what the error means however, I do not understand why it
is happening with all things relatively equal between the old and new
server.

Does CFMX 9.01 handle encryption of cookies differently than 9 did?  

 

Here is the snippet that is failing:

 

CFSET UserInfo = Decrypt(Cookie.pwdEncryptedID, Attributes.ENCRYPTKEY)

 

Any ideas or suggestions are appreciated.

 

Thanks!

 

-  Alex

 



 

 



~|
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:352870
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Issue with decrypt in CFMX 9.01

2012-10-09 Thread Wil Genovese

Try downloading and installing the Java cryptography extension.



Wil Genovese

One man with courage makes a majority.
-Andrew Jackson

A fine is a tax for doing wrong. A tax is a fine for doing well. 

On Oct 9, 2012, at 9:33 AM, DeMarco, Alex wrote:

 
 I had an old app running on CFMX 9 32bit on Win 2003,  We recently
 started testing it on CFMX 9.01 (fully patched) Windows 2008 r2 64bit.
 
 
 
 We are getting this error:
 
 An error occurred while trying to encrypt or decrypt your input string:
 The input and output encodings are not same.. 
 
 
 
 I do understand what the error means however, I do not understand why it
 is happening with all things relatively equal between the old and new
 server.
 
 Does CFMX 9.01 handle encryption of cookies differently than 9 did?  
 
 
 
 Here is the snippet that is failing:
 
 
 
 CFSET UserInfo = Decrypt(Cookie.pwdEncryptedID, Attributes.ENCRYPTKEY)
 
 
 
 Any ideas or suggestions are appreciated.
 
 
 
 Thanks!
 
 
 
 -  Alex
 
 
 
   
 
 
 
 
 
 
 
 

~|
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:352871
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


CF10/SQL troubleshooting malformed query

2012-10-09 Thread Stephens, Larry V

In CF8 using Access tables I will get an error message if I have an error in a 
query (e.g., a comma where one doesn't belon).

We have just set up a CF10 site using SQL. With this + a query error I get a 
500 internal server error and no code to look at to spot where the error is 
occurring.

We have debugging info turned on but it doesn't come up with this error.

Is this just life with CF10 and/or SQL?


Larry Stephens

~|
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:352872
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: HomeSite

2012-10-09 Thread Lewis Sellers

I don't use it much but dreamweaver (at least the CS5 version anyway) seems
to have decent code editing abilities -- it might make some sense to you to
use that considering it's an Adobe product.

After using homesite for many years myself, I eventually gave up on it, and
aside from using pspad with some plugins, eventually settled on Eclipse.
Eclipse ... can be sluggish, even after doing a lot of tweaks to speed it
up, but it does do almost everything you'd want and a lot of folk across
several disciplines use it. So I'd probably suggest giving it a try for a
while.

On Sun, Oct 7, 2012 at 10:27 AM, Richard Colman col...@uci.edu wrote:


 Hate to bring this up again, but I have used Homesite for many years and
 do like it.

 I need to transfer the application to a new computer, and the original
 install disks are long gone.

 Does anyone know of a source to obtain or purchase?

 TNX,

 signed ... the dinosaur ...

 

~|
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:352873
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF10/SQL troubleshooting malformed query

2012-10-09 Thread Andrew Scott

There is another setting, in the main settings that states if you want to
pass HTTP status codes, if you switch this off then the true error will
appear.

I do not advise turning this off on production servers, but look at other
logging methods instead.


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



On Wed, Oct 10, 2012 at 6:04 AM, Stephens, Larry V steph...@iu.edu wrote:


 In CF8 using Access tables I will get an error message if I have an error
 in a query (e.g., a comma where one doesn't belon).

 We have just set up a CF10 site using SQL. With this + a query error I get
 a 500 internal server error and no code to look at to spot where the error
 is occurring.

 We have debugging info turned on but it doesn't come up with this error.

 Is this just life with CF10 and/or SQL?


 Larry Stephens



~|
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:352874
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Is there steady work to be had in CF currently?

2012-10-09 Thread Lewis Sellers

I asked this in the wrong forums earlier. Been a while

But the question was that while I was once very familiar with ColdFusion
(if you've ever visited intrafoundation.com, that's me) that was a few
years ago. I've mainly be working in PHP developing websites with my
soon-to-be-ex-wife. (She handled the design and art, I handled all the
programming and technical aspects.) I was wondering about anyone's thoughts
on whether it would be worth the time and effort to get fully back up to
speed on modern ColdFusion as far as finding relatively steady telecommute
contract work. That is, is there enough work to go around to atm. From what
I'm seeing it's a little hard to say. It seems that though there are less
sites being built in CF, a lot of the CF developers from years ago have
left as well so... maybe there is steady work. Any opinions on the matter
would be helpful.

Thanks.

-- 
Lewis A. Sellers
cell 865-719-0928 (backup cell, always with 24/7)
cell 1 828 423 1822 (main cell, android)
865 828 4024 (other backup)
http://lewisasellers.com Blog
https://plus.google.com/u/0/106364214681900327755/posts G+ (writing
oriented)
https://www.facebook.com/pages/Lewis-A-Sellers-Author/121055864636231 FB
Page
http://www.facebook.com/lasellers FB
http://www.goodreads.com/lewisasellers
http://twitter.com/#!/lewisasellers
http://www.intrafoundation.com Software
http://www.cedargrovedesign.com Web Design
http://www.happyplacegames.com Games
http://www.communalperfection.com Programming
P.O. Box 8340 Asheville, NC 28814


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