Re: Stupid Question

2011-07-01 Thread Scott Brady
I haven't really done much testing with it, since I just don't like isDefined() in general (it seems like sloppier code to me), but I seem to recall in the build-up to releasing CF9, the folks at Adobe said that isDefined() and structKeyExists() now have no performance difference. Of course,

Re: Stupid Question

2011-07-01 Thread Russ Michaels
indeed, I would say telling people to never use it is a bit strong, it still has it's uses. Besides it is only going to make a few ms difference at the most. On Fri, Jul 1, 2011 at 9:18 AM, Scott Brady dsbr...@gmail.com wrote: I haven't really done much testing with it, since I just don't

RE: CFFILE / CFCATCH

2011-07-01 Thread Jenny Gavin-Wear
Many thanks for your reply, interesting article. I think this article would only apply if I was losing all session variables? -Original Message- From: morgan l [mailto:greyk...@gmail.com] Sent: 01 July 2011 02:16 To: cf-talk Subject: Re: CFFILE / CFCATCH Looks like you're the

Speeding up .NET dlls

2011-07-01 Thread Stefan Richter
Hi all, this should be an easy one. I've noticed a very slow startup when my site initialises a .NET dll. The first request takes a very long time, and subsequent ones are much quicker. I presume that the dll is somehow stored in memeory and I wonder if and how I could have it ready as soon

Changed internal IP addresses on server - cffile breaks?

2011-07-01 Thread Patti, Michael
I recently had to change the internal IP addresses of my Windows 2003 (32 bit) server that is running CF8 standard. The IPs were changed from a 10.0.0.x format to 192.168.31.x format. After the change was made, CF appeared to be running fine; but I'm running into a problem with cffile not

ColdFusion and Microsoft Office Tools

2011-07-01 Thread Bern Weed
Does anyone know if you are opening and writing to Word files from within a coldfusion .cfm file do you have to have Microsoft Word installed on the server or does Coldfusion use the tool from the clients PC. I know a long time back that for some reason we had to install the tool on the

Re: Changed internal IP addresses on server - cffile breaks?

2011-07-01 Thread Dan Blickensderfer
Michael, It sounds like you have a WINS Server running on your network that isn't getting updated. The computer name and ip address may be statically assigned in the WINS manager. ~Dan -Original Message- From: Patti, Michael Sent: Friday, July 01, 2011 11:35 AM To: cf-talk Subject:

Re: ColdFusion and Microsoft Office Tools

2011-07-01 Thread Dave Watts
Does anyone know if you are opening and writing to Word files from within a coldfusion .cfm file do you have to have Microsoft Word installed on the server or does Coldfusion use the tool from the clients PC.  I know a long time back that for some reason we had to install the tool on the

Re: Changed internal IP addresses on server - cffile breaks?

2011-07-01 Thread Russ Michaels
CF caches DNS, have you restarted CF since ? On Fri, Jul 1, 2011 at 4:44 PM, Dan Blickensderfer d...@blickensderfer.comwrote: Michael, It sounds like you have a WINS Server running on your network that isn't getting updated. The computer name and ip address may be statically assigned in

Re: ColdFusion and Microsoft Office Tools

2011-07-01 Thread Leigh
Does anyone know if you are opening and writing to Word files from within a coldfusion .cfm file do you have to have Microsoft Word installed on the server or does Coldfusion use the tool from the clients PC.  It needs to be installed on the server. IIRC, it is mentioned in the

Re: ColdFusion and Microsoft Office Tools

2011-07-01 Thread Leigh
This depends on how exactly you're reading and writing Word files. It does depend. Though last I checked CF9 did not allow writing of Word files, just conversion from word = pdf IIRC. -Leigh ~| Order the Adobe Coldfusion

RE: Changed internal IP addresses on server - cffile breaks?

2011-07-01 Thread Patti, Michael
Yeah, I've restarted both CF and the entire server a couple of times since the IP addresses were first updated (Early Sunday evening). When I run ipconfig /all on the server, it's reporting back the correct IP addresses (in the 192.168.31.1-n range), I've updated all of the bindings in IIS6

Re: Changed internal IP addresses on server - cffile breaks?

2011-07-01 Thread Russ Michaels
I presume you are using CFFILE to write files to another server on the network not to the local machine ? do you have any actual error you can give us ? Russ On Fri, Jul 1, 2011 at 4:52 PM, Patti, Michael mpa...@sherwood-group.comwrote: Yeah, I've restarted both CF and the entire server a

RE: Changed internal IP addresses on server - cffile breaks?

2011-07-01 Thread Patti, Michael
The program that's trying to write the file is an ancient CMS that used to be called 'ActiveMatter' and has been re-branded as 'iMIS eContent Manager'. It makes use of a .net-driven publishing service that also lives on the web server. The publishing service basically queries a database

RE: Changed internal IP addresses on server - cffile breaks?

2011-07-01 Thread Patti, Michael
I am finding entries for the old IP addresses in C:\Coldfusion8\ConnectorInstall0.txt, that look like this: ... Found JRun server coldfusion at 127.0.0.1:2930 this host is TSGIWEB02:10.0.0.2 this host is TSGIWEB02:10.0.0.29 this host is TSGIWEB02:10.0.0.27 ... Would those entries need to be

Re: Changed internal IP addresses on server - cffile breaks?

2011-07-01 Thread Russ Michaels
not likely that just looks like an install file, perhaps it is .net connecting to CF on the old IP ? On Fri, Jul 1, 2011 at 5:21 PM, Patti, Michael mpa...@sherwood-group.comwrote: I am finding entries for the old IP addresses in C:\Coldfusion8\ConnectorInstall0.txt, that look like this:

Re: Speeding up .NET dlls

2011-07-01 Thread Leigh
initialises a .NET dll. The first request takes a very long time, and subsequent ones are much quicker. Did you check the documentation on .net assemblies? It mentions creating proxies the first time you create .net objects and some tools for creating proxies. Might be what you are looking

Re: Changed internal IP addresses on server - cffile breaks?

2011-07-01 Thread Dan Blickensderfer
Q? If you remove the server from host file and in DOS type in nslookup enter and type in {servername}. Does it report back the correct ip address? If not, Your dns server doesn't have the updated ip address for your server. If it does report back correctly. Exit out of NSLOOKUP and while

RE: Stupid Question

2011-07-01 Thread Bryan Stevenson
can't anyone on this list take a joke ;-) Thanks for being perfect Andrew ;-) Cheers On Fri, 2011-07-01 at 13:28 +1000, Andrew Scott wrote: Yes but the code should be written cfset myQuery = queryNew(column1) cfset queryAddRow(myQuery) cfset querySetCell(myQuery,column1,blah blah blah)

Re: Stupid Question

2011-07-01 Thread Sean Corfield
On Thu, Jun 30, 2011 at 8:28 PM, Andrew Scott andr...@andyscott.id.au wrote: Yes but the code should be written cfset myQuery = queryNew(column1) cfset queryAddRow(myQuery) cfset querySetCell(myQuery,column1,blah blah blah) Shouldn't that be: cfset myQuery = queryNew(column1) cfset

RE: Changed internal IP addresses on server - cffile breaks?

2011-07-01 Thread Bobby Hartsfield
Have you flushed DNS on the two machines? ipconfig /flushdns .:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com -Original Message- From: Patti, Michael [mailto:mpa...@sherwood-group.com] Sent: Friday, July 01, 2011 11:36 AM To: cf-talk Subject:

RE: Changed internal IP addresses on server - cffile breaks?

2011-07-01 Thread Patti, Michael
When I run 'ipconfig /flushdns' from the web server, it reports back: --- Windows IP Configuration Could not flush the DNS Resolver Cache: Function failed during execution. --- I did 'ipconfig /all' to check whether the web server has WINS proxy enabled. It does not. It might be that the

overriding output=false in a cfcomponent or cffunction

2011-07-01 Thread Michael Dinowitz
Lets say I have a cffunction tag using output=false and I'm using a cftry/cfcatch within the function to handle an error. With output set to false, I can't display an error message or dump any vars. Does anyone know of a way to disable the output=false dynamically? Thanks

Re: overriding output=false in a cfcomponent or cffunction

2011-07-01 Thread Raymond Camden
You normally only dump for testing, so just add an abort and you will see it: cfdump var=#something# abort As for errors, even with output=false you can cfthrow an error and it will show up. On Fri, Jul 1, 2011 at 6:36 PM, Michael Dinowitz mdino...@houseoffusion.com wrote: Lets say I have a

RE: Stupid Question

2011-07-01 Thread Andrew Scott
Rotflmao, well being perfect one could turn around and argue that maybe the user wanted to know if the setcell failed. Which would be a good excuse of what you wrote, yes! Regards, Andrew Scott http://www.andyscott.id.au/ -Original Message- From: Bryan Stevenson

Re: overriding output=false in a cfcomponent or cffunction

2011-07-01 Thread Dave Watts
Lets say I have a cffunction tag using output=false and I'm using a cftry/cfcatch within the function to handle an error. With output set to false, I can't display an error message or dump any vars. Does anyone know of a way to disable the output=false dynamically? No, you can't dynamically

Re: Changed internal IP addresses on server - cffile breaks?

2011-07-01 Thread Dan Blickensderfer
Michael, What you are experiencing is correct when it comes to the external dns resolving. The firewall is preforming the translation from your public ip to your internal ip. There may need a change in the firewall to make this work correctly with new ip address. I've seen this exact thing