gbzhhu
asked on
MSMQ
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.MessageQu eue.MQCach eableInfo. get_ReadHa ndle()\r\n at System.Messaging.MessageQu eue.Receiv eAsync(Tim eSpan timeout, CursorHandle cursorHandle, Int32 action, AsyncCallback callback, Object stateObject)\r\n at System.Messaging.MessageQu eue.BeginR eceive()\r \n at Dbt.Messaging.Service.Serv ice.Proces sMessages( ) in D:\\Projects\\DBT\\Messagi ng\\Dbt.Me ssaging\\D bt.Messagi ng.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:Serve rA\Private $\dbt_mess aging_sms
Anybody has a clue?
StackTrace " at System.Messaging.MessageQu
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:Serve
Anybody has a clue?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Cool. Hope it goes smooth!
ASKER
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
Thank you for the reminder
H
ASKER
Learnt to debug without the service locally. That is all I needed really
ASKER
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