Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

MSMQ

Posted on 2010-11-28
5
Medium Priority
?
687 Views
Last Modified: 2013-12-17
I can access a private queue on server A from my PC.  I need to debug my windows service that reads from the private queue on the server.  Works OK if I run on the service on the server.  If I run it locally I get an exception which is null but has a strck trace
            StackTrace      "   at System.Messaging.MessageQueue.MQCacheableInfo.get_ReadHandle()\r\n   at System.Messaging.MessageQueue.ReceiveAsync(TimeSpan timeout, CursorHandle cursorHandle, Int32 action, AsyncCallback callback, Object stateObject)\r\n   at System.Messaging.MessageQueue.BeginReceive()\r\n   at Dbt.Messaging.Service.Service.ProcessMessages() in D:\\Projects\\DBT\\Messaging\\Dbt.Messaging\\Dbt.Messaging.Service\\Service.cs:line 407"      string

Inner exception shows
      _COMPlusExceptionCode      -532459699

Server is Win 2003 client is Windows 7.  I went throught add windows feature and Message queueing selecting every checkbox! apart from one that mentions Queueing over HTTP.  

I am using this naming for queue
FormatName:Direct=OS:ServerA\Private$\dbt_messaging_sms

Anybody has a clue?
0
Comment
Question by:gbzhhu
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 2

Accepted Solution

by:
cefranklin earned 2000 total points
ID: 34277011
What is on line 407?
0
 
LVL 12

Author Comment

by:gbzhhu
ID: 34277109
Thank you cefranklin

If only I knew that now.  It has been a week since I last posted the question so I have changed my code a lot.  I have been working on my PC and debugging the code as non service.  Once dopne which is soon I will move to server and see what happens and feedback here

0
 
LVL 2

Expert Comment

by:cefranklin
ID: 34277127
Cool. Hope it goes smooth!
0
 
LVL 12

Author Comment

by:gbzhhu
ID: 34389164
Not abondoned!  I am still waiting to move my service to the actual server.  Unlikely to do that until after the new year (early Jan)

Thank you for the reminder
H
0
 
LVL 12

Author Closing Comment

by:gbzhhu
ID: 35000122
Learnt to debug without the service locally.  That is all I needed really
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Active Directory security has been a hot topic of late, and for good reason. With 90% of the world’s organization using this system to manage access to all parts of their IT infrastructure, knowing how to protect against threats and keep vulnerabil…
Let's recap what we learned from yesterday's Skyport Systems webinar.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.
Suggested Courses

670 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question