{"id":179,"date":"2010-01-11T08:42:48","date_gmt":"2010-01-10T21:42:48","guid":{"rendered":"http:\/\/howden.net.au\/thowden\/2010\/01\/sugarcrm-web-config-iis7-and-error-500-internal-server-error\/"},"modified":"2010-01-11T08:42:48","modified_gmt":"2010-01-10T21:42:48","slug":"sugarcrm-web-config-iis7-and-error-500-internal-server-error","status":"publish","type":"post","link":"https:\/\/howden.net.au\/thowden\/2010\/01\/sugarcrm-web-config-iis7-and-error-500-internal-server-error\/","title":{"rendered":"SugarCRM web.config IIS7 and Error 500: Internal Server Error"},"content":{"rendered":"<p>I&#8217;d started to deploy a test version of SugarCRM 5.5 CE and an updated PHP 5.2.12 to a Windows 2008 server with IIS7 when I got an internal server error 500.<\/p>\n<p>What I found, eventually, was that while the installation of Sugar completed, the installation creates a web.config file that includes an instruction to &#8216;Add default document type&#8217; of index.php to the site.<\/p>\n<p>The problem was that my server level settings already included index.php as a default document. The only reason I found it was when checking all the settings for the site in the IIS7 Manager it gives an error in the manager about the double up not being possible.<\/p>\n<p>Would have been more polite if IIS could simply accept that the index.php already is a default document and ignore it politely instead of doing a dummy spit type error and not running.<\/p>\n<p>In this case I just deleted the instruction to Add in the web.config.<\/p>\n<p>Another option is to include a  instruction in the web.config to clear any existing default pages prior to adding the one(s) required for the current application. Like this:<\/p>\n<blockquote>\n<\/blockquote>\n<p>Logged as a Bug at <a href=\"http:\/\/www.sugarcrm.com\/crm\/support\/bugs.html?task=view&amp;caseID=ba692a7d-580b-c690-a511-4b4a4e32b0cd\">Sugar BugTracker<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;d started to deploy a test version of SugarCRM 5.5 CE and an updated PHP 5.2.12 to a Windows 2008 server with IIS7 when I got an internal server error 500. What I found, eventually, was that while the installation of Sugar completed, the installation creates a web.config file that includes an instruction to &#8216;Add [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18,22],"tags":[95],"class_list":["post-179","post","type-post","status-publish","format-standard","hentry","category-sugarcrm","category-windows-servers","tag-sugarcrm-web-config-iis7-error-500-internal-server-error"],"_links":{"self":[{"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/posts\/179","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/comments?post=179"}],"version-history":[{"count":0,"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/posts\/179\/revisions"}],"wp:attachment":[{"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/media?parent=179"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/categories?post=179"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/tags?post=179"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}