Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Problem setting up ColdFusion on Windows 7 and IIS

New Here ,
Aug 17, 2012 Aug 17, 2012

Using Windows 7 version 6.1 Build 7601 Service Pack 1 on a Dell N5110 Laptop running an Intel Core i5-2430M CPU @ 2.4 GHz and 6 GB RAM, 64-bit OS.

Under Control Panel > Programs > Turn Windows Features On and Off > Internet Information Services I have turned on all the features and subfeatures EXCEPT for FTP Server.  Internet Information Services Hostable Web Core is also turned ON though it's unclear whether it's necessary or not.

Installed ColdFusion version 10 after enabling IIS as described above.

Used instructions at http://learn.iis.net/page.aspx/266/troubleshooting-failed-requests-using-tracing-in-iis/ to set up and test tracing, working around all the ambiguities and errors there until tracing actually worked as described for a 404.2 error on a .asp file. THEN reset the trace to work on all 500 errors for ISAPI Extension and WWW Server. 

Ran the Web Server Configuration Tool for ColdFusion as described at http://help.adobe.com/en_US/ColdFusion/10.0/Installing/WSc3ff6d0ea77859461172e0811cdec18a15-7ffb.htm... to configure IIS for ColdFusion in Windows. Then these parts of the configuration were possible to verify at C:\ColdFusion10\config\wsconfig :

Verify your IIS configuration

  1. Verify that the following folder was created: cf_root/config/wsconfig/number.
  2. To set the <samp class="codeph">connectionpooltimeout</samp> and <samp class="codeph">reuseconnectioncount</samp> click on Advanced Setting tab. The option to enable buffering and verbose debugging is available on the same page.

Configuring IIS:

  • Creates a folder <samp class="codeph">1</samp> in <samp class="codeph">cfroot\config\wsconfig</samp>, that contains all connector-related files. 
  • Creates a virtual directory <samp class="codeph">Jakarta</samp> in <samp class="codeph">cfroot\config\wsconfig</samp> (in IIS). 
  • Adds an entry, <samp class="codeph">tomcat</samp>, under the<samp class="codeph"> ISAPI FILTERS</samp>. This points to <samp class="codeph">cfroot\config\wsconfig\1\isapi_redirect.dll</samp>.

Some of the parts of the verification process were skipped, for the reasons described :

  • Adds an entry, <samp class="codeph">tomcat</samp>, to  <samp class="codeph">cfroot\config\wsconfig\1\isapi_redirect.dll</samp> with permission <samp class="codeph">allowed</samp> under ISAPI and CGI Restrictions. It is applicable for global sites in IIS manager.

No kind of 'entry' is possible for the specified .dll at that location under its Properties, nor can permissions be allowed under Properties for anything remotely resembling 'ISAPI and CGI Restrictions'.  There is nothing resembling "Global Sites" in IIS manager either where this information might be found.

  • Adds the following <samp class="codeph">isapi</samp> handlers: <samp class="codeph">cfcHandler</samp>, <samp class="codeph">cfmHandler</samp>, <samp class="codeph">cfmlHandler</samp>, <samp class="codeph">cfrHandler</samp>, and <samp class="codeph">cfswfHandler</samp>.

The logical place for these "handlers" would be in IIS but there is no description provided for where they might be found and searching around provides no clues so this is impossible to verify as well.

  • For debugging issues, set the log level to <samp class="codeph">debug</samp>, in the <samp class="codeph">isapi_redirect.properties</samp> file present in the <samp class="codeph">cfroot\config\wsconfig\1\ </samp>directory.

This was done and these are the contents of that file:

extension_uri= /jakarta/isapi_redirect.dll
log_file= C:\ColdFusion10\config\wsconfig\1\isapi_redirect.log
log_level= debug
worker_file= C:\ColdFusion10\config\wsconfig\1\workers.properties
worker_mount_file= C:\ColdFusion10\config\wsconfig\1\uriworkermap.properties
iis_buffer_enable= true

  • To disable webserver buffer, change the <samp class="codeph">is_buffer_enable</samp> to <samp class="codeph">false</samp> in the <samp class="codeph">cfroot\config\wsconfig\1\isapi_redirect.properties</samp> file. Disable webserver buffer if you want <samp class="codeph">cfflush</samp> to work over an IIS connector. If your application does not use <samp class="codeph">cfflush</samp>, set it to <samp class="codeph">true</samp> for increase in the performance.

This was left on 'true' as shown in the file contents above.

THIS IS THE ERROR NOW OBTAINED at http://127.0.0.1/CFIDE/administrator/index.cfm:

Server Error in Application "DEFAULT WEB SITE"

Internet Information Services 7.5

<fieldset><legend>Error Summary</legend>

HTTP Error 500.0 - Internal Server Error

The page cannot be displayed because an internal server error has occurred.

</fieldset>

<fieldset><legend>Detailed Error Information</legend>

ModuleIsapiModule
NotificationExecuteRequestHandler
HandlercfmHandler
Error Code0x800700c1

Requested URLhttp://127.0.0.1:80/CFIDE/administrator/index.cfm
Physical PathC:\ColdFusion10\cfusion\wwwroot\CFIDE\administrator\index.cfm
Logon MethodAnonymous
Logon UserAnonymous
Failed Request Tracing Log Directory
C:\inetpub\logs\FailedReqLogFiles

</fieldset>

The supplied path C:\inetpub\logs\FailedReqLogFiles is a nonresponsive link but there are .xml files created in that subdirectory such as C:\inetpub\logs\FailedReqLogFiles\W3SVC1\fr000015.xml which contains this information:

Request Diagnostics for http://127.0.0.1:80/CFIDE/administrator/index.cfm

STATUS_CODE 500, 46 ms, GET (2012-8-16, 16:59:5:778)

<fieldset>

<legend>-Request Summary</legend>

Site1
Process8472
Failure ReasonSTATUS_CODE
Trigger Status500
Final Status500
Time Taken46 msec
Urlhttp://127.0.0.1:80/CFIDE/administrator/index.cfm
App PoolDefaultAppPool
Authenticationanonymous
User from tokenNT AUTHORITY\IUSR
Activity ID{00000000-0000-0000-6F00-0080000000FB}

</fieldset>

No.
EventNameDetailsTime
1.iGENERAL_REQUEST_START
SiteId="1", AppPoolId="DefaultAppPool", ConnId="1610612845", RawConnId="0", RequestURL="http://127.0.0.1:80/CFIDE/administrator/index.cfm", RequestVerb="GET"
16:59:05.778
2.—GENERAL_SET_REQUEST_HEADER
HeaderName="AspFilterSessionId", HeaderValue="", Replace="true"
16:59:05.778
3.iGENERAL_ENDPOINT_INFORMATION
RemoteAddress="127.0.0.1", RemotePort="50289", LocalAddress="127.0.0.1", LocalPort="80"
16:59:05.778
4.iGENERAL_REQUEST_HEADERS
Headers="Cache-Control: max-age=0 Connection: keep-alive Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Encoding: gzip, deflate Accept-Language: en-us,en;q=0.5 Host: 127.0.0.1 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0.1 DNT: 1 "
16:59:05.778
5.iGENERAL_GET_URL_METADATA
PhysicalPath="", AccessPerms="517"
16:59:05.778
6.iHANDLER_CHANGED
OldHandlerName="", NewHandlerName="cfmHandler", NewHandlerModules="IsapiModule", NewHandlerScriptProcessor="C:\ColdFusion10\config\wsconfig\1\isapi_redirect.dll", NewHandlerType=""
16:59:05.778
7.iUSER_SET
AuthType="", UserName="", SupportsIsInRole="true"
16:59:05.778
8.iGENERAL_SEND_CUSTOM_ERROR
HttpStatus="500", HttpSubStatus="0", FileNameOrURL="500.htm"
16:59:05.824
9.iGENERAL_FLUSH_RESPONSE_START
16:59:05.824
10.iGENERAL_RESPONSE_HEADERS
Headers="Cache-Control: private Content-Type: text/html; charset=utf-8 Server: Microsoft-IIS/7.5 X-Powered-By: ASP.NET "
16:59:05.824
11.—GENERAL_RESPONSE_ENTITY_BUFFER
Buffer="<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>IIS 7.5 Detailed Error - 500.0 - Internal Server Error</title> <style type="text/css"> <!-- body{margin:0;font-size:.7em;font-family:Verdana,Arial,Helvetica,sans-serif;background:#CBE1EF;} code{margin:0;color:#006600;font-size:1.1em;font-weight:bold;} .config_source code{font-size:.8em;color:#000000;} pre{margin:0;font-size:1.4em;word-wrap:break-word;} ul,ol{margin:10px 0 10px 40px;} ul.first,ol.first{margin-} fieldset{padding:0 15px 10px 15px;} .summary-container fieldset{padding-bottom:5px;margin-} legend.no-expand-all{padding:2px 15px 4px 10px;margin:0 0 0 -12px;} legend{color:#333333;padding:4px 15px 4px 10px;margin:4px 0 8px -12px;_margin- border-border-border-right:1px solid #969696; border-bottom:1px solid #969696;background:#E7ECF0;font-weight:bold;font-size:1em;} a:link,a:visited{color:#007EFF;font-weight:bold;} a:hover{text-decoration:none;} h1{font-size:2.4em;margin:0;color:#FFF;} h2{font-size:1.7em;margin:0;color:#CC0000;} h3{font-size:1.4em;margin:10px 0 0 0;color:#CC0000;} h4{font-size:1.2em;margin:10px 0 5px 0; }#header{width:96%;margin:0 0 0 0;padding:6px 2% 6px 2%;font-family:"trebuchet MS",Verdana,sans-serif; color:#FFF;background-color:#5C87B2; }#content{margin:0 0 0 2%;} .summary-container,.content-container{background:#FFF;width:96%;margin-padding:10px;} .config_source{background:#fff5c4;} .content-container p{margin:0 0 10px 0; }#details-left{width:35%;float:left;margin-right:2%; }#details-right{width:63%;float:left; }#server_version{width:96%;_height:1px;min-height:1px;margin:0 0 5px 0;padding:11px 2% 8px 2%;color:#FFFFFF; background-color:#5A7FA5;border-bottom:1px solid #C1CFDD;border-font-weight:normal; font-size:1em;color:#FFF;text-align:right; }#server_version p{margin:5px 0;} table{margin:4px 0 4px 0;width:100%;border:none;} td,th{vertical-align:top;padding:3px 0;text-align:left;font-weight:bold;border:none;} th{width:30%;text-align:right;padding-right:2%;font-weight:normal;} thead th{background-color:#ebebeb;width:25%; }#details-right th{width:20%;} table tr.alt td,table tr.alt th{background-color:#ebebeb;} .highlight-code{color:#CC0000;font-weight:bold;font-style:italic;} .clear{clear:both;} .preferred{padding:0 5px 2px 5px;font-weight:normal;background:#006633;color:#FFF;font-size:.8em;} --> </style>  </head> <body> <div id="header"><h1>Server Error in Application "DEFAULT WEB SITE"</h1></div> <div id="server_version"><p>Internet Information Services 7.5</p></div> <div id="content"> <div class="content-container"> <fieldset><legend>Error Summary</legend> <h2>HTTP Error 500.0 - Internal Server Error</h2> <h3>The page cannot be displayed because an internal server error has occurred.</h3> </fieldset> </div> <div class="content-container"> <fieldset><legend>Detailed Error Information</legend> <div id="details-left"> <table border="0" cellpadding="0" cellspacing="0"> <tr class="alt"><th>Module</th><td>IsapiModule</td></tr> <tr><th>Notification</th><td>ExecuteRequestHandler</td></tr> <tr class="alt"><th>Handler</th><td>cfmHandler</td></tr> <tr><th>Error Code</th><td>0x800700c1</td></tr>  </table> </div> <div id="details-right"> <table border="0" cellpadding="0" cellspacing="0"> <tr class="alt"><th>Requested URL</th><td>http://127.0.0.1:80/CFIDE/administrator/index.cfm</td></tr> <tr><th>Physical Path</th><td>C:\ColdFusion10\cfusion\wwwroot\CFIDE\administrator\index.cfm</td></tr> <tr class="alt"><th>Logon Method</th><td>Anonymous</td></tr> <tr><th>Logon User</th><td>Anonymous</td></tr> <tr class="alt"><th>Failed Request Tracing Log Directory</th><td><a href="file://C:\inetpub\logs\FailedReqLogFiles">C:\inetpub\logs\FailedReqLogFiles</a></td></tr> </table> <div class="clear"></div> </div> </fieldset> </div> <div class="content-container"> <fieldset><legend>Most likely causes:</legend> <ul> %09<li>IIS received the request; however, an internal error occurred during the processing of the request. The root cause of this error depends on which module handles the request and what was happening in the worker process when this error occurred.</li> %09<li>IIS was not able to access the web.config file for the Web site or application. This can occur if the NTFS permissions are set incorrectly.</li> %09<li>IIS was not able to process configuration for the Web site or application.</li> %09<li>The authenticated user does not have permission to use this DLL.</li> %09<li>The request is mapped to a managed handler but the .NET Extensibility Feature is not installed.</li> </ul> </fieldset> </div> <div class="content-container"> <fieldset><legend>Things you can try:</legend> <ul> %09<li>Ensure that the NTFS permissions for the web.config file are correct and allow access to the Web server's machine account.</li> %09<li>Check the event logs to see if any additional information was logged.</li> %09<li>Verify the permissions for the DLL.</li> %09<li>Install the .NET Extensibility feature if the request is mapped to a managed handler.</li> %09<li>Create a tracing rule to track failed requests for this HTTP status code. For more information about creating a tracing rule for failed requests, click <a href="http://go.microsoft.com/fwlink/?LinkID=66439">here</a>. </li> </ul> </fieldset> </div>   <div class="content-container"> <fieldset><legend>Links and More Information</legend> This error means that there was a problem while processing the request. The request was received by the Web server, but during processing a fatal error occurred, causing the 500 error. <p><a href="http://go.microsoft.com/fwlink/?LinkID=62293&IIS70Error=500,0,0x800700c1,7601">View more information &raquo;</a></p> <p>Microsoft Knowledge Base Articles:</p> <ul><li>294807</li></ul>  </fieldset>  </div> </div> </body> </html> "
16:59:05.824
12.iGENERAL_FLUSH_RESPONSE_END
BytesSent="6414", ErrorCode="The operation completed successfully. (0x0)"
16:59:05.824
13.iGENERAL_REQUEST_END
BytesSent="6414", BytesReceived="348", HttpStatus="500", HttpSubStatus="0"
16:59:05.824

+Expand All

<fieldset>

<legend>Errors & Warnings</legend>

</fieldset>

There is nothing under Errors & Warnings.  Dead Stop.  Nothing Else To Do except Ask For Help.  Hoping someone here can provide some guidance.

TIA

TOPICS
Getting started
7.8K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Aug 23, 2012 Aug 23, 2012
LATEST

Hi

Can you please try setting up full persmission in the security properties for everyone on the wsconfig folder C:\ColdFusion10\config\wsconfig  and restart ColdFusion Server.

Swaraj

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources