473,466 Members | 1,351 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Trying to send MSMQ messages from ASP.NET: "The queue does not exists or insufficient permissions..."

Hi all,

I'm trying to send a message from ASP.NET to another PC by using MSMQ. I
created my ASP.NET project by using Visual Studio 2005 but I initially set
the project to be located on the File System. Then I could successfully
send, receive and purge the public queries I use to exchange information
with the another PC. But when I realized I can not reach the file system
created project from a third PC then I recreated the project as HTTP on
localhost. But now I cannot even send messages 'cause the exception "The
queue does not exist or you do not have sufficient permissions to perform
the operation." is thrown.
All the PCs are in the same domain. None of the PCs is a domain controller.
The ASP.NET server is trying to send messages to a public queue on the
"Second PC" and also tryes to purge another public queue on the same ASP.NET
computer.
It is not because "the queue does not exists" because they are the same
queues I tested in the "FileSystem" mode. I guess it is a user right
problem. The public queue in the "Second PC" where I'm trying to send
messages has rights for Everyone to send messages. I gave the public queues
in ASP.NET PC full control to Everyone but still the problem continues. I
added IUSR_... and IWAM_... accounts to the local administrator group and
the same...
What is the correct configuration to get MSMQ to work from ASP.NET?

Thanks in advance
Any hint is welcomed

Sammy

Sep 26 '06 #1
2 4603
asp.net has to run your ap as a domain user with access to the queue.
with2003 use an app pool, if 200, set in web config.

-- bruce (sqlwork.com)

"SammyBar" <sa******@gmail.comwrote in message
news:%2***************@TK2MSFTNGP06.phx.gbl...
Hi all,

I'm trying to send a message from ASP.NET to another PC by using MSMQ. I
created my ASP.NET project by using Visual Studio 2005 but I initially set
the project to be located on the File System. Then I could successfully
send, receive and purge the public queries I use to exchange information
with the another PC. But when I realized I can not reach the file system
created project from a third PC then I recreated the project as HTTP on
localhost. But now I cannot even send messages 'cause the exception "The
queue does not exist or you do not have sufficient permissions to perform
the operation." is thrown.
All the PCs are in the same domain. None of the PCs is a domain
controller.
The ASP.NET server is trying to send messages to a public queue on the
"Second PC" and also tryes to purge another public queue on the same
ASP.NET
computer.
It is not because "the queue does not exists" because they are the same
queues I tested in the "FileSystem" mode. I guess it is a user right
problem. The public queue in the "Second PC" where I'm trying to send
messages has rights for Everyone to send messages. I gave the public
queues
in ASP.NET PC full control to Everyone but still the problem continues. I
added IUSR_... and IWAM_... accounts to the local administrator group and
the same...
What is the correct configuration to get MSMQ to work from ASP.NET?

Thanks in advance
Any hint is welcomed

Sammy

Sep 26 '06 #2

Go to Manage Computer.
Find the MSMQ section.

Find your queue (private or public)

Right click it, properties.

Find the security tab.

There are several flavors of rights. Receive, Exists, stuff like that.
I think you aleady know this, but I'm mentioning it just in case.

ASPNET is the account which asp.net runs under. I think you're in the right
ball park, but IUSR_ and IWAM_ aren't the exact account(s) you need.


"SammyBar" <sa******@gmail.comwrote in message
news:%2***************@TK2MSFTNGP06.phx.gbl...
Hi all,

I'm trying to send a message from ASP.NET to another PC by using MSMQ. I
created my ASP.NET project by using Visual Studio 2005 but I initially set
the project to be located on the File System. Then I could successfully
send, receive and purge the public queries I use to exchange information
with the another PC. But when I realized I can not reach the file system
created project from a third PC then I recreated the project as HTTP on
localhost. But now I cannot even send messages 'cause the exception "The
queue does not exist or you do not have sufficient permissions to perform
the operation." is thrown.
All the PCs are in the same domain. None of the PCs is a domain
controller.
The ASP.NET server is trying to send messages to a public queue on the
"Second PC" and also tryes to purge another public queue on the same
ASP.NET
computer.
It is not because "the queue does not exists" because they are the same
queues I tested in the "FileSystem" mode. I guess it is a user right
problem. The public queue in the "Second PC" where I'm trying to send
messages has rights for Everyone to send messages. I gave the public
queues
in ASP.NET PC full control to Everyone but still the problem continues. I
added IUSR_... and IWAM_... accounts to the local administrator group and
the same...
What is the correct configuration to get MSMQ to work from ASP.NET?

Thanks in advance
Any hint is welcomed

Sammy

Sep 26 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: moelleni | last post by:
Hi, I made an Access 2002 Database and wanted to automate it to sent the current record to Word 2002. So readed the article "How to send the current record to Word 2000 with automation" I tried...
1
by: Karunakararao | last post by:
Hi all How can i send the fax through Web application Thank U Karanakara rao
2
by: Christian Blackburn | last post by:
Hi Gang, I would like to send the Alt+A keystroke to a Window. What's the best way to go about that? This didn't seem to work. What message should I work with WM_KEYDOWN and WM_KEYUP are...
4
by: riteshjain82 | last post by:
Hi, Please go through this: I am having a file (default.asp) on which i am taking many details from a user before mailing it to someone. I have also provided the user with a facility of...
3
by: Klaus Jensen | last post by:
For a customer I have created a website, where we use dynamic url-rewrites by using rewritepath in global.asa. Ie the url /products/gizmo.aspx does not really exist, but I look gizmo up in the...
3
by: rodchar | last post by:
hey all, i'm getting a systems.net permissions error on my page and not sure how to resolve it. i've narrowed it down to one method. do i need to add an attribute to that method for it to work or...
0
by: amitsaxena | last post by:
hi, I am using c#.net 2005, i am using .net port class to access the com ports but i m confused to send the message string with present com port .i want to send the message and also return the...
2
by: gurbaksh08 | last post by:
how to link flash button in asp.net so kindly send the procedure of this as soon
0
by: sganeshsvk | last post by:
sir, In Linux, We use send mail from some specific client host IP address to main server by using postfix configuration. Suppose Some unwanted users or other third persons hosts send the...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.