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 6757733
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T13:41:24+00:00 2026-05-26T13:41:24+00:00

I have two simple console applications to integrate nservicebus. One is a publisher, the

  • 0

I have two simple console applications to integrate nservicebus. One is a publisher, the other a subscriber. The subscriber in the case also receives other messages via Send() from yet another web application. When I run them locally in my dev environment, there are no problems, everything works as expected. I can send message from the web application and receive them on my “subscriber” as well as receive the published message on my subscriber.

However, when deploying to Server 2008 R2, the subscriber sends an initial message to publisher, StatusQueue, with this content:

<?xml version="1.0"?>
<Messages xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://tempuri.net/NServiceBus.Unicast.Transport">
    <CompletionMessage>
        <ErrorCode>0</ErrorCode>
    </CompletionMessage>
</Messages>

I think this is just the initial “I wanna subscribe to messages you publish of type Messages.*”. This message just sits in the queue and is never picked up by the publisher.

The publisher’s config:

<MsmqSubscriptionStorageConfig 
    Queue="StatusQueueSubscriptions" />

    <MsmqTransportConfig
        InputQueue="StatusQueue"
        ErrorQueue="StatusError"
        NumberOfWorkerThreads="1"
        MaxRetries="5"/>

The subscriber’s config:

<MsmqTransportConfig
    InputQueue="AppsInputQueue"
    ErrorQueue="AppsError"
    NumberOfWorkerThreads="1"
    MaxRetries="5"/>

  <UnicastBusConfig>
    <MessageEndpointMappings>
      <add Messages="Messages" Endpoint="StatusQueue"/>
    </MessageEndpointMappings>
  </UnicastBusConfig>
  • 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-05-26T13:41:24+00:00Added an answer on May 26, 2026 at 1:41 pm

    The likely reason your subscription is being ignored is that the incoming message to the publisher does not match the type defined in your subscription.

    So when the publisher receives the message, it will evaluate it against the subscriptions held in it, and will find no match, so no message will be sent to your subscriber.

    This can be because the message type in NServiceBus is defined not just by assembly/type name, but by assembly version and public key token.

    Check the versions/PK tokens of the messages assemblies held by the publisher and subscriber and ensure they match exectly.

    UPDATE

    OK it sounds like The permissions on your input queue are in some way preventing your publisher service account to read messages. Try giving full control to the service account.

    Also, have you checked the default logging location for errors in the log? (C:\Users(username)\AppData\Local\Temp)

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

Sidebar

Related Questions

Simple idea: I have two images that I want to merge, one is 500x500
I have two webapplication, one is a simple authenticationsite which can authenticate the logged
I have two simple tables in my database. A card table that contains Id,
I have two simple while loops in my program that I feel ought to
Let's say I have two simple models project t.string :title vote t.references :project t.integer
I have two very simple, identical UITableViews in my app that are populated with
I have these two simple files that define a C++ class with a tryME
I have two geo-spatial simple convex polygon areas, in latitudes and longitudes (decimal degrees)
Question is simple: I have two List List<String> columnsOld = DBUtils.GetColumns(db, TableName); List<String> columnsNew
I have two questions... Here is a really simple example script which causes an

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.