Re: 32 vs 64 bit CF and DSNs
Tried that and it was still an issue; Couldn't see any dsn's defined through the odbcad32 applet, and when I tried to point to it via a jdbc entry, the only databases listed in the dropdown list were Dbase varieties. I finally pulled the plug on the 64 but and installed the 32 bit CF version. Problem solved. --Ben On 3/9/2013 7:06 PM, =?ISO-8859-1?Q?Claude_Schn=E9egans wrote: > >>You cannot natively run msaccess on 64bit windows as there is no 64bit jet > driver, > > Actually you can. > Look for C:\Windows\SysWOW64\odbcad32.exe > This is a 32bit ODBC Data source Administrator. > Use it to define your System DSN first, then in the CF Administrator define > your datasource with the Microsoft driver on that ODBC DSN. > I have CF 9 32bit installed, because of some legacy CFX compiled in 32bit, > and it works well. > It might be slightly different with CF 64bits, then have a look here: > http://blogs.coldfusion.com/post.cfm/coldfusion-10-64bit-and-msaccess > > > ~| 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:354931 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: PDF Issue
Agreed. Or use pdfutils to edit it via a com object. On Mar 11, 2013 1:04 PM, "DURETTE, STEVEN J" wrote: > > Pre-shrink the image to fit the page? > > -Original Message- > From: Robert Harrison [mailto:rob...@austin-williams.com] > Sent: Monday, March 11, 2013 1:02 PM > To: cf-talk > Subject: RE: PDF Issue > > > CFDOCUMENT is using my style sheet, but it ignores the max-width property > on images. If I were to guess I'd say it's rendering the PDF and expanding > the page to the width of the widest image (with the correct fonts), then > converting it to a PDF image, then shrinking the entire page (include the > text) to fit the page size I specified. I see no way around this. > > Any thoughts? > > Robert Harrison > Director of Interactive Services > > ~| 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:354930 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: PDF Issue
Pre-shrink the image to fit the page? -Original Message- From: Robert Harrison [mailto:rob...@austin-williams.com] Sent: Monday, March 11, 2013 1:02 PM To: cf-talk Subject: RE: PDF Issue CFDOCUMENT is using my style sheet, but it ignores the max-width property on images. If I were to guess I'd say it's rendering the PDF and expanding the page to the width of the widest image (with the correct fonts), then converting it to a PDF image, then shrinking the entire page (include the text) to fit the page size I specified. I see no way around this. Any thoughts? Robert Harrison Director of Interactive Services ~| 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:354929 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: PDF Issue
CFDOCUMENT is using my style sheet, but it ignores the max-width property on images. If I were to guess I'd say it's rendering the PDF and expanding the page to the width of the widest image (with the correct fonts), then converting it to a PDF image, then shrinking the entire page (include the text) to fit the page size I specified. I see no way around this. Any thoughts? Robert Harrison Director of Interactive Services Austin & Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austin_ ~| 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:354928 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
PDF Issue
I'm using CFDOCUMENT to create a PDF for download. I have a style sheet built into the page that sets the font at XX pts. It works perfectly, except when the content contains an image that's large than the page width. The image does resize to fit on the page, but it also shrink everything else (like the fonts). I've tried everything I can think of to get the image to resize to the page width without actually shrinking the page, but the who page get shrunk every time. Any ideas? Thanks Robert Harrison Director of Interactive Services Austin & Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austi ~| 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:354927 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Adding Salt and Password Hash to existing acocunts
I've been playing around lately with hashing via both SQL Server 2008 and CF. The following should give you the same results in both: SET @pwdHash = CONVERT(VARCHAR(40),HashBytes('SHA1', @pwd + @UUID),2) My understanding is, SQL Server 2012 is the only version that currently supports SHA512. Thanks, Eric Cobb http://www.cfgears.com From: "Bobby" Sent: Monday, March 11, 2013 11:04 AM To: "cf-talk" Subject: Re: Adding Salt and Password Hash to existing acocunts In the example it was a hardcoded string for the salt. 'mySalt'. you'd just replace that with whatever you intend to use. I haven't used SHA512 this way. I only did it the way I did so there was an equivalent method in CF to generate the same hash. You'd have to play around with generating SHA512 hashes in TSQL and make sure you are also able to generate that same hash in CF (assuming you will be doing your hashing in CF at all before sending to the database). You can do as many iterations of the salt as you want I suppose. If I was going to hash multiple times, I'd salt them all. On 3/11/13 9:05 AM, "Torrent Girl" wrote: >SHA512 ~| 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:354926 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: ColdFusion 10 - Web Service Proxy User Domain
Just to clarify, if I use the user@ad syntax in the cfinvoke call, it works fine too...but if I set the same way up in the CF Administrator, it doesn't Best regards, Bill Franklin Ext: Midwest Consulting Group, Inc. Bayer CropScience LP Kansas City, MO, Tel: +1 816 242 2148 Fax: E-mail: bill.frank...@bayer.com Please visit our anniversary website: Bayer: 150 Years - Science For A Better Life -Original Message- From: Bill Moniz [mailto:hydro.b...@gmail.com] Sent: Friday, March 08, 2013 4:28 PM To: cf-talk Subject: Re: ColdFusion 10 - Web Service Proxy User Domain Use the other form of the domain username: usern...@domain.com That should work. On 9 March 2013 09:23, Bill Franklin wrote: > > I am trying to setup a webservice in CF Administrator. I get everything > setup but when I try to specify the required domain with the username, it > appears to break it...any help would be appreciated. > > For instance, I setup domain\username...it removes the \ and sets it to > domainusername, which doesn't work. > > If I setup the domain\username in the cfinvoke proxyUser parameter, it > works just fine. > > TIA > > ~| 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:354925 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Adding Salt and Password Hash to existing acocunts
In the example it was a hardcoded string for the salt. 'mySalt'. you'd just replace that with whatever you intend to use. I haven't used SHA512 this way. I only did it the way I did so there was an equivalent method in CF to generate the same hash. You'd have to play around with generating SHA512 hashes in TSQL and make sure you are also able to generate that same hash in CF (assuming you will be doing your hashing in CF at all before sending to the database). You can do as many iterations of the salt as you want I suppose. If I was going to hash multiple times, I'd salt them all. On 3/11/13 9:05 AM, "Torrent Girl" wrote: >SHA512 ~| 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:354924 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: ColdFusion 10 - Web Service Proxy User Domain
So does that still work for Active Directory domains? e.g. ad/username = username@ad I ask because it isn't working either. Best regards, Bill Franklin Bayer CropScience LP Kansas City, MO, Tel: +1 816 242 2148 Fax: E-mail: bill.frank...@bayer.com Please visit our anniversary website: Bayer: 150 Years - Science For A Better Life -Original Message- From: Bill Moniz [mailto:hydro.b...@gmail.com] Sent: Friday, March 08, 2013 4:28 PM To: cf-talk Subject: Re: ColdFusion 10 - Web Service Proxy User Domain Use the other form of the domain username: usern...@domain.com That should work. On 9 March 2013 09:23, Bill Franklin wrote: > > I am trying to setup a webservice in CF Administrator. I get everything > setup but when I try to specify the required domain with the username, it > appears to break it...any help would be appreciated. > > For instance, I setup domain\username...it removes the \ and sets it to > domainusername, which doesn't work. > > If I setup the domain\username in the cfinvoke proxyUser parameter, it > works just fine. > > TIA > > ~| 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:354923 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Adding Salt and Password Hash to existing acocunts
>Password expirations would definitely be the way I would have gone with >this. > >If I didn't have that option id probably just hash them all with a single >update statement in SQL Server rather than involving CF at all. > >update userTable set passwordColumn = >right(master.dbo.fn_varbintohexstr(hashBytes('MD5', cast(passwordColumn + >'mySalt' as nvarchar(max,32) > >Then, to convert a submitted password to that in CF, >lcase(hash(passwordString & 'mySalt', 'MD5', 'UTF-16LE')) > > > >On 3/7/13 3:00 PM, "Roger Austin" wrote: > > > Thank you. I think I am going to take the SQL route. A few questions on your script. 1. How/where did you set the salt value? 2. Can I do multiple iterations of the salt? 3. Why MD5 and not SHA512? ~| 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:354922 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFPOP and multipart bounce messages
Paul, thanks that might work. Russ - Not an option, as I'm not the one sending the email. Thanks though. Rick ~| 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:354921 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm