Click here to Skip to main content
15,923,083 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Activedocument error - word addin problem Pin
K edar V18-Oct-06 20:22
K edar V18-Oct-06 20:22 
Question.NET WebMethods - Serialization Pin
Simon P Stevens18-Oct-06 5:58
Simon P Stevens18-Oct-06 5:58 
QuestionSQL Server 2000 Notification Services and .NET 2.0 Pin
asasov17-Oct-06 21:01
asasov17-Oct-06 21:01 
AnswerRe: SQL Server 2000 Notification Services and .NET 2.0 Pin
The Man from U.N.C.L.E.19-Oct-06 7:28
The Man from U.N.C.L.E.19-Oct-06 7:28 
GeneralRe: SQL Server 2000 Notification Services and .NET 2.0 Pin
asasov23-Oct-06 1:52
asasov23-Oct-06 1:52 
QuestionProblem in starting Windows Service written in .Net Pin
Renukapadhamanaban17-Oct-06 19:25
Renukapadhamanaban17-Oct-06 19:25 
AnswerRe: Problem in starting Windows Service written in .Net Pin
User 58385217-Oct-06 20:27
User 58385217-Oct-06 20:27 
AnswerRe: Problem in starting Windows Service written in .Net Pin
Mike Dimmick18-Oct-06 0:35
Mike Dimmick18-Oct-06 0:35 
It sounds like your Main routine is simply returning without registering with the service control manager (not calling System.ServiceProcess.ServiceBase.Run) or that the service's OnStart method is simply quitting. I can see that a working service we have here is creating a new thread in OnStart to do its work. This is virtually required because the OnStart method is expected to return back to the SCM fairly quickly - otherwise the control application will report that the service failed to start.

To debug service startup, we add the following to the top of Main:
#if DEBUG
         System.Diagnostics.Debugger.Launch();
#endif
This causes the Just-in-Time debugging window to appear, asking you which instance/version of VS you want to debug with.

Stability. What an interesting concept. -- Chris Maunder

GeneralRe: Problem in starting Windows Service written in .Net Pin
Renukapadhamanaban18-Oct-06 16:01
Renukapadhamanaban18-Oct-06 16:01 
QuestionDDE in .NET Pin
HakunaMatada17-Oct-06 19:22
HakunaMatada17-Oct-06 19:22 
AnswerRe: DDE in .NET Pin
Mike Dimmick18-Oct-06 0:40
Mike Dimmick18-Oct-06 0:40 
QuestionWindows service requires large memory allocation Pin
Luis C17-Oct-06 5:15
Luis C17-Oct-06 5:15 
AnswerRe: Windows service requires large memory allocation Pin
Dave Kreskowiak17-Oct-06 6:07
mveDave Kreskowiak17-Oct-06 6:07 
GeneralRe: Windows service requires large memory allocation Pin
Luis C17-Oct-06 6:46
Luis C17-Oct-06 6:46 
QuestionComm Dll Pin
Tauseef A16-Oct-06 23:22
Tauseef A16-Oct-06 23:22 
AnswerRe: Comm Dll Pin
Dave Kreskowiak18-Oct-06 8:42
mveDave Kreskowiak18-Oct-06 8:42 
QuestionRe: Comm Dll Pin
Tauseef A19-Oct-06 4:19
Tauseef A19-Oct-06 4:19 
QuestionComm Dll Pin
Tauseef A16-Oct-06 23:22
Tauseef A16-Oct-06 23:22 
QuestionAjax Pin
crazy_mads16-Oct-06 20:23
crazy_mads16-Oct-06 20:23 
AnswerRe: Ajax Pin
George L. Jackson17-Oct-06 12:46
George L. Jackson17-Oct-06 12:46 
QuestionFalsh Files Pin
Tauseef A16-Oct-06 10:36
Tauseef A16-Oct-06 10:36 
AnswerRe: Falsh Files Pin
Dave Sexton18-Oct-06 3:00
Dave Sexton18-Oct-06 3:00 
QuestionRe: Falsh Files Pin
Tauseef A18-Oct-06 5:24
Tauseef A18-Oct-06 5:24 
AnswerRe: Falsh Files Pin
Dave Kreskowiak18-Oct-06 8:37
mveDave Kreskowiak18-Oct-06 8:37 
QuestionRe: Falsh Files Pin
Tauseef A19-Oct-06 23:41
Tauseef A19-Oct-06 23:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.