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!




11 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. Wonderful post, epos system thankful to all your team for sharing such best information about POS systems.

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

    ReplyDelete
  7. 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
  8. Thanks for some good write ups. epos system like to see more from you.

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

    ReplyDelete
  10. Thanks for sharing this useful information epos regarding There is a very good information on your blog.

    ReplyDelete
  11. HI,
    i cant find connection string option in channel database page.

    ReplyDelete