Skip to main content
Participating Frequently
June 20, 2011
Question

Cant get coldfusion 9 running on windows 7; Server error 500.0

  • June 20, 2011
  • 1 reply
  • 10208 views

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

    This topic has been closed for replies.

    1 reply

    Brainiac
    June 20, 2011

    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.

    Yanta0205Author
    Participating Frequently
    June 21, 2011

    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

    Yanta0205Author
    Participating Frequently
    June 21, 2011

    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.