coapp/coapp — Issue #20: cannot connect to coapp service except as administrator
Author: madewokherd
Created: 2012-03-09 16:38:09+00:00
State: open

When running "coapp list" as a normal user, I get the following output:

Outercurve Foundation CoApp Version 1.1.2.1395 for x64
Copyright (c) Garrett Serack, CoApp Contributors 2010-2012. All rights reserved
CoApp command line utility
-------------------------------------------------------------------------------

Error: Unexpected Exception: System.InvalidOperationException Cannot open CoApp
Package Installer Service service on computer '.'.
at System.ServiceProcess.ServiceController.GetServiceHandle(Int32 desiredAcce
ss)
at System.ServiceProcess.ServiceController.Stop()
at CoApp.Toolkit.Engine.EngineServiceManager.EnsureServiceIsResponding()
at CoApp.Toolkit.Engine.Client.PackageManager.<>c__DisplayClass4.b__
2()
at System.Threading.Tasks.Task.Execute()

Unhandled Exception: System.AggregateException: One or more errors occurred. ---
> System.InvalidOperationException: Cannot open CoApp Package Installer Service
service on computer '.'. ---> System.ComponentModel.Win32Exception: Access is de
nied
--- End of inner exception stack trace ---
at System.ServiceProcess.ServiceController.GetServiceHandle(Int32 desiredAcce
ss)
at System.ServiceProcess.ServiceController.Stop()
at CoApp.Toolkit.Engine.EngineServiceManager.EnsureServiceIsResponding()
at CoApp.Toolkit.Engine.Client.PackageManager.<>c__DisplayClass4.b__
2()
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
at System.AggregateException.Handle(Func`2 predicate)
at CoApp.Toolkit.Console.AsyncConsoleProgram.Startup(IEnumerable`1 args)
at CoApp.CLI.CoAppMain.Main(String[] args)