Uploaded image for project: 'MediaPortal 2'
  1. MediaPortal 2
  2. MP2-247

ServiceMonitor fails to start/stop the windows service

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.0.0-alpha.2
    • 2.0.0-alpha.1
    • None
    • None
    • Operating System: Windows 7
      Platform: Intel

    Description

      The service monitor has menu item is system tray context menu to start and stop the windows service.

      Normally the sevicemonitor is not started elevated, but it needs admin rights to do this.

      Either it is being elevated at the first usage of a Command which requires admin rights, such as Start/Stop service and it stays elevated from that time
      OR
      a UACHelper.exe is started to do the actual start/stop of the service

      h4. Additional Information
      [2013-03-14 02:52:46,637] [MediaPortal.Common.Services.Logging.Log4NetLogger] [Thread7 ] [ERROR] - Stopping MP2 Server Service failed.
      System.InvalidOperationException: Der Dienst MP2-Server kann nicht auf dem Computer . geöffnet werden. ---> System.ComponentModel.Win32Exception: Zugriff verweigert
         --- Ende der internen Ausnahmestapelüberwachung ---
         bei System.ServiceProcess.ServiceController.GetServiceHandle(Int32 desiredAccess)
         bei System.ServiceProcess.ServiceController.Stop()
         bei MediaPortal.ServiceMonitor.ViewModel.AppController.StopServerService()
      [2013-03-14 02:52:49,331] [MediaPortal.Common.Services.Logging.Log4NetLogger]

      Attachments

        Activity

          People

            chefkoch chefkoch (Inactive)
            chefkoch chefkoch (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: