简体   繁体   中英

Windows Service not installing

I'm attempting this walk-through:

http://msdn.microsoft.com/en-us/library/ff649818.aspx

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:

在此处输入图片说明

Use the Visual Studio Command Prompt to ensure that installutil is in your path.

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.

以管理员身份运行

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM