In my development PC, when I run a VB.NET EXE, my error handler is capable of showing me the line where the error occured. So, I can have such a text:
MQRC_Q_MGR_NOT_AVAILABLE
at IBM.WMQ.MQQueueManager.Connect(String queueManagerName) at IBM.WMQ.MQQueueManager..ctor(String queueManagerName, String Channel, String ConnName) at Mitchell_CCS_MQ.MQ.TimerTimer(Object sender, ElapsedEventArgs e) in D:\Visual Studio Projects\Mitchell CCS MQ\MQ.vb:line 1489
But, when running the same EXE on a client site, the error message returned is as follow:
MQRC_Q_MGR_NOT_AVAILABLE
at IBM.WMQ.MQQueueManager.Connect(String queueManagerName) at IBM.WMQ.MQQueueManager..ctor(String queueManagerName, String Channel, String ConnName) at Mitchell_CCS_MQ.MQ.TimerTimer(Object sender, ElapsedEventArgs e)
How can I obtain the line number at the client site?