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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T16:51:55+00:00 2026-05-11T16:51:55+00:00

I have written a web service that reads from a message queue . This

  • 0

I have written a web service that reads from a message queue.
This works fine under Cassini.

Now that I have deployed the service under IIS, I receive an error message when the service tries to access the queue:

The queue does not exist or you do not have sufficient permissions to perform the operation.

I have set the anonymous access user on the IIS virtual directory to be my own domain account, which is a member of the administrators group on the local machine. I have granted this same user full permissions on the queue, as well as NETWORK SERVICE and ASPNET.

I still get the same error message.

I have also tried disabling anonymous access on the virtual directory and connecting to the service using my own login details – to no avail.

Any help with this problem will be greatly appreciated!


I have also tried various combinations of:

and

With testUsr having full permissions on the queue. I have added permissions for the user and ASPNET on the MSMQ store folders on C:\

  • 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-11T16:51:55+00:00Added an answer on May 11, 2026 at 4:51 pm

    My understanding of the problem is that the process trying to execute the code is running as a different account under IIS than it does under Cassini.

    The problem was that regardless of which user I impersonated – I always got the same error message – even when the user was a member of the local and domain administrator groups, and this user had full permissions on the queue. i.e. It is barely possible to assign more rights to a user.

    It turns out, that using a FormatName for the queue, rather than a path name (myMachine\queueName) has solved the problem…

    FormatName:DIRECT=OS:myMachine\myQueue

    I am uncertain as to exactly why this is the case. Reading up has showed that when a path name is used, there is a necessity for an AD lookup, and although I think that the users that I have been testing with should have rights to do this, perhaps there is something missing.

    However the immediate problem is solved and that’s good enough for me.

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

Sidebar

Ask A Question

Stats

  • Questions 90k
  • Answers 90k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer For the writer, you could just create an XmlSerializer for… May 11, 2026 at 6:00 pm
  • Editorial Team
    Editorial Team added an answer Try this: <% if Append = true then iMode =… May 11, 2026 at 6:00 pm
  • Editorial Team
    Editorial Team added an answer Well, you can serve xml requests as well (a sample… May 11, 2026 at 6:00 pm

Related Questions

Let's say that I have written a custom e-mail management application for the company
I've written a small hello world test app in Silverlight which i want to
I currently have a database that gets updated from a legacy application. I'd like
I'm trying to implement a stateful web service in PHP using the SOAP extension.
I have a web application written in C# that consumes several internal web services.

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.