title: Running a nodeJS sites in Azure Websites
body: <p>I'm trying to run a nodeJS site in Windows Azure websites. I just git pushed two files:</p>
  
  <p>server.js
  package.json</p>
  
  <p>And all of my modules from <code>npm install</code>. It works fine locally but when I browse the WA Website I just get:</p>
  
  <p><code>The page cannot be displayed because an internal server error has occurred.</code></p>
  
  <p>I used the CLI to get the tail logs but I just see this:</p>
  
  <pre><code>&lt;h3&gt;HTTP Error 500.0 - Internal Server Error&lt;/h3&gt; 
  &lt;h4&gt;The page cannot be displayed because an internal server error has occurred.&lt;/h4&gt; 
  &lt;/div&gt; 
  &lt;div class="content-container"&gt; 
  &lt;fieldset&gt;&lt;h4&gt;Most likely causes:&lt;/h4&gt; 
  &lt;ul&gt;    &lt;li&gt;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.&lt;/li&gt;    &lt;li&gt;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.&lt;/li&gt;    &lt;li&gt;IIS was not able to process configuration for the Web site or application.&lt;/li&gt;     &lt;li&gt;The authenticated user does not have permission to use this DLL.&lt;/li&gt;   &lt;li&gt;The request is mapped to a managed handler but the .NET Extensibility Feature is not installed.&lt;/li&gt; &lt;/ul&gt; 
  &lt;/fieldset&gt; 
  &lt;/div&gt; 
  &lt;div class="content-container"&gt; 
  &lt;fieldset&gt;&lt;h4&gt;Things you can try:&lt;/h4&gt; 
  &lt;ul&gt;    &lt;li&gt;Ensure that the NTFS permissions for the web.config file are correct and allow access to the Web server's machine account.&lt;/li&gt;     &lt;li&gt;Check the event logs to see if any additional information was logged.&lt;/li&gt;  &lt;li&gt;Verify the permissions for the DLL.&lt;/li&gt;    &lt;li&gt;Install the .NET Extensibility feature if the request is mapped to a managed handler.&lt;/li&gt;  &lt;li&gt;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 &lt;a href="http://go.microsoft.com/fwlink/?LinkID=66439"&gt;here&lt;/a&gt;. &lt;/li&gt; &lt;/ul&gt; 
  </code></pre>