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

  • Home
  • SEARCH
  • 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 6581903
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T16:12:46+00:00 2026-05-25T16:12:46+00:00

I’ve been having endless woes trying to deploy an NServiceBus application that I had

  • 0

I’ve been having endless woes trying to deploy an NServiceBus application that I had suspected were due to legacy code / application pool issues, so today I’ve set up a completely clean VM with Windows 7 x64 (SP1), installed Visual Studio 2008 and the latest [NServiceBus 2.6.1504][1] binaries, and I’m seeing exactly the same problem. I’ve unblocked the ZIP file, done the RunMeFirst.bat thing, and I’m using the .NET 3.5 AsyncPages example supplied with NServiceBus to reproduce the issue.

Firstly, when I run both the server and the WebApplication1 example under Visual Studio, it works fine.

The problem occurs when I try to run the WebApplication1 example under IIS. All I’ve done is to go into IIS Manager, right-click the default web site, and change the physical directory to the WebApplication1 folder in the NServiceBus distro.

The default.aspx page loads OK and displays:

Enter a number below and click “Go”.

If the number is even, the result will be “Fail”, otherwise it will be “None”.

…but when I enter any kind of input and click “Go”, it all goes wrong.

The NServiceBus.host.exe process that’s running the server produces the output:

2011-09-19 00:31:23,623 [Worker.5] INFO NServiceBus.Unicast.UnicastBus [(null)]
<(null)> – Received message Messages.Command, Messages, Version=1.0.0.0, Cultur
e=neutral, PublicKeyToken=null with ID 77ae75b7-ffad-4025-8163-13a83c60db91\41 f
rom sender MyWebClient@WIN7-VM

2011-09-19 00:31:23,632 [Worker.5] INFO NServiceBus.Unicast.UnicastBus [(null)]
<(null)> – Can’t impersonate because no windows identity specified in incoming
message. This is common in interop scenarios.

(this is all in green which suggests it’s not anything to worry about…?)

Then I get two messages in the Windows event log:

Log Name:      System
Source:        Microsoft-Windows-WAS
Date:          19/09/2011 00:31:20
Event ID:      5011
Task Category: None
Level:         Warning
Keywords:      Classic
User:          N/A
Computer:      Win7-VM
Description:   A process serving application pool 'DefaultAppPool' suffered a fatal communication error with the Windows Process Activation Service. The process id was '3360'. The data field contains the error number.

There’s then another identical message with a different process id, and then I get The connection to **localhost** was interrupted.

Hitting “Refresh” just produces exactly the same behaviour – two NServiceBus log messages, two errors in the Windows event log, and then the “connection interrupted” message.

This is a completely clean install, running binaries straight off the NServiceBus site, so I’m at a loss as to why it’s not working – have I stumbled across an unsupported scenario or something? Any help much appreciated.

  • 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-25T16:12:46+00:00Added an answer on May 25, 2026 at 4:12 pm

    OK… it appears this is due to message queue permissions.

    I found this post from Jonathan Oliver, which addresses exactly the issue I’m experiencing, and links to this post which goes into more detail about what’s causing it.

    Long story short – if the account that’s running your web app doesn’t have permission to write to the message queue, the w3wp.exe just crashes. Which really sucks as a diagnostic aid, but that’s just how it is.

    Message queue permissions in Windows 7 are managed via Computer Management -> Services and Applications -> Message Queueing; I found the appropriate queue, gave the IIS Application Pool’s user (NETWORK SERVICE) “full control”, and restarted both IIS and the NServiceBus server host, and suddenly everything started working.

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

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I'm trying to create an if statement in PHP that prevents a single post
I have a jquery bug and I've been looking for hours now, I can't
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I am trying to understand how to use SyndicationItem to display feed which is
Basically, what I'm trying to create is a page of div tags, each has
I've got a string that has curly quotes in it. I'd like to replace
I have a French site that I want to parse, but am running into
We're building an app, our first using Rails 3, and we're having to build

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.