Questions about Windows Service Registration

Source: Internet
Author: User

Development tools: VS2012

Language: C #

Today's work is to run the WCF service as a Windows service, because the Windows service has not been done before, all on the internet to look at some articles, found that the creation of Windows Services is a very simple thing, quickly created a Windows service program, Then there is the installation of registration, the online method is given about two ways:

1. InstallUtil.exexxx.exe

2.copy C:\Windows\Microsoft.NET\Framework\v4.0.30319\InstallUtil.exe installutil.exe/y
Call InstallUtil.exexxx.exe

After testing to fail, very tangled, so the use of various elimination methods to find the root cause, the correct installation method is

CD C:\Windows\Microsoft.NET\Framework\v4.0.30319

Call InstallUtil.exexxx.exe

Hope that the fate of the people do not detours, and today really let me very egg ache!

Questions about Windows Service Registration

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.