Click to See Complete Forum and Search --> : Deploying Win2000 Service


KMerker
October 18th, 2004, 09:16 AM
Hello,

I recentely created a Win2000 service using VC.NET.

I started with the App Wizard and selected Windows Service (.NET).

I created the project wrote the code and the service runs fine on my development system.

However, when I tried to install the service on another machine (a win2000 system that did not have VC.NET installed on it), I ran into a number of problems.

First, I tried to manually set up the registry the same way I used to on WinNT 4.0. I kept getting errors when I tried to start the service (service failed to respond).

So then I went to use the IntallUtil.exe app and discovered that this app doesn't exist unless you have the .NET extension installed.

Then I built a setup program for the Service and tried to run the setup program, however I got the error message stating that .NET extension need to be installed first. So I went to Microsofts web site and downloaded and installed the .NET extensions. Then I could get the service to run after running the InstallUtil.exe program.


Is there an easier way to install and run a .NET service on a system that does not have VC.NET installed, or the .NET extensions?



Thanks,

Idmir
October 18th, 2004, 11:42 AM
I think you just needed to install the .net extensions. That was prob causing your problems

KMerker
October 18th, 2004, 03:35 PM
Yes I know. I know that.

But it seems like a lot to do. Plus, there should be a way to bundle it with a setup program.