Tuesday, March 1, 2011

CFSTAT kills my ColdFusion 8 on Win2008R2

Enabling CFSTAT on ColdFusion 8.01 running on Win2008R2 crashed my ColdFusion ...

I'm talking about this:

I'm trying to figure out why is it that CFDOCUMENT with images, crashes my ColdFusion whenever the image is in a directory for wich the IIS has Integrated Authentication... but that's another story.

In the process of figuring that one out, I tried enabling CFSTAT to get more information on my problem.  My server simply crashed just I clicked the SAVE button.

This post on Adobe forums says:


Turning on CFSTAT in the admin is what killed my server.
Just FYI... I'm using 64-bit Vista with my CF8 installation. 
and the solution to this problem is:

Edit the neo-metric configuration file
c:\ColdFusion8\lib\neo-metric.xml
(This file doesn't contain any formatting, so its best to open it with Dreamweaver or some other editor that will format the file to make it easier to read)  
Delete the following code:
<var name="cfstat">
<string>true</string> </var>  
...which should be located somewhere inside the coldfusion.server.ConfigMap struct.  
<wddxpacket version="1.0">
</wddxpacket>



<header>
<data>
<struct type="coldfusion.server.ConfigMap">
<var name="cfstat">
<string>true</string> </var></struct></data></header>
The problem is not related to x64 windows, as I have a Win2003 x64 server where this setting is enabled with no problem.  I believe the problem is more related to IIS7 ...  any comments ?