GoogleAnalyticsObject

tirsdag den 8. november 2016

Axapta Manager (AxDynManagerV1.02)

I previously made a program to list, start and stop Dynamics AX Services.
But i always thought that is missed a few features, so now I am starting on this new version. (Download link
This is version 1.02 see change list at the end of the post.

This version will still handle list, start and stop of services, but also restart of services, and it will also support multiple servers.

And as something new i have added the possibility to start your Dynamics AX from the program, supporting multiple configurations.

The program is tested for AX 2009 and AX 2012.

When you start the program this is what you will see:

On the left you will see the list of services that you have, and on the right the list of possible AX configurations.

Config menu.


Under the menu item, Tools/Config, you can change the programs settings.

Here you can add/remove computers to look for services on.

To remove a computer from the list, double click on the item.
To add a computer, input its name in the text box, and press the "Add" button, or enter.
The refresh field controls how often the service list will be refreshed.

Controlling services.


If you right click on an item in the service list, you will get this menu, where you can start, stop or restart a service.
You can also control a service by double clicking on it, double clicking on a started service will stop it, and on a stopped service it will start it.

Changing AX Config list.


If you right click on an item in the Config list, you will get this menu.












Edit:
Edit an existing configuration.

Delete:
Deletes the selected configuration.

Import from Registry:
Imports all AX configurations from the registry.

Import from Config file:
Imports one configuration from an AX configuration file.


Starting AX.

If you double click on an item in the Configs list, that Dynamics AX will be started.
This function requires that the right version of AX is installed on the machine.

Planned changes.

General:
Service list:
Add a counter of online users on the AOS.
Group services, so you can start, stop or restart an entire group in one go.
Config list:
    Add check of AOS running before starting AX. (How?)

Changlog.

1.02     : Fixed error with parmBinDir not beeing read from AXConfig file.
              Added parmBinDir to EditAXConfig form.
              Fixed error when there are no AX Configs anywhere.
              Fixed error with BinDir not being read from AXConfig file.
              Fixed EditAxConfig form, field TabIndex, and the position of the OpenFile buttons.
              Added Class UtilLogging.
              Added logging in AXStartup.cs
              Added check if the paths in ParmBinDir and ParmLog exists before starting AX.
              Added check for double backslash in filePaths when importing configfile.
              Added handeling of multible AOS servers for parmAOS2.
              Added handeling of space in parmStartupMsg (Replace with Acsii 255)

1.01     : Save and Load AX Configuration list to file. (Done on start of program, and changes of list)
              Added for to Edit AX Configurations.
              Import of AX Configuration from .axc files.
              Made it possible to delete an AX Configuration from the list.
              Function to check last program version and do config cleanup.

Please do leave a comment if you find the program useful, have a bug or a suggestion for a change.

5 kommentarer:

  1. Hi,

    thanks for the tool, I just took it for a quick test drive and noticed a couple of things:
    - the Services part of the GUI could really use a vertical slider so I can increase the space there; if the Computer/AOS names are a bit longer than in your example the space available is not enough to view them in their full length
    - when importing configs from .axc files, I get an error when the file has a startup message (startupmsg entry in file with non-empty text)

    I also like your planned changes, looking forward to the next version.

    Best regards

    FH-Inway

    SvarSlet
    Svar
    1. Hi Florian.
      I will have a look at the GUI first posibility i get.
      About the import of the config file, can you share your file with me, i can't get the same error with any of mine.

      Slet
    2. See the following link for a zip file that contains the .axc, the complete error message and the .csv file with the line that causes the error.

      Link

      Slet
    3. I put up a new version 1.03 with the fix for your problems and more.
      http://rudihansen.blogspot.dk/2017/02/axapta-manager-axdynmanagerv103.html

      Slet
  2. Denne kommentar er fjernet af forfatteren.

    SvarSlet