Useful commands for AX 7
Today marks my first day offical day as AX 7 (Dynamics 365 for Operations) developer. To celebrate I though I would post two commands that have come in useful so far:
Internet Information Services (IIS)
- iisreset /stop
- iisreset /start
- iisreset /restart
To run the commands, press Windows key + R, type them in and press enter.
These commands stop, starts or restarts your server. Think of it as the same commands you used to do in Services to stop and start the AOS.
- devenv /resetuserdata
This command can be run in the Visual Studio Command prompt:
This command deletes the user preferences for Visual Studio.
So far we’ve tried it for every issue we’ve run into: Table browser not working, EDT editor not opening and so on and so forth. It has not solved any of our issues till now, but I thought I would put it out there. If it solves some inexplicable issue you have with Visual Studio and AX 7, please let me know in the comments!