hi, someone knows what is the code to test if a connection to a queue is on? thanks.
i got a non-transactional queue…and i got this queue in a remote server. my problem is when, for some situation, this server got to restart, when this hapen the NAS lost the connection to the queue, and i can’t receive the messages from that queue.
Hi, just some input and fancy ideas: a.) Create a Windows Service Inside of this service just try to connect to the queue and see if you can read (MSMQ.CanRead). b.) Put a timer inside of the service so that the check is done over and over again c.) If the check is false then restart the NAS service (net stop…; net start) d.) Install the service on the NAS machine HTH,