Copy link to clipboard
Copied
Hi,
I used to run WIndows XP SP3 with Coldfusion MX 7. All x86. Worked fine.
Recently I was looking at WHS 2011 or SBS 2011 but they really had nothing to offer. So I opted to upgrade my server to Win 7 Ult x64. This is because I want to take advantage of more memory.
I was told CF MX 7 would not work on 7, and CF 8 and beyond were much better performers.
I have a dozen PCs connecting to the server.
When I install IIS 7.5 it works fine. I can serve pages no problems.
I move the inetpub folder off the C: drive. The drive used is currently R:, so R:\inetpub\wwwroot. This works fine with IIS 7.5.
However, as soon as I install CF 9 x86 it all falls apart. I was originally getting 404.3 errors, but I somehow managed to fix (or break?) that. Now, as soon as I install CF9 I get 500.0 errors.
I made sure that I pointed it to the R:\inetpub\wwwroot folder.
Cannot serve an html page let alone a cfm page.
I cannot access the CF administrator.
So I installed update 1. Same problem.
I had installed IIS 7.5 with ISAPI filters and CGI and IIS 6 metabase compatability. I also tried various combinations of ASP, ASP.NET, .NET extensibility and so on. Nothing I've tried works.
Whilst the server is x64 I installed the x86 versions of the trial copies of CF9 and the update.
I checked the handlers and the CF extensions are present.
Can someone please help.
thanks
Tanya
Copy link to clipboard
Copied
Hi Tanya,
To run JRun4 & ColdFusion (32-bit version) on a 64-bit Windows machine with IIS you will have to switch IIS to run in 32-bit mode because of the JRun connectors. Here is how you switch from 64-bit to mode to 32-bit mode and back again:
To switch IIS from running in 64-bit mode to 32-bit mode, execute the following command from C:\Inetpub\AdminScripts directory: (this might be on your R drive now?)
cscript.exe adsutil.vbs set W3SVC/AppPools/Enable32BitAppOnWin64 true
To switch IIS from running in 32-bit mode to 64-bit mode, execute the following command from C:\Inetpub\AdminScripts directory:
cscript.exe adsutil.vbs set W3SVC/AppPools/Enable32BitAppOnWin64 false
The other thing you could do is uninstall CF9 32-bit and install CF9 64-bit.
HTH, Carl.
Copy link to clipboard
Copied
Hi Carl,
thanks for your response.
There is no AdminScripts folder in my inetpub folder.
There is only custerr, history, logs, wwwroot and temp.
I left the original inetpub on C:\ drive so I could check the setup on my R:\inetpub folder. There is no AdminScripts in there either.
I had a read of this post http://forums.adobe.com/message/2988299#2988299 as the symptoms seemed the same, but I also dont have a jrun4 folder, or a wsconfig folder. I do have a wsconfig.exe file, and it tells me to 'unconfigure' the website and remove II6 compatability.
I think I will download the x64 version and start again.
But when I do, should I leave the IIS 6 metebase compatability out of the IIS 7.5 install, on the premise that I am going to install update 1 which doesn't need it?
thanks
Tanya
Copy link to clipboard
Copied
Ok, ran system restore, reinstalled IIS7.5 with ISAPI, CGI. No IIS6 Metabase compatability. No other changes from default select
ions.
Tested ok. Can serve html pages.
Created restore point
Installed CF9 x64. Did not run http://127.0.0.1/cfide/administrator/index.cfm.. Error 404.3 - File not found
Checked hosts file... Entry 127.0.0.1 localhost is present.
Installed update 1 x64
Tried above link again, still did not work. But this time it did a redirection saying it could not identify the file extensions. So I checked handlers, and sure enough, nothing had been added. So html pages still worked.
I had a look through the connector install and the wsconfig.log. This is the log file...
# Created by JRun on 21/06 11:16:44
21/06 11:16:44 info Macromedia JRun 4.0 (Build 108795)
21/06 11:16:44 debug Created file D:\ColdFusion9\runtime\lib\wsconfig\jrunwin32.dll
21/06 11:16:45 debug Found JRun server coldfusion at 127.0.0.1:2932
21/06 11:16:49 debug Created file D:\ColdFusion9\runtime\lib\wsconfig\1\jrun_iis6_wildcard.dll
21/06 11:16:49 debug Created file D:\ColdFusion9\runtime\lib\wsconfig\jrun_iis6.dll
21/06 11:16:49 debug Registry key SYSTEM\CurrentControlSet\Services\HTTP\Parameters, value EnableCopySend already set to 1
21/06 11:16:49 debug Created file D:\ColdFusion9\runtime\lib\wsconfig\1\jrun_iis6_wildcard.ini
21/06 11:16:49 debug Created file D:\ColdFusion9\runtime\lib\wsconfig\jrun_iis6.ini
21/06 11:16:49 error Error creating IIS application extensions * for web site All (0)
jrunx.connectorinstaller.ConnectorInstallerException: Error creating IIS application extensions * for web site All (0)
at jrunx.connectorinstaller.IISInstaller.setScriptMaps(IISInstaller.java:892)
at jrunx.connectorinstaller.IISInstaller.setAllScriptMaps(IISInstaller.java:990)
at jrunx.connectorinstaller.IISInstaller.installConnector(IISInstaller.java:239)
at jrunx.connectorinstaller.ConnectorInstaller.installConnector(ConnectorInstaller.java:338)
at jrunx.connectorinstaller.ConnectorInstaller.doIt(ConnectorInstaller.java:272)
at jrunx.connectorinstaller.ConnectorInstaller.main(ConnectorInstaller.java:762)
21/06 11:28:47 info Macromedia JRun 4.0 (Build 108858)
21/06 11:28:47 debug Created file D:\ColdFusion9\runtime\lib\wsconfig\jrunwin32.dll
21/06 11:28:48 debug Created file C:\Users\Yanta\AppData\Local\Temp\\ExecuteAppCmd\ExecuteAppCmd.exe
21/06 11:28:49 debug Found JRun server coldfusion at 127.0.0.1:2932
21/06 11:28:49 debug Deleted directory D:\ColdFusion9\runtime\lib\wsconfig\1
21/06 11:28:49 debug Created file D:\ColdFusion9\runtime\lib\wsconfig\1\jrun_iis6_wildcard.dll
21/06 11:28:49 debug Created file D:\ColdFusion9\runtime\lib\wsconfig\jrun_iis6.dll
21/06 11:28:49 debug Registry key SYSTEM\CurrentControlSet\Services\HTTP\Parameters, value EnableCopySend already set to 1
21/06 11:28:49 debug Created file D:\ColdFusion9\runtime\lib\wsconfig\1\jrun_iis6_wildcard.ini
21/06 11:28:51 debug Created file D:\ColdFusion9\runtime\lib\wsconfig\1\README.txt
21/06 11:28:51 debug Wrote file D:\ColdFusion9\runtime\lib\wsconfig\wsconfig.properties
21/06 11:28:55 info Stopped "World Wide Web Publishing Service" service
21/06 11:28:56 info Started "World Wide Web Publishing Service" service
Checked permissions on r:\inetpub.. Everyone full control. Re-applied permissions for all objects and tried again. Same problems.
I am installing all this on Windows 7 x64, with an administrator type account.
Copy link to clipboard
Copied
Hi Tanya,
I don't know what is going wrong there so take my next advise as speculative. Perhaps others will have better idea.
Remove CF9
Install CF9 x64 select use "build-in webserver"
Do not open CFIDE
Run Update1 x64
Now open CFIDE eg http://127.0.0.1:8500/cfide/administrator/index.cfm Port maybe different.
If that works run WSCONFIG and add webserver configuration to IIS
Perhaps add an CFIDE virtual directory in IIS (? might not need doing)
Now open CFIDE via IIS http://127.0.0.1/cfide/administrator/index.cfm
HTH, Carl.
Copy link to clipboard
Copied
Short answer, no this didn't work.
Could not get cfide/administrator/index.cfm to load at all. Error is different tho'.. Now getting 404.3 errors.
I ran the connector install again and it successfully added the handlers, but it still wont process cfm pages. If I rename the cfm page it works fine, and just ignores the cfm code, which on the home page is fine, but I can't use any of the apps.
And after spending all this time at the server, I went upstairs to my PC and found that I cannot get a home page at all.
So I restored back to vanilla WIndows 7 install, reinstalled IIS but haven't installed CF9 yet.
I'm wondering if this is a permissions problem?
Can anyone tell me what the ACL should look like for inetpub and wwwroot (and any other relevant folders)...
Just an anstract thought. My machine name is 'server'. The binding in IIS is all unassigned, hostname=server. If I try the IP address, 192.168.1.1 it breaks IIS. Any relevance?
thanks
Copy link to clipboard
Copied
I still really need help with this. I still have not got coldfusion running.
I have got IIS working. I found an inbound rule in the advanced firewall settings that was blocking things, so this is fixed.
But I'm still having problems with CF9. It wont install the handlers. Every attempt to access a cf page results in a 404.3 extension missing error.
I cleaned out all coldfusion entries from the registry, deleted everything and restored my wwwroot from a backup, so there was no trace of CF9 on my system at all. Then tried again. Still exactly the same problem.
The only thing I haven't tried it to let everything default to the C: drive. Surely CF9 can't be that brain dead.
If that doesn't work I'll then try going back to CF MX 7. That worked fine on XP, maybe I'll get lucky.
But in the meantime, I'd really appreciate some help.
thanks
Tanya