473,230 Members | 1,512 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,230 software developers and data experts.

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 4591
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: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...

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.