473,323 Members | 1,622 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,323 software developers and data experts.

C#-SERVICE: What Windows service dependencies do I have?

Hi,

I am using C# 2.0 and DotNet 2.0.

I created a Windows client service with start-up type: Automatic.
But upon reboot it won't start.

How can I find out what service dependencies I have?

I use the Event Log, I need Network access, I connect to our web server via HTTPS to our web service.

This service list does not seem to work in "ServicesDependedOn"

Eventlog
Netlogon
Netman
Browser

Any ideas or links?
thanks.
Oct 20 '08 #1
3 7200
SvenV
50
You can find out what dependencies your service has when you : Right Mouse click My Computer- Manage - Services and Application -> Services -> Right Mouse click on your service > Properties -> Tab Dependencies
Oct 20 '08 #2
You can find out what dependencies your service has when you : Right Mouse click My Computer- Manage - Services and Application -> Services -> Right Mouse click on your service > Properties -> Tab Dependencies

Thanks, but I am actually creating the service, and I need to know which dependencies to list there. ie. there are none, until I add them to my Project Installer.

I finally found this link: http://searchwindowsserver.techtarge...313372,00.html
I found out that my last windows service to start is: MSDTC
So I tried that. It still won't start automatically. The System Event Log shows other services starting after that .. ?? So I added those listed too.

The winning service dependency in order was as follows (all may not be required).

Distributed Transaction Coordinator
Network Location Awareness (NLA)
Telephony
Application Layer Gateway Service
Remote Access Connection Manager
Terminal Services
Oct 20 '08 #3
Thanks, but I am actually creating the service, and I need to know which dependencies to list there. ie. there are none, until I add them to my Project Installer.

I finally found this link: http://searchwindowsserver.techtarge...313372,00.html
I found out that my last windows service to start is: MSDTC
So I tried that. It still won't start automatically. The System Event Log shows other services starting after that .. ?? So I added those listed too.

The winning service dependency in order was as follows (all may not be required).

Distributed Transaction Coordinator
Network Location Awareness (NLA)
Telephony
Application Layer Gateway Service
Remote Access Connection Manager
Terminal Services

Actually, the problem is Remote Access Connection Manager, Terminal Services, Telphony, Distributed Transaction Coordinatorall have start-up type as manual, and I don't think they are required at all. We don't use RAS or modems.

Is there a free tool to let me figure out what Services I need - or at least report an error in the event log saying the specific service is not running.
Oct 21 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: James Dixon | last post by:
I have created a windows service in C#, .net framework 1.1 The service makes a web request using the mshtml.HTMLDocument.CreateDocumentFromURL() function Because this is not using...
6
by: Troy Murphy | last post by:
The help file for Visual Studio .NET version 1 had a Walkthru for installing a Windows Service that would monitor a folder. Version 1.1 does not seem to have that example anymore. Could someone...
0
by: Valer BOCAN | last post by:
I wrote a service which depends on the Print Spooler service. Everything works fine except when I run the program on a version of Windows XP other than English (say Spanish), the service won't...
5
by: Richard Steele | last post by:
I have created a WinForm application that needs to be run as a windows service (the PC is inaccesible by any user) i have successfully installed the application as a windows service. When i start...
1
by: Vikram | last post by:
Thanks Jonathan for the prompt reply. We have developed a program in C#, originally a windows application, that was invoking a worker thread. The threading mechanism works fine in this case. The...
1
by: Steffer [MCP] | last post by:
Hi NG I'm have made a server application (WinForms) but I would very much like to move the tasks that my app runs into a Windows Service. But have you any experience building an communication...
2
by: shyam | last post by:
I have a C++ COM based windows service which have more than 30k lines of code and which is stablized over years. We need to take the advantage of the ..NET framework for this project, especially...
7
by: sunil | last post by:
Hi all, I read an article from http://www.c-sharpcorner.com/Code/2003/Sept/InstallingWinServiceProgrammatically.asp about how to install a windows service programmatically. Based on the code...
8
by: DF Dev | last post by:
I have created a Windows Service using Visual Studio .Net 2005 and C# which executes a series of database jobs on a time basis. I am using SqlConnections and SqlCommand objects to connect to a SQL...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.