Share via


HTTP Error 500.0 Error Code 0x00000000

Question

Wednesday, May 27, 2009 6:02 PM

Hi, new to IIS here and I am trying to move my website from apache to IIS 7.0, and i have followed a lot of great posts on IIS to install successfully IIS7.0, php via fast CGI and mysql and phpmyadmin app as well.  all are working correctly. my server OS is window server 2008 and the apache is on a remote linux machine running plesk.

http://localhost/    <- display correctly

http://localhost/phpinfo.php       <- display the PHP info

http://localhost/phpmyadmin/    <- display the phpmyadmin login page and i have transfer the database content from the linux machine to window server machine with sql dump and import functions.

I copy the php & other files content from "root/var/www/vhosts/testsite.com" on linux to d:\inetpub\wwwroot\testsite on win server.  The contents include following folders: bin, class, config, controllers, httpdocs, include, language, models, views.  Inside the httpdocs folder, the index.php files reads

 <?php
include("../include/startup.php");
?>

 In IIS manager, I convert testsite to an application and covert httpdocs folder to an application and I give network service this permission read/write/modify/list on the testsite folder.

when i try to access this URL http://localhost/shars/httpdocs/, I receive the following error.

 

<fieldset>

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>

Module FastCgiModule
Notification ExecuteRequestHandler
Handler PHP_via_FastCGI
Error Code 0x00000000
Requested URL http://localhost/shars/httpdocs/index.php
Physical Path D:\inetpub\wwwroot\testsite\httpdocs\index.php
Logon Method Anonymous
Logon User Anonymous
Failed Request Tracing Log Directory D:\inetpub\logs\FailedReqLogFiles

</fieldset>

<fieldset><legend>Most likely causes:</legend>

  • 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.
  • 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.
  • IIS was not able to process configuration for the Web site or application.
  • The authenticated user does not have permission to use this DLL.
  • The request is mapped to a managed handler but the .NET Extensibility Feature is not installed.

</fieldset>

 I read some forum post and add the trace error capability of IIS and here is my xml file fr000007 in D:\inetpub\logs\FailedReqLogFiles.  someone's help on point me to the cause on this error is much appreciated.  and I am not sure if I move the folders to the right place inside the wwwroot folder.

 <title>http://localhost:80/shars/httpdocs/, STATUS_CODE 200, 156 ms, GET (2009-5-27, 23:55:38:526)</title><!-- saved from url=(0014)about:internet --><style type="text/css"> /*~* HTML TAGS ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/ body.iistraceinfo { margin:0; padding:0; font-size:.7em; font-family:Verdana, Arial, Helvetica, sans-serif; background:#CBE1EF; } fieldset { padding:0 15px 15px 15px; margin:8px; position:relative; } .summary-container fieldset { padding-bottom:5px; margin-top:4px; } fieldset fieldset { padding:4px 4px 4px 10px; margin:10px 0; } legend { color:#333333; padding:10px 20px 10px 9.5em; margin:0 0 5px 0; } legend.no-expand-all { padding:2px 15px 4px 10px; margin:0 0 0 -12px; } .summary-container legend { color:#333333; padding:4px 15px 4px 10px; margin:4px 0 0 -12px; _margin-top:0px; /* IE 6 will read this only */ border-top:1px solid #EDEDED; border-left:1px solid #EDEDED; border-right:1px solid #969696; border-bottom:1px solid #969696; background:#E7ECF0; font-weight:bold; font-size:1em; filter: progid:DXImageTransform.Microsoft.Shadow(direction=135,color=#CCCCCC,strength=3) progid:DXImageTransform.Microsoft.Gradient(gradientType=0,startColorStr=#FFFFFF,endColorStr=#E2E8ED); } /*~* HEADINGS ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/ h4 { font-size:1.9em; margin:0; word-wrap:break-word; } h4 { font-size:1.1em; margin:0 0 0 0; display:inline; } .summary-container h4 { margin-bottom:-17px; } /*~* LINKS ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/ a:link, a:visited { color:#007EFF; font-weight:bold; } a:hover { text-decoration:none; } a .expand-collapse { text-decoration:none; } /*~* HEADER ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/ #header { width:95%; margin:0 0 0 0; padding:6px 2% 6px 3%; font-family:"trebuchet MS", Verdana, sans-serif; color:#FFF; background-color:#5C87B2; filter:progid:DXImageTransform.Microsoft.ShadowX(direction=180,color=#27275C,strength=5) progid:DXImageTransform.Microsoft.Gradient(gradientType=0,startColorStr=#5C87B2,endColorStr=#7096BB); text-align:right; } #header p { margin:1px 0 1px 0; padding:0; font-size:1.2em; font-weight:bold; } #header a { color:#F1F7FC; } /*~* MENU ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/ #menu_container, #sub_menu_container { width:98%; _height:44px; min-height:44px; margin:0 0 5px 0; padding:8px 0 0 2%; color:#FFFFFF; background-color:#5A7FA5; border-bottom:1px solid #C1CFDD; border-top:1px solid #4A6C8E; filter:progid:DXImageTransform.Microsoft.Shadow(direction=180,color=#27275C,strength=4) progid:DXImageTransform.Microsoft.Gradient(gradientType=0,startColorStr=#AABDD0,endColorStr=#125295); position:relative; } #menu_container ul, #sub_menu_container ul { margin:0; } #menu_container li, #sub_menu_container li { list-style:none; float:left; position:relative; text-align:center; } #menu_container a:link, #menu_container a:visited, #sub_menu_container a:link, #sub_menu_container a:visited { color:#fff; display:block; _height:24px; min-height:24px; padding:5px 10px 4px 10px; float:left; text-align:center; font-weight:bold; font-size:.9em; text-decoration:none; border-right:1px solid #224870; } #menu_container a.active:link, #menu_container a.active:visited, #sub_menu_container a.active:link, #sub_menu_container a.active:visited, #sub_menu_container a.parent-tab-highlight:link, #sub_menu_container a.parent-tab-highlight:visited { color:#000; border-top:1px solid #224870; background:#B3CAD9; padding-bottom:3px; _height:35px; min-height:35px; } #menu_container a#viewErrors:link, #menu_container a#viewErrors:visited, #sub_menu_container a#viewDetails:link, #sub_menu_container a#viewDetails:visited { border-left:1px solid #224870; } #menu_container a:hover, #sub_menu_container a:hover { text-decoration:underline; } /*~* SUB MENU SPECIFIC STYLES ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/ #sub_menu_container { margin:-10px 0 5px 0; border-top:none; background-color:#B3CAD9; filter:progid:DXImageTransform.Microsoft.Shadow(direction=180,color=#27275C,strength=4) progid:DXImageTransform.Microsoft.Gradient(gradientType=0,startColorStr=#B3CAD9,endColorStr=#4178B2); } #sub_menu_container a.active:link, #sub_menu_container a.active:visited { background-color:#CBE1EF; } /*~* TABLES ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/ td, th { vertical-align:top; padding:1px; text-align:left; } thead th { background-color:#5C81A7; } table { margin:8px 0 4px 0; } table.request-summary { margin:10px 0 5px 0; } table.column-1 { width:55%; } table.column-2 { float:right; width:43%; } .request-summary th { width:28%; text-align:left; white-space:nowrap; } table.column-2 th { width:48%; } /* REQUEST SUMMARY TABLE */ .request-summary td, .request-summary th { padding:3px 6px; font-weight:bold; } .request-summary th { color:#808080; font-weight:normal; text-align:right; } .request-summary tr.alt td, .request-summary tr.alt th { background-color:#E7E7E7; } table tr.alt td, table tr.alt th { background-color:#E9EEF2; } fieldset fieldset table tr.alt td, fieldset fieldset table tr.alt th { background-color:transparent; } /* columns */ td.col-number, th.col-number { width:35px; } td.col-actions, th.col-actions { width:65px; } td.col-view, th.col-view { width:65px; } td.col-severity, th.col-severity { width:70px; } td.col-event, th.col-event { } td.col-notification, th.col-notification { } td.col-name, th.col-name { width:35%; } td.col-filter-module, th.col-filter-module { width:35%; } td.col-duration, th.col-duration { width:65px; text-align:center; font-weight:bold; } td.event-data { word-wrap:break-word; word-break:break-all; white-space:pre; } td.event-name { word-wrap:break-word; word-break:break-all; } .pre-event-data { font-family:Verdana, Arial, Helvetica, sans-serif; font-size:1em; margin-bottom:0px; white-space:pre; word-wrap:break-word; } td.col-uri, th.col-uri { width:30%; } /*~* NESTED TABLES ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/ /* NESTED TABLE CELLS */ table table tr td, table table tr th, table table tr.alt td, table table tr.alt th { background-color:#FFF; } /* NESTED TABLE CELLS in ALT PARENT ROWS */ table tr.alt table tr td, table tr.alt table tr th, table tr.alt table tr.alt td, table tr.alt table tr.alt th { background-color:#E9EEF2; } /* NESTED TABLE TH HEADERS */ table table th, fieldset fieldset table th{ font-weight:normal; width:40%; text-align:right; color:#808080; padding-right:8px; } /*~* SORTABLE TABLES ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/ table.sortable a.sortheader { display:block; color:#FFF; } table.sortable span.sortarrow { color:#FFF; text-decoration:none; font-size:1.2em; } /*~* SEVERITY ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/ .severity-critical, .severity-error, .severity-warning, .severity-failed, .severity-informational, .severity-verbose { font-family:"Courier New", Courier, monospace; color:#990000; font-weight:bold; padding:0 10px; font-size:1.2em; line-height:1.1em; } .severity-critical { background:#990000; border:3px solid #990000; text-transform:uppercase; color:#FFF; } .severity-error { background:#FFE4CC; border:3px solid #990000; text-transform:uppercase; } .severity-warning { background:#FFFFCC; border:1px solid #CD8282; } .severity-failed { background:#E4FAC8; font-style:italic; color:#BB7700; } .severity-informational { color:#B0B0B0; } .severity-verbose { color:#919191; } /* STYLES WHEN INSIDE A TABLE COLUMN */ td .severity-critical, td .severity-error, td .severity-warning, td .severity-failed, td .severity-informational, td .severity-verbose { display:block; width:6em; text-align:center; padding:4px 2px; margin-left:0; font-size:1.1em; float:left; } /* STYLES WHEN INSIDE THE COMPLETE TRACE*/ fieldset div.severity-critical, fieldset div.severity-error, fieldset div.severity-warning, fieldset div.severity-failed, fieldset div.severity-informational, fieldset div.severity-verbose { float:right; width:11em; text-align:left; padding:1px 2px; font-size:1.1em; } /* SOME HAVE THICK BORDERS SO WE RE-STYLE THEM */ fieldset div.severity-critical, fieldset div.severity-error { top:1px; text-align:center; } fieldset div.severity-warning { top:2px; text-align:center; } /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~* MISC STYLES ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/ .summary-container, .content-container { background:#FFF; width:98%; margin:8px 0 0 1%; padding:0 0 1px 0; position:relative; filter: progid:DXImageTransform.Microsoft.Shadow(direction=135,color=#2C434E,strength=3) progid:DXImageTransform.Microsoft.Gradient(gradientType=0,startColorStr=#FFFFFF,endColorStr=#FAFAFA) } .summary-container { filter: progid:DXImageTransform.Microsoft.Shadow(direction=135,color=#2C434E,strength=3) progid:DXImageTransform.Microsoft.Gradient(gradientType=0,startColorStr=#FFFFFF,endColorStr=#FAFAFA); } div.outer { width:90%; margin:15px; } div.buffer { padding-top:7px; padding-bottom:17px; } .small { font-size:.9em; } div.hidden { display:none } .highlight { background-color:Yellow; } .tinylink { font-size:.9em; } .no-data { background:#EEF6DE; border:1px solid #82A25A; font-family:"Courier New", Courier, monospace; color:#82A25A; font-weight:bold; padding:0 4px; font-size:1.1em; text-align:center; font-style:italic; } .expand-collapse { font-family:"Courier New", Courier, monospace; font-weight:bold; padding:0 6px 0 0; font-size:1.2em; } .expand-collapse-all { font-size:1.3em; color:#333333; padding:3px 12px 3px 10px; border-top:1px solid #EDEDED; border-left:1px solid #EDEDED; border-right:1px solid #969696; border-bottom:1px solid #969696; background:#E7ECF0; font-weight:bold; font-size:1.1em; filter: progid:DXImageTransform.Microsoft.Shadow(direction=135,color=#CCCCCC,strength=3) progid:DXImageTransform.Microsoft.Gradient(gradientType=0,startColorStr=#FFFFFF,endColorStr=#E2E8ED); position:absolute; top:5px; left:20px; z-index:100; } .duration { float:right; width:6em; text-align:right; padding:1px 5px 0 0; margin-left:25px; } .duration-value { font-size:.9em; } span.iistraceinfo { background-color:white; color:black;font-size:1em; } span.iistraceinfo table { font-size:1em; cellspacing:0; cellpadding:0; margin-bottom:25} span.iistraceinfo tr.subhead { background-color:cccccc;} span.iistraceinfo th { padding:0,3,0,3 } span.iistraceinfo td { padding:0,3,0,3 } span.iistraceinfo tr.alt { background-color:d3d3d3; color:black } span.iistraceinfo a:hover { color:darkblue;text-decoration:underline; } span.iistraceinfo table td { padding-right:20 } </style><script type="text/javascript"> //addEvent(window, "unload", backCheck); var lastSectionName = null; var lastTabName = null; var currentSectionName = null; var currentTabName = null; /*function backCheck(e) { if ( lastSectionName != null ) { alert("loc: " + window.location); window.location.replace(window.location + "?sectionName=" + lastSectionName + "&tabName=" + lastTabName); } }*/ var styles = new Object(); function toggleDiv(divId, expand) { var d = window.document.getElementById(divId + '_details'); var i = window.document.getElementById(divId + '_button'); if( expand == null || typeof(expand) == 'undefined' ) expand = (d.style.display == 'block'?false:true); if ( expand ) { d.style.display = 'block'; i.innerHTML = "-"; } else { d.style.display = 'none'; i.innerHTML = "+"; } } function toggleAll(expandAllText, collapseAllText, sectionId) { var currentState = null; var expand = true; // Determine the current state. window.eval("currentState = window." + sectionId + "_expand;"); if ( currentState == null || currentState == false ) expand = true; else expand = false; expandAll(expandAllText, collapseAllText, sectionId, expand); window.eval("window." + sectionId + "_expand = " + expand + ";"); } function expandAll(expandAllText, collapseAllText, sectionId, expand) { var expandButton = window.document.getElementById(sectionId + "_button"); var indexElements = null; if ( sectionId == "section_detail" ) indexElements = window.document.getElementsByTagName("fieldset"); else indexElements = window.document.getElementsByTagName("tr"); for ( var i = 0; i < indexElements.length; i++) { if ( indexElements[i].id && indexElements[i].id.indexOf(sectionId) >= 0 ) toggleDiv(indexElements[i].id, expand); } if ( expandButton && expandButton.innerHTML) if ( expand == true ) expandButton.innerHTML = "-" + collapseAllText; else expandButton.innerHTML = "+" + expandAllText; } function findInDetail(indexNumber) { // Change the report to "All Events" setView('section_detail', 'viewDetails'); // Navigate to the indexNumber anchor. window.location.replace("#detail_" + indexNumber); //Fat.fade_element(id, fps, duration, from, to) Fat.fade_element('section_detail_' + indexNumber, null, null, '#ffff66', '#ffffff' ); } var currentView = null; var currentTabId = null; function setView(divId, tabId) { lastSectionName = currentSectionName; lastTabName = currentTabName; currentSectionName = divId; currentTabName = tabId; // Get the value of the radioReportOptions radio. //var rg = window.document.getElementsByName("radioView"); var currentViewElement = null; var currentTabElement = null; var selectedViewElement = null; var selectedTabElement = null; var requestDetailsElement = window.document.getElementById('sub_menu_container'); var requestDetailsTab = window.document.getElementById('requestDetails'); var requestSummary = window.document.getElementById('section_generalinformation'); switch( divId ) { case "section_errors": case "section_compact": if ( requestDetailsElement ) requestDetailsElement.style.display = 'none'; if ( requestDetailsTab ) requestDetailsTab.className = ""; break; case "section_detail": if ( requestDetailsElement ) requestDetailsElement.style.display = 'block'; if ( requestDetailsTab ) requestDetailsTab.className = "active"; break; } // Hide the current view. if ( currentView != null && currentTabId != null ) { currentViewElement = window.document.getElementById(currentView); currentTabElement = window.document.getElementById(currentTabId); if ( currentViewElement ) currentViewElement.style.display = 'none'; if ( currentTabElement ) currentTabElement.className = ""; } // Show the selected view. selectedViewElement = window.document.getElementById(divId); selectedTabElement = window.document.getElementById(tabId); if ( selectedViewElement ) selectedViewElement.style.display = 'block'; selectedTabElement.className = "active"; switch( divId ) { case "section_errors": if ( requestSummary ) requestSummary.style.display = 'block'; //toggleDiv("section_generalinformation", true); break; case "section_compact": case "section_detail": if ( requestSummary ) requestSummary.style.display = 'none'; //toggleDiv("section_generalinformation", false); break; } currentView = divId; currentTabId = tabId; } function load() { // If there is a section that needs to be viewed, show it. /*alert("search: " + window.location.search); if ( window.location.search.indexOf("sectionName", 0) >= 0 ) { var nv = window.location.search.split('&'); var sn = nv[0].split('=')[1]; var tn = nv[1].split('=')[1]; alert("sn: " + sn + ", tn: " + tn); setView(sn, tn); return; } alert("test2");*/ setView('section_errors','viewErrors'); } // Sort Table addEvent(window, "load", sortables_init); var SORT_COLUMN_INDEX; function sortables_init() { // Find all tables with class sortable and make them sortable if (!document.getElementsByTagName) return; tbls = document.getElementsByTagName("table"); for (ti=0;ti<tbls.length;ti++) { thisTbl = tbls[ti]; if (((' '+thisTbl.className+' ').indexOf("sortable") != -1) && (thisTbl.id)) { //initTable(thisTbl.id); ts_makeSortable(thisTbl); } } //alert("boo: " + window.document.getElementById('defaultsortme')); //ts_resortTable(window.document.getElementById('defaultsortme'), '0'), } function ts_makeSortable(table) { var defaultCell = null var defaultIndex = null; if (table.rows && table.rows.length > 0) { var firstRow = table.rows[0]; } if (!firstRow) return; // We have a first row: assume it's the header, and make its contents clickable links for (var i=0;i<firstRow.cells.length;i++) { var cell = firstRow.cells[i]; var txt = ts_getInnerText(cell); /*cell.innerHTML = '' + txt+' ';*/ // BDG: Added default sort direction: desc class for descending. if ( (' '+cell.className+' ').indexOf("desc") != -1 ) { cell.innerHTML = '' + txt+' '; } else { cell.innerHTML = '' + txt+' '; } if ( (' '+cell.className+' ').indexOf("defaultsort") != -1 ) { defaultCell = cell; defaultIndex = i; } } // BDG: Add default cell sorting. if ( defaultCell) ts_resortTable(defaultCell.firstChild, defaultIndex); } function ts_getInnerText(el) { if (typeof el == "string") return el; if (typeof el == "undefined") { return el }; if (el.innerText) return el.innerText; //Not needed but it is faster var str = ""; var cs = el.childNodes; var l = cs.length; for (var i = 0; i < l; i++) { switch (cs[i].nodeType) { case 1: //ELEMENT_NODE str += ts_getInnerText(cs[i]); break; case 3: //TEXT_NODE str += cs[i].nodeValue; break; } } return str; } function ts_resortTable(lnk,clid) { // get the span var span; for (var ci=0;ci<lnk.childNodes.length;ci++) { if (lnk.childNodes[ci].tagName && lnk.childNodes[ci].tagName.toLowerCase() == 'span') span = lnk.childNodes[ci]; } var spantext = ts_getInnerText(span); var td = lnk.parentNode; var column = clid || td.cellIndex; var table = getParent(td,'TABLE'); // Work out a type for the column if (table.rows.length <= 1) return; var itm = ts_getInnerText(table.rows[1].cells[column]); sortfn = ts_sort_caseinsensitive; if (itm.match(/^\d\d[\-]\d\d[\-]\d\d\d\d$/)) sortfn = ts_sort_date; if (itm.match(/^\d\d[\-]\d\d[\-]\d\d$/)) sortfn = ts_sort_date; //if (itm.match(/^[\d\]+$/)) sortfn = ts_sort_numeric; // BDG: Sort 'timeout' as a number. if (itm.match(/^[\d\]+$/) || itm == "<!--EmptyNumber-->" ) sortfn = ts_sort_numeric; SORT_COLUMN_INDEX = column; var firstRow = new Array(); var newRows = new Array(); for (i=0;i

<fieldset> <legend>-Request Summary</legend>

Site 1
Process 2380
Failure Reason STATUS_CODE
Trigger Status 500
Final Status 200
Time Taken 156 msec
Url http://localhost:80/shars/httpdocs/
App Pool DefaultAppPool
Authentication anonymous
User from token NT AUTHORITY\IUSR
Activity ID {00000000-0000-0000-8000-0080000000F5}

</fieldset>

No. EventName Details Time
1. i GENERAL_REQUEST_START
SiteId="1", AppPoolId="DefaultAppPool", ConnId="1610612862", RawConnId="0", RequestURL="http://localhost:80/shars/httpdocs/", RequestVerb="GET"
23:55:38.526
2. GENERAL_SET_REQUEST_HEADER
HeaderName="AspFilterSessionId", HeaderValue="", Replace="true"
23:55:38.526
3. i GENERAL_REQUEST_HEADERS
Headers="Connection: Keep-Alive
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, */*
Accept-Encoding: gzip, deflate
Accept-Language: en-us
Host: localhost
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727)
UA-CPU: x86
"
23:55:38.526
4. i GENERAL_GET_URL_METADATA
PhysicalPath="D:\inetpub\wwwroot\shars\httpdocs\", AccessPerms="513"
23:55:38.526
5. i USER_SET
AuthType="", UserName="", SupportsIsInRole="true"
23:55:38.526
6. i GENERAL_CHILD_REQUEST_START
SiteId="1", RequestURL="http://localhost/shars/httpdocs/index.php", RequestVerb="GET", RecursiveLevel="1"
23:55:38.526
7. i GENERAL_REQUEST_START
SiteId="1", AppPoolId="DefaultAppPool", ConnId="1610612862", RawConnId="0", RequestURL="http://localhost/shars/httpdocs/index.php", RequestVerb="GET"
23:55:38.526
8. i GENERAL_REQUEST_HEADERS
Headers="Connection: Keep-Alive
Content-Length: 0
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, */*
Accept-Encoding: gzip, deflate
Accept-Language: en-us
Host: localhost
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727)
UA-CPU: x86
"
23:55:38.526
9. i GENERAL_GET_URL_METADATA
PhysicalPath="D:\inetpub\wwwroot\shars\httpdocs\index.php", AccessPerms="513"
23:55:38.526
10. i USER_SET
AuthType="", UserName="", SupportsIsInRole="true"
23:55:38.526
11. i GENERAL_SEND_CUSTOM_ERROR
HttpStatus="500", HttpSubStatus="0", FileNameOrURL="500.htm"
23:55:38.682
12. i GENERAL_FLUSH_RESPONSE_START 23:55:38.682
13. i GENERAL_RESPONSE_HEADERS
Headers="Cache-Control: private
Content-Type: text/html; charset=utf-8
Server: Microsoft-IIS/7.0
X-Powered-By: ASP.NET
"
23:55:38.682
14. 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.0 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-top:5px;} 
fieldset{padding:0 15px 10px 15px;} 
.summary-container fieldset{padding-bottom:5px;margin-top:4px;} 
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-top:0px; 
 border-top:1px solid #EDEDED;border-left:1px solid #EDEDED;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;} 
h4{font-size:2.4em;margin:0;color:#FFF;} 
h4{font-size:1.7em;margin:0;color:#CC0000;} 
h4{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%;position:relative;} 
.summary-container,.content-container{background:#FFF;width:96%;margin-top:8px;padding:10px;position:relative;} 
.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-top:1px solid #4A6C8E;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"><h4>Server Error in Application "DEFAULT WEB SITE/SHARS/HTTPDOCS"</h4></div> 
<div id="server_version"><p>Internet Information Services 7.0</p></div> 
<div id="content"> 
<div class="content-container"> 
 <fieldset><legend>Error Summary</legend> 
  <h4>HTTP Error 500.0 - Internal Server Error</h4> 
  <h4>The page cannot be displayed because an internal server error has occurred.</h4> 
 </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>FastCgiModule</td></tr> 
    <tr><th>Notification</th><td>ExecuteRequestHandler</td></tr> 
    <tr class="alt"><th>Handler</th><td>PHP_via_FastCGI</td></tr> 
    <tr><th>Error Code</th><td>0x00000000</td></tr> 
     
   </table> 
  </div> 
  <div id="details-right"> 
   <table border="0" cellpadding="0" cellspacing="0"> 
    <tr class="alt"><th>Requested URL</th><td>http://localhost/shars/httpdocs/index.php</td></tr> 
    <tr><th>Physical Path</th><td>D:\inetpub\wwwroot\shars\httpdocs\index.php</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://D:\inetpub\logs\FailedReqLogFiles">D:\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>    <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>    <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>    <li>IIS was not able to process configuration for the Web site or application.</li>     <li>The authenticated user does not have permission to use this DLL.</li>   <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>    <li>Ensure that the NTFS permissions for the web.config file are correct and allow access to the Web server's machine account.</li>     <li>Check the event logs to see if any additional information was logged.</li>  <li>Verify the permissions for the DLL.</li>    <li>Install the .NET Extensibility feature if the request is mapped to a managed handler.</li>  <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&amp;IIS70Error=500,0,0x00000000,6001">View more information &raquo;</a></p> 
  <p>Microsoft Knowledge Base Articles:</p> 
 <ul><li>294807</li></ul> 
 
 </fieldset> 
</div> 
</div> 
</body> 
</html> 
"
23:55:38.682
15. i GENERAL_FLUSH_RESPONSE_END
BytesSent="6394", ErrorCode="The operation completed successfully.
 (0x0)"
23:55:38.682
16. i GENERAL_REQUEST_END
BytesSent="6394", BytesReceived="331", HttpStatus="500", HttpSubStatus="0"
23:55:38.682
17. i GENERAL_CHILD_REQUEST_END
BytesSent="6394", HttpStatus="500", HttpSubStatus="0"
23:55:38.682
18. i GENERAL_REQUEST_END
BytesSent="6394", BytesReceived="331", HttpStatus="200", HttpSubStatus="0"
23:55:38.682

+Expand All

<fieldset> <legend>Errors & Warnings</legend>

No.    Severity  Event 

</fieldset>

All replies (4)

Saturday, May 30, 2009 4:14 PM ✅Answered

it was not a PHP error, i fixed by given authenticated user write/modify/read permission on the wwwroot holder and the same permission to network resource account.  initially i have the permission set up for network resource account, the error page still is there.  then i search on php.net and add the authenticate user's permission too.  that fix the problem.


Thursday, May 28, 2009 5:13 AM

This is not a general IIS 7 question but a PHP one. Please post it in the PHP forum.

http://forums.iis.net/1102.aspx


Thursday, June 9, 2011 1:28 AM

 Please help am facing the same error


Sunday, June 12, 2011 1:47 PM

Hello @ muhammed,

Have you checked IIS Net library for http://learn.iis.net/page.aspx/140/understanding-built-in-user-and-group-accounts-in-iis-7/ 

User account information.

The current thread resolution was with the Account settings.

Martin