문제

On pages that I have signalR included I get the following error in firebug:

http://localhost:53604/signalr/signalr/negotiate?_=1352797361490
no element found

everything still works fine but just wanted to see if this will become an issue. thanks

도움이 되었습니까?

해결책

Since you're using Firebug that means you're using Firefox. What transport are you using (if using Fiddler remember to turn Streaming on)? It should be: 1. Long Polling 2. Server Sent Events 3. WebSockets

If the transport is Long Polling then we probably have an issue in the underlying code(Firefox should prioritize WebSockets/SSE before LP).

However, if not then we have a content based issue. So that being said, what type of data are you retrieving from the server? Usually a no element found error comes from invalid markup.

Try stripping out all pieces of your application and see if you still get this error. AKA just a $.connection.hub.start().

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top