Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7841997
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T16:13:13+00:00 2026-06-02T16:13:13+00:00

So, We are implementing some messaging system with signalR. We included signalR through the

  • 0

So, We are implementing some messaging system with signalR.
We included signalR through the latest version of Nuget.
The application is hosted on IIS 7. We have disabled all the URL Rewrite rules.

We are using a hub, see the following code:


    [HubName("messages")]
    public class Messages : Hub
    {
        public void Send(string message)
        {
            Clients.showPopUp(message);
        }
    }

The include files in the view:

<script src="@Url.Content("~/Scripts/jquery-1.7.1.min.js")" type="text/javascript"></script>       
<script src="@Url.Content("~/Scripts/jquery.signalR.js")" type="text/javascript"></script>
<script src="@Url.Content("~/signalr/hubs")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/Messages/Messages.js")" type="text/javascript"></script>

Content of Messages.js:

$(function () {
    var messages = $.connection.messages;

    messages.showPopUp = function (message) {
        console.log("test");
    };

    $.connection.hub.start(function () {
        console.log('connected');
    });
});

Called when a message is submitted:

$.connection.messages.send($('#Body').val());

So what we get: no errors in Google Chrome console, no xhr request what so over for signal.

We have checked if the /signalr/hubs exists and it does, also /signalr/negotiate returns the following json:

{"Url":"/agenda/signalr","ConnectionId":"a4215b26-32f1-4a52-bf6d-4de096298a07","TryWebSockets":false,"WebSocketServerUrl":null,"ProtocolVersion":"1.0"}

When we call send we get the following in the console:

Uncaught SignalR: Connection must be started before data can be sent. Call .start() before .send()

If we debug signalR, we see start was called, but we don’t hit the error or success of the jQuery ajax call and there are no xhtml requests what so ever. What are we doing wrong?

No Web requests

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T16:13:14+00:00Added an answer on June 2, 2026 at 4:13 pm

    Try checking out this issue: https://github.com/SignalR/SignalR/issues/328

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

While implementing some security aspects with Spring Security, I have noticed that both Authentication
Is there any standard way of implementing some sort of a write-through buffer for
I am embedding Spidermonkey in my C++ application. I need to implementing some custom
I have written an API Bundle and some implementing services. Now i want to
I've been implementing some PHP/IMAP-based email handling functionality lately, and have most everything working
I have some places where implementing some sort of cache might be useful. For
I'm implementing some basic data structures in preparation for an exam and have come
I've an class TCPDataLink implementing some TCP features using Socket . I also have
The application I am using is implementing some session timeout prompt using jquery. There
we have a C#-Server which runs a WCF-Service. Currently we're implementing some (DataContract)-classes. Now

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.