ColdFusion Looping
Am i missing something obvious. cfoutput cfset t = 1 cfloop condition=t LTE 10 t=#t#BR cfset t++ cfif t GT 10 cfbreak/ /cfif /cfloop cfset w = 1 cfloop condition=1 eq 1 w=#w#BR cfset w++ cfif w GT 10 cfbreak/ /cfif /cfloop cfloop from=1 to=10 index=y y=#y#BR cfset y++ /cfloop cfscript for(x=1; x = 10; x++){ writeOutput(x BR); x++; } writeOutput(x); /cfscript /cfoutput t=1 t=2 t=3 t=4 t=5 t=6 t=7 t=8 t=9 t=10 w=1 w=2 w=3 w=4 w=5 w=6 w=7 w=8 w=9 w=10 y=1 y=2 y=3 y=4 y=5 y=6 y=7 y=8 y=9 y=10 1 3 5 7 9 11 Only the last version is working as I would expect. I ran into this attempting to increment an index inside cfloop, so I could skip a few records in an array. I can't believe I've never noticed this, or am I just plain nuts? Byron Mann Lead Engineer Architect HostMySite.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:358394 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ColdFusion Looping
Looks like your incrementing X in the for statement and in the body of the loop On Thu, Apr 24, 2014 at 8:55 AM, Byron Mann byronos...@gmail.com wrote: Am i missing something obvious. cfoutput cfset t = 1 cfloop condition=t LTE 10 t=#t#BR cfset t++ cfif t GT 10 cfbreak/ /cfif /cfloop cfset w = 1 cfloop condition=1 eq 1 w=#w#BR cfset w++ cfif w GT 10 cfbreak/ /cfif /cfloop cfloop from=1 to=10 index=y y=#y#BR cfset y++ /cfloop cfscript for(x=1; x = 10; x++){ writeOutput(x BR); x++; } writeOutput(x); /cfscript /cfoutput t=1 t=2 t=3 t=4 t=5 t=6 t=7 t=8 t=9 t=10 w=1 w=2 w=3 w=4 w=5 w=6 w=7 w=8 w=9 w=10 y=1 y=2 y=3 y=4 y=5 y=6 y=7 y=8 y=9 y=10 1 3 5 7 9 11 Only the last version is working as I would expect. I ran into this attempting to increment an index inside cfloop, so I could skip a few records in an array. I can't believe I've never noticed this, or am I just plain nuts? Byron Mann Lead Engineer Architect HostMySite.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:358395 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ColdFusion Looping
Yes, that last one with x is what I actually want. I'm just surprise the first few versions do not act in the same manner. Byron Mann Lead Engineer Architect HostMySite.com On Thu, Apr 24, 2014 at 12:25 PM, Blake wdavi...@gmail.com wrote: Looks like your incrementing X in the for statement and in the body of the loop ~| 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:358396 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ColdFusion Looping
You are only incrementing the earlier loops by one. Why not do something like cfset y = y+2 On Thu, Apr 24, 2014 at 9:28 AM, Byron Mann byronos...@gmail.com wrote: Yes, that last one with x is what I actually want. I'm just surprise the first few versions do not act in the same manner. Byron Mann Lead Engineer Architect HostMySite.com On Thu, Apr 24, 2014 at 12:25 PM, Blake wdavi...@gmail.com wrote: Looks like your incrementing X in the for statement and in the body of the loop ~| 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:358397 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ColdFusion Looping
cfloop from=1 to=10 index=x #x#- cfset x = x + 2 /cfloop 1- 2- 3- 4- 5- 6- 7- 8- 9- 10- I would use step in cfloop, however, the increment can be variable from iteration to iteration. Byron Mann Lead Engineer Architect HostMySite.com On Thu, Apr 24, 2014 at 12:32 PM, Blake wdavi...@gmail.com wrote: You are only incrementing the earlier loops by one. Why not do something like cfset y = y+2 On Thu, Apr 24, 2014 at 9:28 AM, Byron Mann byronos...@gmail.com wrote: Yes, that last one with x is what I actually want. I'm just surprise the first few versions do not act in the same manner. Byron Mann Lead Engineer Architect HostMySite.com On Thu, Apr 24, 2014 at 12:25 PM, Blake wdavi...@gmail.com wrote: Looks like your incrementing X in the for statement and in the body of the loop ~| 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:358398 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ColdFusion Looping
cfset t = 1 cfloop condition=t LTE 10 t=#t#BR cfset t=t+2 cfif t GT 10 cfbreak/ /cfif /cfloop t=1 t=3 t=5 t=7 t=9 On Thu, Apr 24, 2014 at 9:39 AM, Byron Mann byronos...@gmail.com wrote: cfloop from=1 to=10 index=x #x#- cfset x = x + 2 /cfloop 1- 2- 3- 4- 5- 6- 7- 8- 9- 10- I would use step in cfloop, however, the increment can be variable from iteration to iteration. Byron Mann Lead Engineer Architect HostMySite.com On Thu, Apr 24, 2014 at 12:32 PM, Blake wdavi...@gmail.com wrote: You are only incrementing the earlier loops by one. Why not do something like cfset y = y+2 On Thu, Apr 24, 2014 at 9:28 AM, Byron Mann byronos...@gmail.com wrote: Yes, that last one with x is what I actually want. I'm just surprise the first few versions do not act in the same manner. Byron Mann Lead Engineer Architect HostMySite.com On Thu, Apr 24, 2014 at 12:25 PM, Blake wdavi...@gmail.com wrote: Looks like your incrementing X in the for statement and in the body of the loop ~| 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:358399 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ColdFusion Looping
Am i missing something obvious. [...] Only the last version is working as I would expect. I ran into this attempting to increment an index inside cfloop, so I could skip a few records in an array. It's difficult to say how your expectations are off, given you don't *seem* to tell us what said expectations are. FWIW, all of that is working as I would expect. -- Adam ~| 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:358400 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ColdFusion Looping
maybe this? cfloop from=1 to=10 index=y cfif NOT (y mod 2) cfcontinue /cfif y=#y#BR /cfloop On Thu, Apr 24, 2014 at 9:49 AM, Adam Cameron dacc...@gmail.com wrote: Am i missing something obvious. [...] Only the last version is working as I would expect. I ran into this attempting to increment an index inside cfloop, so I could skip a few records in an array. It's difficult to say how your expectations are off, given you don't *seem* to tell us what said expectations are. FWIW, all of that is working as I would expect. -- Adam ~| 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:358401 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ColdFusion Looping
Am i missing something obvious. cfloop from=1 to=10 index=y y=#y#BR cfset y++ /cfloop With this one, yes. With this sort of loop, CF maintains the counter internally, and just exposes its current value each iteration. So you can do what you like to the value inside the loop body, CF will simply expose the next incremented value each iteration. This makes it more clear: cfoutput cfloop index=i from=1 to=10 Top of loop: #i#br cfset i = apples Bottom of loop: #i#br hr /cfloop /cfoutput As for the other two cfloop examples you offer, I don't see what it is you expect to happen that's different from what *is* happening. -- Adam ~| 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:358402 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ColdFusion Looping
They are all working the way they are intended, but I will look at one in particular as it can catch a lot of people out. cfloop from=1 to=10 index=y y=#y#BR cfset y++ /cfloop When ColdFusion does any looping like this, the y is reset to the actual loop valuem hence making the manual increment mute. If you want it to step in lots of 2 then use the step attribute to do this. As for the first example, what a frigging mess but it does exactly what you are telling it to do. The problem with cfscript is that it is more ESMAC compliant, which means you can increment it when being used in a for loop as you have shown in your last example. Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/113032480415921517411 On Fri, Apr 25, 2014 at 2:28 AM, Byron Mann byronos...@gmail.com wrote: Yes, that last one with x is what I actually want. I'm just surprise the first few versions do not act in the same manner. Byron Mann Lead Engineer Architect HostMySite.com On Thu, Apr 24, 2014 at 12:25 PM, Blake wdavi...@gmail.com wrote: Looks like your incrementing X in the for statement and in the body of the loop ~| 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:358403 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ColdFusion Looping
The problem with cfscript is that it is more ESMAC compliant, which means you can increment it when being used in a for loop as you have shown in your last example. Well yes and no. the CFScript construct: for(i=1; i=10;i++){ // stuff } is not analogous to: cfloop index=i from=1 to=10 !--- stuff --- /cfloop It's analogous to: cfset i=1 cfloop condition=i LE 10 !--- stuff --- cfset i++ /cfloop -- Adam ~| 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:358404 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ColdFusion Looping
Yes Adam, you're right. I looked at the code quickly and saw the one increment and assumed *sigh* that it was using the for loop in the first example. Well in that case it is working as intended then. Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/113032480415921517411 On Fri, Apr 25, 2014 at 4:56 AM, Adam Cameron dacc...@gmail.com wrote: The problem with cfscript is that it is more ESMAC compliant, which means you can increment it when being used in a for loop as you have shown in your last example. Well yes and no. the CFScript construct: for(i=1; i=10;i++){ // stuff } is not analogous to: cfloop index=i from=1 to=10 !--- stuff --- /cfloop It's analogous to: cfset i=1 cfloop condition=i LE 10 !--- stuff --- cfset i++ /cfloop -- Adam ~| 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:358405 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ColdFusion Looping
OK, me==dah, the first 2 examples I just need to increment by 2 (or any other factor) other than 1. This is what happens without enough coffee. My actual code in use was like the 3rd example, but it is nested inside other loops. I had to break the inner loop in differing steps/increments. Something like this cfloop from=1 to=#arrayLen(ary)# index='x' ... cfloop from=#x# to='#arrayLen(ary)# index='y' cfset x=x+{various value} !-- skip this many now --- Suffice to say, it was easy enough to fix once I modified to a for statement and understood what was going on. Just looking at the code for 2 hours and thinking THIS SHOULD WORK was what got me about it all. I guess in 15 years of CF I've really just never done this or have done by other means. Just seems perplexing that this particular incarnation would act differently. I'll add it to the CF quirky list I have in my head. Thanks everyone for taking a look, ~Byron On Thu, Apr 24, 2014 at 1:49 PM, Andrew Scott andr...@andyscott.id.auwrote: They are all working the way they are intended, but I will look at one in particular as it can catch a lot of people out. cfloop from=1 to=10 index=y y=#y#BR cfset y++ /cfloop When ColdFusion does any looping like this, the y is reset to the actual loop valuem hence making the manual increment mute. If you want it to step in lots of 2 then use the step attribute to do this. As for the first example, what a frigging mess but it does exactly what you are telling it to do. The problem with cfscript is that it is more ESMAC compliant, which means you can increment it when being used in a for loop as you have shown in your last example. Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/113032480415921517411 On Fri, Apr 25, 2014 at 2:28 AM, Byron Mann byronos...@gmail.com wrote: Yes, that last one with x is what I actually want. I'm just surprise the first few versions do not act in the same manner. Byron Mann Lead Engineer Architect HostMySite.com On Thu, Apr 24, 2014 at 12:25 PM, Blake wdavi...@gmail.com wrote: Looks like your incrementing X in the for statement and in the body of the loop ~| 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:358406 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
ColdFusion 10 configuration wizard doesn't start
I have just installed CF10 on my development machine. I have been happily running CF9 for several years and decided it was time to move on. The actual install seemed to go smoothly but at the end when it tells you it is going to the configuration wizard nothing happens. It simply serves up a blank page from the URL http://127.0.0.1/CFIDE/administrator/index.cfm The CF9 pages continue to run fine but any attempt to pull up the administrator fails (being the same URL). I tried this twice. The first time it failed with the URL bringing up the CF9 administrator, the second time it brings up the blank page. I looked in the event log and at my started tasks to see if I could find a clue but nothing appeared. Could sure use some ideas of what to do! ~| 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:358407 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ColdFusion 10 configuration wizard doesn't start
Are you trying to run ColdFusion 9 and ColdFusion 10 on the same IP and Port? Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/113032480415921517411 On Fri, Apr 25, 2014 at 5:16 AM, John Pullam jpul...@mcleansystems.comwrote: I have just installed CF10 on my development machine. I have been happily running CF9 for several years and decided it was time to move on. The actual install seemed to go smoothly but at the end when it tells you it is going to the configuration wizard nothing happens. It simply serves up a blank page from the URL http://127.0.0.1/CFIDE/administrator/index.cfm The CF9 pages continue to run fine but any attempt to pull up the administrator fails (being the same URL). I tried this twice. The first time it failed with the URL bringing up the CF9 administrator, the second time it brings up the blank page. I looked in the event log and at my started tasks to see if I could find a clue but nothing appeared. Could sure use some ideas of what to do! ~| 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:358408 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ColdFusion 10 configuration wizard doesn't start
I'm not trying to run CF9 at all. I never ran across an option to set the port for CF10. Did I miss something? ~| 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:358409 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ColdFusion 10 configuration wizard doesn't start
as you have said CF9 pages continue to run fine, this means that cf9 is still running. CF10 installs alongside it. I would suggest you shut down the CF9 services to make sure you are in fact using CF10. You also may need to use the internal web server to access the cfadmin instead if the one you are trying to access if still CF9. It should have asked you during install where you wanted to put it, so make sure http://127.0.0.1/CFIDE/administrator/index.cfm points to that location and is using the cf connector. On Thu, Apr 24, 2014 at 8:16 PM, John Pullam jpul...@mcleansystems.comwrote: I have just installed CF10 on my development machine. I have been happily running CF9 for several years and decided it was time to move on. The actual install seemed to go smoothly but at the end when it tells you it is going to the configuration wizard nothing happens. It simply serves up a blank page from the URL http://127.0.0.1/CFIDE/administrator/index.cfm The CF9 pages continue to run fine but any attempt to pull up the administrator fails (being the same URL). I tried this twice. The first time it failed with the URL bringing up the CF9 administrator, the second time it brings up the blank page. I looked in the event log and at my started tasks to see if I could find a clue but nothing appeared. Could sure use some ideas of what to do! ~| 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:358410 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ColdFusion 10 configuration wizard doesn't start
*sigh* When you install ColdFusion connectors it needs to connect to a configured website, this website in IIS for example is setup with an IP and Port. If ColdFusion 9 is already installed, then it will server up the ColdFusion 9 Administration. If you try to the install ColdFusion onto the same server, you can't apply it to the same port and IP as the website that is already running ColdFusion. When you install ColdFusion there is an option to select which connector you need, also as to which site you wish to configure ColdFusion for. If you leave this as the default options as most people do, then it defaults to setting up the connector for all current websites. If you plan on using ColdFusion 9 and ColdFusion 10, then you need to run the Web Configuration and remove ColdFusion from all sites. Then if you then plan to use ColdFusion 9, you will then need to set it up to the website you wish to run ColdFusion 9 from. The same also applies to installing ColdFusion 10, if previous connectors are installed and in this case you have admitted to having ColdFusion 9 installed. It will ignore running of the connectors during installation, which you also admitted to having happen. I hope that clears it up a lot more. Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/113032480415921517411 On Fri, Apr 25, 2014 at 5:29 AM, John Pullam jpul...@mcleansystems.comwrote: I'm not trying to run CF9 at all. I never ran across an option to set the port for CF10. Did I miss something? ~| 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:358411 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ColdFusion 10 configuration wizard doesn't start
CF9 refuses to stop. Even after a reboot and the first thing I did was go into services and clicked on stop. I noticed that each version has a tool in the program folder called web server configuration tool and when I ran it for each version (thinking I might use it to alter what port it was listening on), each tool suggested that IIS was set for all requests. So I guess I have a conflict. Perhaps I need to uninstall both and then reinstall CF10. I had hoped that by installing CF10 when CF9 was already there, it would be able to migrate some useful things and might give me the option of taking over all CF requests by CF10. But no luck. Any other ideas? ~| 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:358412 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ColdFusion 10 configuration wizard doesn't start
Well yes it can, but like I stated you need to remove ColdFusion from being setup for all sites first and then slect the one or two sites you wish it to work on. Then you can install ColdFusion 10 and instead of selecting all during installation you specify there which website you wish to connect it too. Not doing it in that order, you will get what you ended up with. Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/113032480415921517411 On Fri, Apr 25, 2014 at 6:10 AM, John Pullam jpul...@mcleansystems.comwrote: CF9 refuses to stop. Even after a reboot and the first thing I did was go into services and clicked on stop. I noticed that each version has a tool in the program folder called web server configuration tool and when I ran it for each version (thinking I might use it to alter what port it was listening on), each tool suggested that IIS was set for all requests. So I guess I have a conflict. Perhaps I need to uninstall both and then reinstall CF10. I had hoped that by installing CF10 when CF9 was already there, it would be able to migrate some useful things and might give me the option of taking over all CF requests by CF10. But no luck. Any other ideas? ~| 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:358413 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ColdFusion 10 configuration wizard doesn't start
I appreciate the help. I am primarily a CF application guy but I usually have enough Windows skills to keep things working OK on my development desktop machine. (I've done CF6 onwards and kept it going on my desktop.) I am unclear on connectors and don't believe that I saw or answered any questions about them. I was looking for options/questions that would allow me to distinguish between the 2 versions but saw very little. I am sorry but it looks like I am over my head. I'll just uninstall both and try again. ~| 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:358414 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ColdFusion 10 configuration wizard doesn't start
if the service wont stop, then you can of course just kill the process from task manager and then disable the service. On Thu, Apr 24, 2014 at 9:10 PM, John Pullam jpul...@mcleansystems.comwrote: CF9 refuses to stop. Even after a reboot and the first thing I did was go into services and clicked on stop. I noticed that each version has a tool in the program folder called web server configuration tool and when I ran it for each version (thinking I might use it to alter what port it was listening on), each tool suggested that IIS was set for all requests. So I guess I have a conflict. Perhaps I need to uninstall both and then reinstall CF10. I had hoped that by installing CF10 when CF9 was already there, it would be able to migrate some useful things and might give me the option of taking over all CF requests by CF10. But no luck. Any other ideas? ~| 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:358415 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ColdFusion 10 configuration wizard doesn't start
I appreciate the help. I am primarily a CF application guy but I usually have enough Windows skills to keep things working OK on my development desktop machine. (I've done CF6 onwards and kept it going on my desktop.) I am unclear on connectors and don't believe that I saw or answered any questions about them. I was looking for options/questions that would allow me to distinguish between the 2 versions but saw very little. I am sorry but it looks like I am over my head. I'll just uninstall both and try again. Before you do that, you might try this. 1. Uninstall all connectors. You can do this using the web server configuration tools for each version of CF. 2. Configure CF 9 to use the built-in web server. You can do this by editing jrun.xml. I'm not exactly sure where it is with a standard CF 9 install vs multi-server, but you can find it by searching the filesystem. Within this file, look for the web server entry, and change the deactivated entry from true to false. 3. From within CF 9, you can export your CF server settings using a CAR file. This requires you not be using a standard license - if you're using developer, trial or enterprise you're ok here. If you're using standard, you can remove the license key to get it to become a trial version. 4. Uninstall CF 10 entirely - you could probably get around this, but why bother at this point. 5. Uninstall or disable CF 9. 6. Install CF 10, and import your settings. Enjoy! Dave Watts, CTO, Fig Leaf Software 1-202-527-9569 http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| 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:358416 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
ColdFusion 10 install fails with code 0x800700c1
Sorry to post a second install problem ... I'm feeling like a real dummy today. I just cleaned out my CF9 development install that had run well for several years and did a clean CF10 install. I'm running windows 64 bit and did a 64 bit CF install. It looked good and asked all the expected questions. But when it attempted to call up the configuration wizard at URL http://127.0.0.1/CFIDE/administrator/index.cfm it failed with server error 500 and code 0x800700c1 I've googled around to see if others have seen this but the cases I've run across aren't that close yet. Suggestions would be appreciated ... ~| 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:358417 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ColdFusion 10 install fails with code 0x800700c1
what about the built in web server (on port 8500) is that working ? if you didn't choose to install that, then read this to enable it. http://www.carehart.org/blog/client/index.cfm/2012/7/23/The-builtin-web-server-in-ColdFusion-10-enabling-it-configuring-it-reconsidering-it this will at least tell you cf is working ok, then we can work on IIS issue On Thu, Apr 24, 2014 at 10:06 PM, John Pullam jpul...@mcleansystems.comwrote: Sorry to post a second install problem ... I'm feeling like a real dummy today. I just cleaned out my CF9 development install that had run well for several years and did a clean CF10 install. I'm running windows 64 bit and did a 64 bit CF install. It looked good and asked all the expected questions. But when it attempted to call up the configuration wizard at URL http://127.0.0.1/CFIDE/administrator/index.cfm it failed with server error 500 and code 0x800700c1 I've googled around to see if others have seen this but the cases I've run across aren't that close yet. Suggestions would be appreciated ... ~| 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:358418 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ColdFusion 10 install fails with code 0x800700c1
I just cleaned out my CF9 development install that had run well for several years and did a clean CF10 install. I'm running windows 64 bit and did a 64 bit CF install. It looked good and asked all the expected questions. But when it attempted to call up the configuration wizard at URL http://127.0.0.1/CFIDE/administrator/index.cfm it failed with server error 500 and code 0x800700c1 Did you uninstall the connectors before you cleaned out your CF 9 install? If not, IIS will still try to talk to CF 9. Do you really need to use IIS for development anyway? Why not just use the built-in web server? This will save you a lot of trouble with setup, etc. Dave Watts, CTO, Fig Leaf Software 1-202-527-9569 http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| 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:358419 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ColdFusion 10 install fails with code 0x800700c1
Yes, I was able to get CF to issue an error message after enabling that server and inserting the port in the URL. So I guess that means it is an IIS issue. Can you suggest a next step... ~| 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:358420 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ColdFusion 10 install fails with code 0x800700c1
No I didn't. How do I uninstall a connector? (Given that I don't really understand what a connector is.) I read a post of yours elsewhere also suggesting using the bultin web server. My rationale for staying with IIS is that I want to test on a system very similar to what it will be deployed on. I also have a Microsoft Access app to test eventually and I need to confirm that the app works in this environment before the ISP cuts it over. ~| 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:358421 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ColdFusion 10 install fails with code 0x800700c1
No I didn't. How do I uninstall a connector? (Given that I don't really understand what a connector is.) It's the thing that ... connects ... your web server to CF. When a request is received, your web server sends it to the connector, which sends it to CF. I read a post of yours elsewhere also suggesting using the bultin web server. My rationale for staying with IIS is that I want to test on a system very similar to what it will be deployed on. I also have a Microsoft Access app to test eventually and I need to confirm that the app works in this environment before the ISP cuts it over. Well, honestly, that's a good rationale but if you don't understand how the system works it might be a little unrealistic. In any case, unless you're doing something IIS-specific within your CFML code, you generally don't need to bother with an external web server. I used to carefully set up CF with IIS, but eventually realized it wasn't worth the effort. I'm not sure what you mean by a Microsoft Access app, but if you mean a CF app that uses Access, that will work the same way on the built-in web server as it would with IIS. And if you mean something else, you could use IIS to test that something else and use the built-in web server to test CF. Dave Watts, CTO, Fig Leaf Software 1-202-527-9569 http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| 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:358422 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ColdFusion 10 install fails with code 0x800700c1
run the web config tool, remove all connectors, and then add them again, will then add the CF10 connectors. On Thu, Apr 24, 2014 at 10:33 PM, John Pullam jpul...@mcleansystems.comwrote: No I didn't. How do I uninstall a connector? (Given that I don't really understand what a connector is.) I read a post of yours elsewhere also suggesting using the bultin web server. My rationale for staying with IIS is that I want to test on a system very similar to what it will be deployed on. I also have a Microsoft Access app to test eventually and I need to confirm that the app works in this environment before the ISP cuts it over. ~| 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:358423 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ColdFusion 10 install fails with code 0x800700c1
the connector is basically the DLL file that the handler points to for processing cfml pages. If you are still using MSACCESS, then you really need to stop that now, it is no longer supported on 64bit servers without workarounds and there are so many better/free alternatives. On Thu, Apr 24, 2014 at 10:33 PM, John Pullam jpul...@mcleansystems.comwrote: No I didn't. How do I uninstall a connector? (Given that I don't really understand what a connector is.) I read a post of yours elsewhere also suggesting using the bultin web server. My rationale for staying with IIS is that I want to test on a system very similar to what it will be deployed on. I also have a Microsoft Access app to test eventually and I need to confirm that the app works in this environment before the ISP cuts it over. ~| 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:358424 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ColdFusion 10 install fails with code 0x800700c1
Dave, you indicated that I should have uninstalled the CF9 connectors before starting the install. Given that I didn't and that I no longer have a CF9 system, how would I go about removing them? Do I now need to re-install CF9, remove the connector and then uninstall it? I hope not. I can't see any evidence of CF9 files kicking around but it may be that IIS is trying to send the cfm page request to the wrong place. Please let's not get into a discussion about Microsoft Access. I am very aware that it is obsolete and should not be used, but I have a legacy app that produces Access databases that I am stuck with for now. All my new development is SQL Server. ~| 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:358425 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ColdFusion 10 install fails with code 0x800700c1
The Web Server Configuration tool can do this for you. Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/113032480415921517411 On Fri, Apr 25, 2014 at 10:32 AM, John Pullam jpul...@mcleansystems.comwrote: Dave, you indicated that I should have uninstalled the CF9 connectors before starting the install. Given that I didn't and that I no longer have a CF9 system, how would I go about removing them? Do I now need to re-install CF9, remove the connector and then uninstall it? I hope not. I can't see any evidence of CF9 files kicking around but it may be that IIS is trying to send the cfm page request to the wrong place. Please let's not get into a discussion about Microsoft Access. I am very aware that it is obsolete and should not be used, but I have a legacy app that produces Access databases that I am stuck with for now. All my new development is SQL Server. ~| 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:358426 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ColdFusion 10 install fails with code 0x800700c1
you just need to use the cf10 web config tool as per earlier email to remove connectors and re-add On Fri, Apr 25, 2014 at 1:32 AM, John Pullam jpul...@mcleansystems.comwrote: Dave, you indicated that I should have uninstalled the CF9 connectors before starting the install. Given that I didn't and that I no longer have a CF9 system, how would I go about removing them? Do I now need to re-install CF9, remove the connector and then uninstall it? I hope not. I can't see any evidence of CF9 files kicking around but it may be that IIS is trying to send the cfm page request to the wrong place. Please let's not get into a discussion about Microsoft Access. I am very aware that it is obsolete and should not be used, but I have a legacy app that produces Access databases that I am stuck with for now. All my new development is SQL Server. ~| 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:358427 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm