Axapta Manager (AxDynManagerV1.06)

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

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.
If you select more that one Service, all those services will be affected. If you choose to restart, all services will first stop, and only start again when all services has stopped.

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:
AutoUpdate : Expand library to be able to handle updates from both web and local/network.

Service list:
Status text on Service list does not show updating correctly (Method UpdateGroupBox1Text)
Add a counter of online users on the AOS.
Setup witch strings to search for to show the service list.
Make it possible to change service startup type.
Config list:
Add run AX as different user
Add copy Config
Add move Config (Up / Down)
Add check of AOS running before starting AX. (How?)
Documentation:
Document Edit Config.
Check if anything needs to be documented.
Move all Documentation to Word document

Changlog.

1.06     : When a computer is no longer online, remove it from service list.
           Fixed Status text on Service list.
           Fixed problem with update of ServiceList.
           Added DebugInfoForm and Parameter to Enable/Disable the form.
1.05 : Add "Update service status" to Main menu.
Check of Form.Location's values in save and load of settings.
Reset Window function now works better, but does exit applikation.
Load settings from lastversion if currentversion do not exist.
Fix Error001 : Write to logfil fails if no access to file.
Fix Error002 : GetUpdateAOSServiceList fails on old .Net framework
Fix Error003 : Problem with semicolon in AOS name in AXConfigData.
Optimize Computer and Services list updates to use threading.
1.04 : Add "Command to run at kernel startup" to Configuration
Add "Command to run at applikation startup" to Configuration
Add column to show the Startup type of the service
Add Error handeling on Start/Stop services. (UAC Problem)
Settings now saved in AppData/Local folder
Changed update of Service Status, services having their status changed are updated
more frequently, but the entire list is only updated on the refresh interval from
the configuration. (Default 5 min)
Changed to .Net Framework 4.6.1
Add AutoUpdate
Check .Net version on Startup
Added options to disable AutoUpdate from Config
Added options to disable Service Start Mode field from Config (Does not work
with .Netversions from before 4.6.1 )
1.03     : Added splitter to form, should make it easyer to resize the form to show the right stuff.
Added menu item "Reset Window", this sets default values for window size.
Save some settings to file AxDynManager.settings in program folder.
Rewrite code for handeling the service list to give it better structure.
Enabled multi select in Service list, this means that you can now start/stop and restart
more than one service in one go.
When selecting restart on more than one service, alle services are stopped first,
and then started only when all services are stopped.
Fixed error with double backslash read from Registry.
Fixes error with vertical bar in config file.
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.

THANKS TO : Florian and Sigvelli, for comments and sugestions.

Kommentarer

  1. Thanks for the new version. I installed version 1.06 today on a system where the tool was not installed before and got a message "No AX configurations found This version of AxDynManager requires existing ax configurations." Then the program opened, but I got exception error messages (sorry, didn't save a copy). As a workaround, I installed version 1.03 (which started without a problem), imported a configuration from file there and then updated again to 1.06, which now works.

    SvarSlet
    Svar
    1. Hi Florian, I was able to reproduce the error so I have fixed it for the next version.
      Thanks for the heads up.

      Slet

Send en kommentar

Populære indlæg fra denne blog

Dynamics AX use of the startupcmd parameter

Axapta Manager (AxDynManagerV1.05)

Axapta Manager (AxDynManagerV1.04)