NAS & MSMQ problem

K_Piotrowski
K_Piotrowski Member Posts: 11
Hi, I have the following problem:

I want to get messages from MSMQ to NAS. I created the CU, and put the code in OnRun. When I Run it "by hand" everything is ok, Nav gets the messages, but when I try to run this CU from NAS i did get the message "The Breakpoint already exists.". When deleted the NavBP.xml file i don't get the error, but NAS does't get the messages. They just are waiting in the queue.

What can be solution to this? Why NAS does't want to get the messages?

Comments

  • nunomaia
    nunomaia Member Posts: 1,153
    Check the NAS user and the permissions to write / read to MSMQ
    Nuno Maia

    Freelance Dynamics AX
    Blog : http://axnmaia.wordpress.com/
  • DenSter
    DenSter Member Posts: 8,307
    There's a .chm file on the product CD, I think it's called "dev_guide.chm" or something like that. This help file has code samples for message queueing. Browse around in the additional interfaces area on the product cd, or search on "*.chm", you should be able to find it there somewhere.

    There are also countless posts in this forum about this topic.