Wednesday, August 31, 2016

AX POS Error: Step 4: Creating Device Token failed

When I was trying to activate a cloud POS (CPOS) terminal, I was getting the error: 'Step 4: Creating Device Token failed' or something similar to that. I didn't take a screen shot of the image unfortunately. But it was similar to that.

The error is because the CPOS wasn't able to hit the AX '7' database. The CPOS uses a single AxDB database, in my case in the 'all in one' server, which the CPOS needs to have access to.

The environment was the AX 7 Update 1 using upgraded data from the AX 7 RTW release.

The Update 1 data changed in regards to some setup information. Event Viewer gave me some information into this essentially saying that the axruntimeuser wasn't able to access the DB. This, among other things, led me to believe the channel database setup was wrong.

To reconfigure the channel database 'connection string', you'll need the connection string (duh). I used Visual Studios Server explorer to create a connection to the database with the AxDB database for the CPOS, then clicked 'Properties'. The connection string will be right there. (Figure 1)

Paste this value into the appropriate connection string (Figure 2). Mine was the 'Default' one. Run the 1070 job (I think that's the channel job... if not, run that one).

You'll need to cycle the Retail Server application pool also (Figure 3 below).

There were a few other random settings I had to change from RTW configs to update 1 but the above was the main one. I think there were only 3-4 other places.

Hopefully this helps someone else jump past this issue!




15 comments:

  1. I'd faced with the same problem when I was trying to activate a cloud POS terminal in Microsoft ax dynamics system. With your help I've fixed this terrible error and now everything is working well :)

    ReplyDelete
  2. I think your post is very good, EPOS System rather I would have liked to read a bit more about this topic because I think it is quite interesting. So i look forward to see next updates

    ReplyDelete
  3. This is great blog keep it up. EPOS System for Retail Thanks for sharing.

    ReplyDelete
  4. The Most company are like this Epos System .it is easy way to keept information.

    ReplyDelete
  5. I am very thankful to all your team EPOS for sharing such inspirational information about bar EPOS system.

    ReplyDelete
  6. Wonderful post, epos system thankful to all your team for sharing such best information about POS systems.

    ReplyDelete
  7. This is an interesting blog that you have posted, best epos system you shares a lot of things about epos system.

    ReplyDelete
  8. This comment has been removed by the author.

    ReplyDelete
  9. i am facing same issue, but i didn't find any connecting string option on database group and in download session all the job still showing available.

    ReplyDelete
  10. Thanks for sharing unique information, epos good post to share.

    ReplyDelete
  11. A lot of stuff in this post, epos system good one and has a lot of information to know about...

    ReplyDelete
  12. Thanks for providing the information. epos systems Well done with the work.

    ReplyDelete
  13. Thanks for some good write ups. epos system like to see more from you.

    ReplyDelete
  14. Wonderful post epos system and most helpful information.Thank you

    ReplyDelete
  15. Thanks for sharing the important points of view with us. retail epos It is really very nice blog.I will be waiting for your further write ups thanks once again.

    ReplyDelete