<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="https://shazwazza.com/rss/xslt"?>
<rss xmlns:a10="http://www.w3.org/2005/Atom" version="2.0">
  <channel>
    <title>Shazwazza</title>
    <link>https://shazwazza.com/</link>
    <description>My blog which is pretty much just all about coding</description>
    <generator>Articulate, blogging built on Umbraco</generator>
    <image>
      <url>/media/0libq25y/frog.png?rmode=max&amp;v=1da0e911f4e6890</url>
      <title>Shazwazza</title>
      <link>https://shazwazza.com/</link>
    </image>
    <item>
      <guid isPermaLink="false">1267</guid>
      <link>https://shazwazza.com/post/guide-to-installing-cold-fusion-8-on-windows-server-2008-iis-7-64-bit/</link>
      <category>etc...</category>
      <category>Hosting</category>
      <category>Servers</category>
      <title>Guide to installing Cold Fusion 8 on Windows Server 2008 (IIS 7) 64 bit</title>
      <description>&lt;div class="imported-post"&gt;This post was imported from FARMCode.org which has been discontinued. These posts now exist here as an archive. They may contain broken links and images.&lt;/div&gt;
After a lot of trial and error i finally figured out how to get CF 8 running in on Windows Server 2008 x64 in IIS 7. So i figured I&amp;rsquo;d write a post about it since there&amp;rsquo;s pretty much no documentation covering this that i could find.
&lt;/p&gt;
&lt;h2&gt;Installation&lt;/h2&gt;  
&lt;ul&gt;
	&lt;li&gt;Take a backup of IIS      
	&lt;ul&gt;
		&lt;li&gt;C:\Windows\System32\Inetsrv\AppCmd add backup &amp;quot;backupname&amp;quot; &lt;/li&gt;     
	&lt;/ul&gt;
	&lt;/li&gt;    
	&lt;li&gt;Install CF 8 Enterprise      
	&lt;ul&gt;
		&lt;li&gt;Select Multiserver &lt;/li&gt;        
		&lt;li&gt;Keep default paths &lt;/li&gt;        
		&lt;li&gt;DO NOT attempt to configure anything for ColdFusion until the update is applied &lt;/li&gt;     
	&lt;/ul&gt;
	&lt;/li&gt;    
	&lt;li&gt;Install CF 8.1 Update      
	&lt;ul&gt;
		&lt;li&gt;Configure for Multiserver &lt;/li&gt;     
	&lt;/ul&gt;
	&lt;/li&gt; 
&lt;/ul&gt;
&lt;h2&gt;Web Site/Server Configuration&lt;/h2&gt;  
&lt;ul&gt;
	&lt;li&gt;Give the IIS users/groups (IUSR, IIS_IUSRS) full control over your JRun install folder (C:\JRun4\lib\wsconfig)      
	&lt;ul&gt;
		&lt;li&gt;After looking at the logs, it seems that the configuration tool is trying to set IIS_WPG permissions on this folder which is for Server 2003, not 2008 &lt;/li&gt;     
	&lt;/ul&gt;
	&lt;/li&gt;    
	&lt;li&gt;Create a new application pool called ColdFusion      
	&lt;ul&gt;
		&lt;li&gt;Under advanced settings, enable running in 32 bit mode and make Managed Pipeline mode Classic instead of Integrated &lt;/li&gt;        
		&lt;li&gt;CF will not run without 32 bit and Classic enabled (according to my experience so far) &lt;/li&gt;     
	&lt;/ul&gt;
	&lt;/li&gt;    
	&lt;li&gt;Create a new website and ensure it is assigned to the ColdFusion application pool      
	&lt;ul&gt;
		&lt;li&gt;For testing, create a website pointed to your default CFIDE install folder &lt;/li&gt;     
	&lt;/ul&gt;
	&lt;/li&gt;    
	&lt;li&gt;Launch the Web Server Configuration Tool from Start Menu      
	&lt;ul&gt;
		&lt;li&gt;Click Add &lt;/li&gt;        
		&lt;li&gt;Select &amp;quot;coldfusion&amp;quot; from the JRun Server drop down list (not &amp;quot;admin&amp;quot;) &lt;/li&gt;        
		&lt;li&gt;Ensure the Web Server has IIS selected &lt;/li&gt;        
		&lt;li&gt;Select the website you just created from the IIS Web Site drop down list (Do not check All, or be prepared to restore IIS if your running other .Net apps!) &lt;/li&gt;        
		&lt;li&gt;Check &amp;quot;Configure web server for ColdFusion 8 application&amp;quot; &lt;/li&gt;        
		&lt;li&gt;Click Advanced...          
		&lt;ul&gt;
			&lt;li&gt;Check Enable verbose logging for connector if you want details log requests for debugging &lt;/li&gt;         
		&lt;/ul&gt;
		&lt;/li&gt;        
		&lt;li&gt;Save changes and click yes to restart the web server (this will restart IIS!!!) &lt;/li&gt;     
	&lt;/ul&gt;
	&lt;/li&gt; 
&lt;/ul&gt;
&lt;h2&gt;Testing&lt;/h2&gt;  
&lt;ul&gt;
	&lt;li&gt;If you configured a test site to point to your CFIDE folder, go to the website in your browser to the /install.cfm path      
	&lt;ul&gt;
		&lt;li&gt;This should show you a Congratulations screen &lt;/li&gt;     
	&lt;/ul&gt;
	&lt;/li&gt;    
	&lt;li&gt;If you configured your site with your own CF files, test those instead &lt;/li&gt; 
&lt;/ul&gt;
&lt;h2&gt;Debugging&lt;/h2&gt;  
&lt;ul&gt;
	&lt;li&gt;After some trial and error, i figured out the above procedure, but there are logs to refer to. &lt;/li&gt;    
	&lt;li&gt;the CF web site config tool creates web site configuration structures at this location:      
	&lt;ul&gt;
		&lt;li&gt;\Run4\lib\wsconfig\(some number) &lt;/li&gt;        
		&lt;li&gt;Each (some number) corresponds to a different website configured with the tool &lt;/li&gt;        
		&lt;li&gt;In each folder is a LogFiles folder that contains logs that you can use to debug the installation &lt;/li&gt;     
	&lt;/ul&gt;
	&lt;/li&gt;    
	&lt;li&gt;There&amp;#39;s also a log file at: \Run4\lib\wsconfig\wsconfig.log &lt;/li&gt; 
&lt;/ul&gt;
&lt;h2&gt;Un-configuring a site&lt;/h2&gt;  
&lt;ul&gt;
	&lt;li&gt;If a site needs to be un-configured or re-configured, the web configuration tool seem to always fail when trying to remove a site. &lt;/li&gt;    
	&lt;li&gt;To remove a site manually:      
	&lt;ul&gt;
		&lt;li&gt;Stop the website in IIS &lt;/li&gt;        
		&lt;li&gt;Stop the CF server and CF admin services in the Services administration tools &lt;/li&gt;        
		&lt;li&gt;Delete the folder: \Run4\lib\wsconfig\(some number)          
		&lt;ul&gt;
			&lt;li&gt;where (some number) corresponds to the site you want to remove &lt;/li&gt;         
		&lt;/ul&gt;
		&lt;/li&gt;        
		&lt;li&gt;edit the \Run4\lib\wsconfig\wsconfig.properties file and remove the lines referring to the number (some number) of the site folder that you deleted in the previous step &lt;/li&gt;        
		&lt;li&gt;Start the CF admin and CF server services &lt;/li&gt;        
		&lt;li&gt;Run the web configuration tool and re-add the site you want configured &lt;/li&gt;        
		&lt;li&gt;Start the site in IIS &lt;/li&gt;     
	&lt;/ul&gt;
	&lt;/li&gt; 
&lt;/ul&gt;</description>
      <pubDate>Thu, 23 Mar 2023 15:08:14 Z</pubDate>
      <a10:updated>2023-03-23T15:08:14Z</a10:updated>
    </item>
  </channel>
</rss>