The problem was solved by setting the following flags in the web.config.
<configuration>
<system.webServer>
<validation validateIntegratedModeConfiguration="false" />
<modules runAllManagedModulesForAllRequests="true">
</modules>
</system.webServer>
</configuration>
For some reason Nuget did not set these values for Elmah or SignalR