Signalr/Hub not loading in IIS 7 but working correctly in Visual Studio
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
I was facing a similar issue, I just changed the /signalr/hubs
to /virtualDirectoryName/signalr/hubs
and it worked.
Replace:
<script src="/signalr/hubs" type="text/javascript"></script>
with:
<script src="<%= ResolveUrl("~/signalr/hubs") %>" type="text/javascript"></script>