Board index » Visual Studio » Windows Service

Windows Service

Visual Studio369
Hi



I have a Windows Service that I want to run on a server. I created a

service and also created a setup project for it. Then I setup the

configuration manager to release and then built the solution.



I then transferred the .msi to the server and installed it but it isn't

showing up as a service. I don't know what went wrong. Any help would be

appreciatted



Thanks

bbdobuddy


-
 

Re:Windows Service

In article <337831C8-B3D0-4A8C-A7A2-305B9B736126@microsoft.com>, bbdobuddy wrote:

Quote
Hi



I have a Windows Service that I want to run on a server. I created a

service and also created a setup project for it. Then I setup the

configuration manager to release and then built the solution.



I then transferred the .msi to the server and installed it but it isn't

showing up as a service. I don't know what went wrong. Any help would be

appreciatted



Thanks

bbdobuddy



Try running installutil from the command line... The service was

probably not registered.



--

Tom Shelton [MVP]

-

Re:Windows Service

You must change working directory to

C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322



or C:\WINNT\Microsoft.NET\Framework\v1.1.4322 for 2000 server



or explicity give the full path to installutil.exe when running from

anywhere else (it's not in your path)



HTH,

Greg





"bbdobuddy" <bbdobuddy@discussions.microsoft.com>wrote in message

Quote
I tried that and I get this error

'installutil isn't recognized as an internal or external command, operable

program or batch file

"Tom Shelton" wrote:



>In article <337831C8-B3D0-4A8C-A7A2-305B9B736126@microsoft.com>,

bbdobuddy wrote:

>>Hi

>>

>>I have a Windows Service that I want to run on a server. I created a

>>service and also created a setup project for it. Then I setup the

>>configuration manager to release and then built the solution.

>>

>>I then transferred the .msi to the server and installed it but it

isn't

>>showing up as a service. I don't know what went wrong. Any help

would be

>>appreciatted

>>

>>Thanks

>>bbdobuddy

>

>Try running installutil from the command line... The service was

>probably not registered.

>

>--

>Tom Shelton [MVP]

>





-