Windows 服务未安装 [英] Windows Service not installing
问题描述
我正在尝试此演练:
http://msdn.microsoft.com/en-us/library/ff649818.aspx
在第 6 步中,我在使用 Installutil
时遇到问题,因此不得不将其复制到 Windows 服务 exe
的 Debug
文件夹中.现在命令行运行但服务没有安装,我收到以下错误消息.
On Step 6 I've had problems using Installutil
so had to copy it into the Debug
folder of the windows service exe
. Now the command line runs but the service does not install and I get the following error message.
我从哪里开始寻找问题?
Where do I start to find the problem?
这是我正在使用的推荐行应用程序:
This is the commend line application that I'm using:
推荐答案
使用 Visual Studio 命令提示符确保 installutil 在您的路径中.
Use the Visual Studio Command Prompt to ensure that installutil is in your path.
确保您以管理员身份运行上述命令.最简单的方法是在开始菜单中找到它,然后右键单击它,然后选择以管理员身份运行".最快的方法是按开始键,输入visual studio command prompt",然后按control+shift+enter.
Make sure you run the aforementioned command as Administrator. The easiest way to do that is to find it in the start menu and then right click it, and choose "Run as Administrator". The quickest way is to press the start button, type "visual studio command prompt" and then press control+shift+enter.
这篇关于Windows 服务未安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!