Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
DotNet
acad.assignment.mngr
academic
adonet
aspnet
aspnet.announcements
aspnet.build.controls
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
clr
compactframework
component_services
datatools
distributed_apps
drawing
faqs
framework
framework.wmi
general
internationalization
interop
languages.csharp
languages.jscript
languages.vb
languages.vb.controls
languages.vb.data
languages.vb.upgrade
languages.vc
languages.vc.libraries
myservices
odbcnet
performance
remoting
scripting
sdk
security
setup
vjsharp
vsa
webservi.enhancements
webservices
windowsforms
windowsforms.controls
winforms.databinding
winforms.designtime
xml
  
 
date: Fri, 24 Aug 2007 13:46:09 -0000,    group: microsoft.public.dotnet.distributed_apps        back       


Read Message Queue Error   
Hi,

I have a window service reading from a message queue and gave me a
repeated error for the first message it read. In other word, everytime
I start the window service which reading from the queue. It throw
exception on reading the first message from the queue. There error is
looking like this:

System.Threading.ThreadAbortException: Thread was being aborted.
   at
System.Messaging.Interop.UnsafeNativeMethods.MQReceiveMessage(MessageQueueHandle
handle, UInt32 timeout, Int32 action, MQPROPS properties,
NativeOverlapped* overlapped, ReceiveCallback receiveCallback,
CursorHandle cursorHandle, IntPtr transaction)
   at System.Messaging.MessageQueue.StaleSafeReceiveMessage(UInt32
timeout, Int32 action, MQPROPS properties, NativeOverlapped*
overlapped, ReceiveCallback receiveCallback, CursorHandle
cursorHandle, IntPtr transaction)
   at System.Messaging.MessageQueue.ReceiveCurrent(TimeSpan timeout,
Int32 action, CursorHandle cursor, MessagePropertyFilter filter,
MessageQueueTransaction internalTransaction,
MessageQueueTransactionType transactionType)
   at System.Messaging.MessageQueue.Receive(TimeSpan timeout)
   at
HouseValuesInc.Messaging.EmailLogProcessor.WindowsService.ServiceMain.ProcessStart()
in C:\Project\Mercury\Components
\HouseValuesInc.Messaging.EmailLogProcessor.WindowsService
\ServiceMain.cs:line 170
System.Threading.ThreadAbortException: Thread was being aborted.

Any ideas why this is happening?

Thanks
Terry
date: Fri, 24 Aug 2007 13:46:09 -0000   author:   unknown

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us