NAV 2009 Management application

Hello all,

today I am glad that I can introduce you my new application, which is focused on management of NAV 2009 service tier and WebService. In last few days I learned much about C# and managing services, reading and modifying XML files etc. Result is the application named "NAV 2009 NST Management".

What you can do with this application?

  1. Start/Stop the NAV services
  2. Create new instances of the services
  3. Configure the services (change DB server, DB name, and enable/disable debugging on them)
  4. Remove the services (excluding the default one)
  5. Do it all on remote machine (remote registry access required)

I hope that this application will help all of you who needs more instances of the services (developers etc.). The new instances are created with .NET port sharing, it means running all on same default port (you need to run the service for port sharing manually, it is disabled by default). They differs only by instance name. All is based on the example from Freddy's blog (BIG thanks to Freddy). Instances are created as running under NETWORK Services account. If needed, may be setting the account will be possible in some next version ;-).

Update: 2.2.2009 - newer version attached, with appropriate error management in situations when NST is not installed etc.

Update: 3.2.2009 - again, newer version attached, I had some chaos in files. Sorry...

Update: 17.12.2010 - newer version attached, including one bug fix

Enjoy the app, thanks for any feedback.

 

NAV2009_NST_Management_1_0_1_debug.zip
Anonymous
Parents
No Data
Comment
  • Thanx. Here you go (only listing the excedptions):

    ************** Tekst van uitzondering **************

    System.NullReferenceException: De objectverwijzing is niet op een exemplaar van een object ingesteld.

      bij NAV2009_NST_Management.NAVService.GetImagePath()

      bij NAV2009_NST_Management.NAVService.ReadConfig()

      bij NAV2009_NST_Management.NAVService..ctor(String serviceName, String machineName)

      bij NAV2009_NST_Management.NSTMgt.Create()

      bij NAV2009_NST_Management.Form1.toolStripButton1_Click(Object sender, EventArgs e)

      bij System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)

      bij System.Windows.Forms.ToolStripButton.OnClick(EventArgs e)

      bij System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)

      bij System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)

      bij System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)

      bij System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)

      bij System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)

      bij System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

      bij System.Windows.Forms.Control.WndProc(Message& m)

      bij System.Windows.Forms.ScrollableControl.WndProc(Message& m)

      bij System.Windows.Forms.ToolStrip.WndProc(Message& m)

      bij System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)

      bij System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

      bij System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Children
No Data