Problem setting up ColdFusion on Windows 7 and IIS


using windows 7 version 6.1 build 7601 service pack 1 on dell n5110 laptop running intel core i5-2430m cpu @ 2.4 ghz , 6 gb ram, 64-bit os.

under control panel > programs > turn windows features on , off > internet information services have turned on features , subfeatures except ftp server.  internet information services hostable web core turned on though it's unclear whether it's necessary or not.

installed coldfusion version 10 after enabling iis described above.

used instructions @ http://learn.iis.net/page.aspx/266/troubleshooting-failed-requests-using-tracing-in-iis/ set , test tracing, working around ambiguities , errors there until tracing worked described 404.2 error on .asp file. reset trace work on 500 errors isapi extension , www server. 

ran web server configuration tool coldfusion described @ http://help.adobe.com/en_us/coldfusion/10.0/installing/wsc3ff6d0ea77859461172e0811cdec18a1 5-7ffb.html configure iis coldfusion in windows. these parts of configuration possible verify @ c:\coldfusion10\config\wsconfig :

verify iis configuration

  1. verify following folder created: cf_root/config/wsconfig/number.
  2. set <samp class="codeph">connectionpooltimeout</samp> , <samp class="codeph">reuseconnectioncount</samp> click on advanced setting tab. option enable buffering , verbose debugging available on same page.

configuring iis:

  • creates folder <samp class="codeph">1</samp> in <samp class="codeph">cfroot\config\wsconfig</samp>, contains connector-related files. 
  • creates virtual directory <samp class="codeph">jakarta</samp> in <samp class="codeph">cfroot\config\wsconfig</samp> (in iis). 
  • adds entry, <samp class="codeph">tomcat</samp>, under the<samp class="codeph"> isapi filters</samp>. points <samp class="codeph">cfroot\config\wsconfig\1\isapi_redirect.dll</samp>.

 

some of parts of verification process skipped, reasons described :

  • adds entry, <samp class="codeph">tomcat</samp>, to  <samp class="codeph">cfroot\config\wsconfig\1\isapi_redirect.dll</samp> permission <samp class="codeph">allowed</samp> under isapi , cgi restrictions. applicable global sites in iis manager.

no kind of 'entry' possible specified .dll @ location under properties, nor can permissions allowed under properties remotely resembling 'isapi , cgi restrictions'.  there nothing resembling "global sites" in iis manager either information might found.

  • adds 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>, , <samp class="codeph">cfswfhandler</samp>.

the logical place these "handlers" in iis there no description provided might found , searching around provides no clues impossible verify well.

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

this done , these contents of 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

  • disable webserver buffer, change <samp class="codeph">is_buffer_enable</samp> <samp class="codeph">false</samp> in <samp class="codeph">cfroot\config\wsconfig\1\isapi_redirect.properties</samp> file. disable webserver buffer if want <samp class="codeph">cfflush</samp> work on iis connector. if application not use <samp class="codeph">cfflush</samp>, set <samp class="codeph">true</samp> increase in performance.

this left on 'true' shown in file contents above.

 

this error obtained @ 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 displayed because 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 nonresponsive link but there .xml files created in subdirectory such c:\inetpub\logs\failedreqlogfiles\w3svc1\fr000015.xml contains information:

request diagnostics http://127.0.0.1:80/cfide/administrator/index.cfm

status_code 500, 46 ms, (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 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 displayed because 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 causes:</legend> <ul> %09<li>iis received request; however, internal error occurred during processing of request. root cause of error depends on module handles request , happening in worker process when error occurred.</li> %09<li>iis not able access web.config file web site or application. can occur if ntfs permissions set incorrectly.</li> %09<li>iis not able process configuration web site or application.</li> %09<li>the authenticated user not have permission use dll.</li> %09<li>the request mapped managed handler .net extensibility feature not installed.</li> </ul> </fieldset> </div> <div class="content-container"> <fieldset><legend>things can try:</legend> <ul> %09<li>ensure ntfs permissions web.config file correct , allow access web server's machine account.</li> %09<li>check event logs see if additional information logged.</li> %09<li>verify permissions dll.</li> %09<li>install .net extensibility feature if request mapped managed handler.</li> %09<li>create tracing rule track failed requests http status code. more information creating tracing rule 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 , more information</legend> error means there problem while processing request. request received web server, during processing fatal error occurred, causing 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 nothing under errors & warnings.  dead stop.  nothing else except ask help.  hoping here can provide guidance.

tia

hi

 

can please try setting full persmission in security properties everyone on wsconfig folder c:\coldfusion10\config\wsconfig  , restart coldfusion server.

 

swaraj



More discussions in Getting Started


adobe

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support