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!


  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 :)

  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

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

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

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

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

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