Click here to Skip to main content
16,008,469 members
Home / Discussions / C#
   

C#

 
GeneralRe: File Verifying Pin
Nnamdi Onyeyiri17-Jul-02 2:01
Nnamdi Onyeyiri17-Jul-02 2:01 
GeneralRe: File Verifying Pin
leppie17-Jul-02 2:32
leppie17-Jul-02 2:32 
GeneralRe: File Verifying Pin
Nnamdi Onyeyiri17-Jul-02 2:34
Nnamdi Onyeyiri17-Jul-02 2:34 
GeneralRe: File Verifying Pin
leppie17-Jul-02 3:19
leppie17-Jul-02 3:19 
GeneralRe: File Verifying Pin
Nnamdi Onyeyiri17-Jul-02 4:02
Nnamdi Onyeyiri17-Jul-02 4:02 
GeneralRe: File Verifying Pin
leppie17-Jul-02 10:20
leppie17-Jul-02 10:20 
GeneralRe: File Verifying Pin
Nnamdi Onyeyiri17-Jul-02 0:11
Nnamdi Onyeyiri17-Jul-02 0:11 
GeneralWindows Service won't start.... Pin
Jason.NET16-Jul-02 11:20
Jason.NET16-Jul-02 11:20 
All...

I've written a windows service which works properly on my development machine and on a QA machine. When installing it on a production machine,the service tries to start however after waiting about 30 seconds, it stops and SCM gives an error that the service did not respond in a timely fashion.

I've gone back to my code and commented everything except for a static logging method that I'm using for debugging. The entry point code is listed below...when starting the service, it is failing between logging the 2nd /3rd lines. Keep in mind that all code is commented out in the "transportClass" at this point and it is still failing to start the service. Given that it works beautifully on multiple other machines, I think it must
be configuration of some sort -- any thoughts???



/*******************************
static void Main()

{

LogError("Starting Main");

System.ServiceProcess.ServiceBase[] ServicesToRun;

LogError("Second Line");

ServicesToRun = new System.ServiceProcess.ServiceBase[] { new
transportClass() };

LogError("Third Line");

System.ServiceProcess.ServiceBase.Run(ServicesToRun);

LogError("Exiting Main");

}

*******************************/




Thanks,
Jason Mark
jmark@comcenters.com
QuestionPainting a component *after* the form is displayed? Pin
Zombies with Coffee, LLC16-Jul-02 11:21
professionalZombies with Coffee, LLC16-Jul-02 11:21 
AnswerRe: Painting a component *after* the form is displayed? Pin
Nathan Blomquist17-Jul-02 8:27
Nathan Blomquist17-Jul-02 8:27 
GeneralWindows API Call to change resolution Pin
Brian Olej16-Jul-02 10:35
Brian Olej16-Jul-02 10:35 
GeneralRe: Windows API Call to change resolution Pin
Eric Gunnerson (msft)17-Jul-02 13:40
Eric Gunnerson (msft)17-Jul-02 13:40 
GeneralRe: Windows API Call to change resolution Pin
Brian Olej17-Jul-02 14:44
Brian Olej17-Jul-02 14:44 
GeneralRe: Windows API Call to change resolution Pin
NormDroid20-Jul-02 23:52
professionalNormDroid20-Jul-02 23:52 
QuestionLibrary File? Pin
mtito16-Jul-02 5:19
sussmtito16-Jul-02 5:19 
AnswerRe: Library File? Pin
SHaroz16-Jul-02 8:29
SHaroz16-Jul-02 8:29 
GeneralXmlTransformation output to string Pin
tomiga16-Jul-02 4:23
tomiga16-Jul-02 4:23 
GeneralRe: XmlTransformation output to string Pin
James T. Johnson16-Jul-02 11:42
James T. Johnson16-Jul-02 11:42 
GeneralRe: XmlTransformation output to string Pin
tomiga16-Jul-02 20:37
tomiga16-Jul-02 20:37 
Generalvariant Pin
Christian Graus16-Jul-02 1:28
protectorChristian Graus16-Jul-02 1:28 
GeneralRe: variant Pin
SHaroz16-Jul-02 8:27
SHaroz16-Jul-02 8:27 
GeneralRe: variant Pin
Christian Graus16-Jul-02 10:45
protectorChristian Graus16-Jul-02 10:45 
GeneralRe: variant Pin
SHaroz17-Jul-02 5:55
SHaroz17-Jul-02 5:55 
GeneralC# .NET question Pin
zimbar15-Jul-02 21:10
zimbar15-Jul-02 21:10 
GeneralRe: C# .NET question Pin
Andy Smith15-Jul-02 21:13
Andy Smith15-Jul-02 21:13 

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.