且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何避免错误“无法在您的计算机上找到服务。拒绝访问”

更新时间:2022-12-23 12:01:33

您需要管理员权限才能安装服务。这意味着用于安装服务的应用程序必须以管理员身份运行。
You need admin permissions to install a service. This means the app being used to install the service must run as administrator.


运行应用程序的用户帐户无权启动服务。您必须以具有该权限的用户身份运行该应用程序。即:以管理员身份运行(可能是您系统中的情况),或者授予特定用户启动服务的权限。
The user account running your application does not have the permission to start services. You have to run the application as a user who does have the permission. That is: Run it as administrator (probably the case on your system) or give a specific user the permission to start services.