title: Codeigniter 2 and IIS 7 error 500
body: <p>I am trying to move a site from apache/linux to a server with windows and IIS7. 
  Unfortunatelly when i try to enter the site it gives me </p>
  
  <blockquote>
    <p>500 - Internal server error.
    There is a problem with the resource you are looking for, and it cannot be displayed.</p>
  </blockquote>
  
  <p>I tracked down the line in code where it hangs and it is in /system/core/CodeIgniter.php here
  line 359 </p>
  
  <blockquote>
    <p>call_user_func_array(array(&amp;$CI, $method), array_slice($URI->rsegments, 2));</p>
  </blockquote>
  
  <p>Any idea where to look to solve this?</p>
  
  <p>I should mention the fact that, the same codeigniter version, but with no custom code in it, works ok. So the problem is in my code, but the IIS dont show me any error and at this point I dont have access to any error log (if there is such thing on IIS).</p>