Click here to Skip to main content
15,917,862 members

Comments by Jeankininho (Top 7 by date)

Jeankininho 29-Oct-13 11:33am View    
Thanks for answer RyandDev,
You said this is permissions issue and you damn right, but all permissions it needed I gave. And now I have already list "Anonymous Logon" to Owner.
Jeankininho 17-Sep-13 13:14pm View    
This make a sense, but I didn't think this could happen. Thanks Mehdy Moini. By the way, do you know how can I treat this error ?
Jeankininho 17-Sep-13 12:50pm View    
Hi Mehdy Moini, thanks for answer, what I'm doing in this event is this:
private void queueSouce_ReceiveCompleted(object sender, ReceiveCompletedEventArgs e)
{
System.Messaging.MessageQueue mq = (System.Messaging.MessageQueue)sender;
mq.EndReceive(e.AsyncResult);

File.Delete((e.Message.Body as XmlDocument).ChildNodes[0].Attributes["FileName"].Value);

mq.BeginReceive();
}
Do you think 2 threads can read the same message before the "mq.EndReceive(e.AsyncResult);" ?

Jeankininho 17-Sep-13 8:15am View    
Anybody knows ?
Jeankininho 6-Jun-13 7:28am View    
Thanks Work it.