This was an error that i faced while Error faced while trying to implement Persistent Connection in asp.net signalR application.
0x800a139e - JavaScript runtime error: SignalR: Error loading hubs. Ensure your hubs reference is correct, e.g. <script src='/signalr/js'></script>
The issue in this case was, I was trying to implement the Persistent Connection based hub and had the reference of the dynamically generated proxy file. But in case of persistent hub, we do not need this proxy file.
So solution was, remove the reference and it should work.
0x800a139e - JavaScript runtime error: SignalR: Error loading hubs. Ensure your hubs reference is correct, e.g. <script src='/signalr/js'></script>
The issue in this case was, I was trying to implement the Persistent Connection based hub and had the reference of the dynamically generated proxy file. But in case of persistent hub, we do not need this proxy file.
So solution was, remove the reference and it should work.
No comments:
Post a Comment