|
Mailing Lists
|
Home /
Groups /
ColdFusion Talk (CF-Talk)
ColdFusion 9 with IIS 7
I just did a fresh install fall cleaning.. of my PC..Greg Morphis 11/29/11 11:20 A Did you install CF on port 8500, by chance?Scott Stewart 11/29/11 11:25 A When I installed it I told it to use IIS but I do have IIS 6Greg Morphis 11/29/11 11:33 A do you have IIS pointing at port 81?Scott Stewart 11/29/11 11:37 A I have the site bound to port 81..Greg Morphis 11/29/11 11:41 A if it works fine on port 80 then why not just stick to using port 80 ?Russ Michaels 11/29/11 11:49 A That'll work Russ but I'm not familiar with doing that, can you pointGreg Morphis 11/29/11 11:51 A > That'll work Russ but I'm not familiar with doing that, can you pointCasey Dougall 11/29/11 11:54 A open c:\windows\system32\drivers\etc\hosts file in notepad, you willRuss Michaels 11/29/11 12:11 P That's pretty simple.. I've already uninstalled CF though. And amGreg Morphis 11/29/11 12:14 P So I should be able to add a site, All Unassigned IPs, port 81..Greg Morphis 11/29/11 12:12 P I just did a fresh install fall cleaning.. of my PC.. I installed IIS and ColdFusion.. however I think I installed the 32 bit version of CF as oppose to the 64 bit (I had the exe saved in my backup) Anyways I have that all sorted out.. if I hit http://localhost/index.cfm I get a CF error "file not found".. that's fine. I want to add a site so I can have several.. I added a site and binded it to port 81.. However when I hit http://localhost:81/index.cfm (which DOES exist).. I get an internal 500 error. I've been googling this morning and haven't found much help.. Here's what IIS shows Module: IsapiModule Notification: ExecuteRequestHandler Handler: AboMapperCustom-50513 Error Code: 0x800700c1 Requested URL: http://localhost:81/index.cfm Physical Path: C:\mysite\index.cfm Logon Method: Anonymous Logon User: Anonymous Thanks in advance! Did you install CF on port 8500, by chance? If it's pre 9.01, you need to have the IIS 6 compatibility mode installed (or whatever it's called), you can install this by going to programs and look for Windows Features.. The easy way is to uninstall what you have, download CF 9,01 and install in IIS 7. ----- Excess quoted text cut - see Original Post for more ----- When I installed it I told it to use IIS but I do have IIS 6 compatibility installed. I may uninstall CF 9 and reinstall it making sure I use the 64 bit version. Any other things I can look for? ----- Excess quoted text cut - see Original Post for more ----- do you have IIS pointing at port 81? ----- Excess quoted text cut - see Original Post for more ----- I have the site bound to port 81.. And I get an IIS error message when I hit http://localhost:81/ but I don't get an error message when I hit http://localhost:80/ ----- Excess quoted text cut - see Original Post for more ----- if it works fine on port 80 then why not just stick to using port 80 ? You do not need to use a different port for each site, you just need to make sure each site has a different host header. ----- Excess quoted text cut - see Original Post for more ----- That'll work Russ but I'm not familiar with doing that, can you point me to a tutorial or something? How would the site be reached? Thanks ----- Excess quoted text cut - see Original Post for more ----- > That'll work Russ but I'm not familiar with doing that, can you point > me to a tutorial or something? How would the site be reached? > > Thanks > > download 64Bit, I just went through re-install a couple days ago and it works fine. open c:\windows\system32\drivers\etc\hosts file in notepad, you will need to run notepad as administrator on windows vista or windows 7 or you wont be able to save the file. at the bottom of the file just enter your desired host headers pointing at localhost, I tend to use a dev. sub-domain of the real/live domain for consistency, but you can use whatever you like e.g. 127.0.0.1 dev.mydomain1.com 127.0.0.1 dev.mydomain2.com then set the same host header in IIS for the site russ ----- Excess quoted text cut - see Original Post for more ----- That's pretty simple.. I've already uninstalled CF though. And am installing the 64 bit version. I'll attempt this is I can't get it working. I do appreciate all of your help ----- Excess quoted text cut - see Original Post for more ----- So I should be able to add a site, All Unassigned IPs, port 81.. DefaultAppPool and be able to access it by http://localhost:81/ Right? Thanks! ----- Excess quoted text cut - see Original Post for more ----- The error code is 0x800700c1 which literally means: "The file is not a valid Win32 application". That happens when you mismatch the bitness of a dll in a process. Since you're using 32-bit CF, change the application pool type to 32-bit and it should work. ----- Excess quoted text cut - see Original Post for more -----
|
June 19, 2013
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||