Click here to Skip to main content
15,898,134 members
Home / Discussions / C#
   

C#

 
AnswerRe: Hash produces different results Pin
dotmartin4-Sep-07 3:11
dotmartin4-Sep-07 3:11 
QuestionHow to append a file's all contents to an existing file Pin
tiasoft3-Sep-07 20:56
tiasoft3-Sep-07 20:56 
AnswerRe: How to append a file's all contents to an existing file Pin
Giorgi Dalakishvili3-Sep-07 21:17
mentorGiorgi Dalakishvili3-Sep-07 21:17 
QuestionStatic variables Pin
Tsepoz3-Sep-07 20:51
Tsepoz3-Sep-07 20:51 
AnswerRe: Static variables Pin
rah_sin3-Sep-07 22:19
professionalrah_sin3-Sep-07 22:19 
QuestionUITypeEditor disabled when used PropertyDescriptor (In Property Grid) Pin
varad273-Sep-07 19:54
varad273-Sep-07 19:54 
AnswerRe: UITypeEditor disabled when used PropertyDescriptor (In Property Grid) Pin
TJoe5-Sep-07 9:14
TJoe5-Sep-07 9:14 
QuestionWindows 2000 and services. Pin
Geron3-Sep-07 19:45
Geron3-Sep-07 19:45 
Hello.

I'm having a bit of problem with a service written in C#. It starts just fine under Windows XP and Vista. But when i try to run it under Windows 2000 (server) the service just hangs on startup.

The service is set to run as LocalSystem, and the only thing it does in the OnStart()-method is to spawn a worker-thread that is supposed to do all work. However the OnStart()-method doesnt even trigger. I've added a couple of trace-points using EventLog.WriteEntry() to see how far the service comes when its starting.

Seem to hang on the call to ServiceBase.Run(servicesToRun); Sometimes the EventLog states that the service hung on startup, but no further info is provided (and the service can still bee seen as "starting" in the service manager).

Does someone here know whats going on? And how to fix it?
AnswerRe: Windows 2000 and services. Pin
originSH3-Sep-07 23:04
originSH3-Sep-07 23:04 
GeneralRe: Windows 2000 and services. Pin
Geron3-Sep-07 23:25
Geron3-Sep-07 23:25 
QuestionHow to get selected value of a listbox control which are dynamically binded by the database Pin
veereshIndia3-Sep-07 19:02
veereshIndia3-Sep-07 19:02 
AnswerRe: How to get selected value of a listbox control which are dynamically binded by the database Pin
Sonia Gupta3-Sep-07 19:46
Sonia Gupta3-Sep-07 19:46 
Questionpie charts and ba charts in window application using the crystal reports Pin
Sonia Gupta3-Sep-07 18:34
Sonia Gupta3-Sep-07 18:34 
QuestionEnterprise Library Pin
sangramkp3-Sep-07 18:12
sangramkp3-Sep-07 18:12 
QuestionNew to C# Pin
sa_runner3-Sep-07 18:11
sa_runner3-Sep-07 18:11 
AnswerRe: New to C# Pin
originSH3-Sep-07 22:25
originSH3-Sep-07 22:25 
AnswerRe: New to C# Pin
Thomas Stockwell4-Sep-07 6:07
professionalThomas Stockwell4-Sep-07 6:07 
QuestionThe process cannot access the file because it is being used by another process. Pin
toink toink3-Sep-07 17:36
toink toink3-Sep-07 17:36 
AnswerRe: The process cannot access the file because it is being used by another process. Pin
originSH3-Sep-07 22:29
originSH3-Sep-07 22:29 
QuestionSQL Connection String Problem Pin
Xmen Real 3-Sep-07 16:56
professional Xmen Real 3-Sep-07 16:56 
AnswerRe: SQL Connection String Problem Pin
Michael Sync3-Sep-07 17:33
Michael Sync3-Sep-07 17:33 
Questionsql checkedlistbox and insert statement Pin
falles013-Sep-07 16:53
falles013-Sep-07 16:53 
QuestionDrawing on controls Pin
udikantz3-Sep-07 16:45
udikantz3-Sep-07 16:45 
AnswerRe: Drawing on controls Pin
rah_sin3-Sep-07 22:23
professionalrah_sin3-Sep-07 22:23 
GeneralRe: Drawing on controls Pin
udikantz10-Sep-07 14:50
udikantz10-Sep-07 14:50 

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.